Author Topic: OmnomIRC Focus  (Read 31495 times)

0 Members and 1 Guest are viewing this topic.

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
OmnomIRC Focus
« on: August 14, 2010, 01:59:50 am »
Would it be possible to make the text entry box in OmnomIRC not grab focus as soon as the page is loaded? I often visit on a laptop with no mouse, and the auto-focusing makes it hard to scroll down using the arrow keys.

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: OmnomIRC Focus
« Reply #1 on: August 14, 2010, 02:01:49 am »
agreed this is an issue for me as well

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OmnomIRC Focus
« Reply #2 on: August 14, 2010, 02:04:28 am »
Mhmm, I think this is a good idea. You should PM Tribal about it (or ask Fidchell/Tribal on IRC), since he is the new OmnomIRC maintainer. It was originally added because OmnomIRC reloaded the entire page every 5 second before, making it extremly annoying to use. Now it uses Ajax, so it shouldn't require focusing anymore.

I myself almost accidentally typed my admin password in OmnomIRC once, because to access the admin CP, you get asked for your password every 10 minutes or so, and with OmnomIRC grabbing the focus instead of letting it on the password field, it can be rather bad...

Offline Tribal

  • The Fallen
  • LV5 Advanced (Next: 300)
  • *
  • Posts: 218
  • Rating: +15/-1
    • View Profile
Re: OmnomIRC Focus
« Reply #3 on: August 14, 2010, 02:08:49 am »
It certainly is possible, I just fixed it :D

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OmnomIRC Focus
« Reply #4 on: August 14, 2010, 02:36:12 am »
Nice

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: OmnomIRC Focus
« Reply #5 on: August 14, 2010, 03:53:49 am »
Sweet! Thank you :)

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: OmnomIRC Focus
« Reply #6 on: August 14, 2010, 07:34:10 am »
Ah that is actually quite nice. I use the arrow keys when browsing on my lappy as well. Thank you! :)

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: OmnomIRC Focus
« Reply #7 on: August 14, 2010, 03:43:38 pm »
Cool. That used to be a bit of an issue for me, too.
Good job! :)
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: OmnomIRC Focus
« Reply #8 on: August 14, 2010, 03:53:29 pm »
Thanks Tribal! :)

Offline matthias1992

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 408
  • Rating: +33/-5
    • View Profile
Re: OmnomIRC Focus
« Reply #9 on: August 14, 2010, 06:27:13 pm »
If I may suggested another addition to the IRC, it would be handy to have more then one-line of text. It's not a must but it would be nice.
Good fix, helps me out too!
MASM xxxxxxxxxx aborted | SADce ====:::::: 40% -Halted until further notice| XAOS =====::::: 50% -Units done| SKYBOX2D engine ========== 100% -Pre-alpha done. Need to  document it and extend |

~Those who dream by day are cognizant of much more than those who dream by night only. -Sir Edgar Allen Poe-

Offline Tribal

  • The Fallen
  • LV5 Advanced (Next: 300)
  • *
  • Posts: 218
  • Rating: +15/-1
    • View Profile
Re: OmnomIRC Focus
« Reply #10 on: August 14, 2010, 07:34:39 pm »
Hmm, I don't see why multi-line input would be a problem... I'll mess around with it and see what I can do.

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: OmnomIRC Focus
« Reply #11 on: August 14, 2010, 07:57:35 pm »
Thanks for the fix Tribal!

I always found it annoying to have to click to focus on the window!


Offline Tribal

  • The Fallen
  • LV5 Advanced (Next: 300)
  • *
  • Posts: 218
  • Rating: +15/-1
    • View Profile
Re: OmnomIRC Focus
« Reply #12 on: August 14, 2010, 09:06:14 pm »
Here's an update on the multi-line omnomIRC I wanted to get some input on, it seems that it wouldn't be to hard to implement, and the size of the box can be dynamically resized(no smaller than the default width/hight) but... hitting return(enter) would give you a newline instead of submitting.

Now that I've messed with it a bit, I'm kinda wondering if you meant that the input would wrap if it hit the end instead of just continuing? I think that could probably be a solution to this.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OmnomIRC Focus
« Reply #13 on: August 14, 2010, 11:08:45 pm »
If you add multiline support, you should add a flood control to OmnomIRC that prevents people from using multiline support more than twice a minute. It will prevent spam.

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: OmnomIRC Focus
« Reply #14 on: August 15, 2010, 01:59:00 am »
If you add multiline support, you should add a flood control to OmnomIRC that prevents people from using multiline support more than twice a minute. It will prevent spam.

Agreed.