Opened 15 years ago

Closed 14 years ago

Last modified 11 years ago

#270 closed defect (fixed)

Error messages / Pop-up windows should not steal focus.

Reported by: Owned by: anybody
Milestone: Adium X 1.0 Component: Adium Core
Version: Severity: normal
Keywords: dialog error keyboard Cc:
Patch Status:

Description (last modified by Peter Hosey)

I've noticed in Adium that when a dialog box pops up. It steals focus from the the text input of your current window. If your in the middle of typing a word. "car" for example. The 'c' triggers the cancel action even before you've had a chance to read the dialog box. This is frustrating, as you can imagine. Maybe adding a preference for "pop-under" dialog boxes would help.

Change History (8)

comment:1 Changed 15 years ago by adamiser

Is the key triggering new? Is that us or 10.4?

comment:2 Changed 15 years ago by spam@…

This used to happen under 10.3 as well. At least for me.

comment:3 Changed 15 years ago by Chris Forsythe

Milestone: Adium X 1.0

comment:4 Changed 14 years ago by Peter Hosey

Description: modified (diff)
field_haspatch: 0

doesn't happen for me. I just tried it with catfish_man and I was not able to click 'Accept' by pressing 'a', or typing 'accept', or anything else involving the keyboard except return. it just beeped at me for every non-return keystroke.

this ticket is still valid, because a return (to send a message) might get caught by the dialog instead and end up accepting an unverified key.

comment:5 Changed 14 years ago by Peter Hosey

one solution may be to install a timer after every keystroke into a message window's inputline. if the timer is not active, then we simply put up the dialog as normal. but if it is, we put up the dialog but don't give it focus until after the timer fires.

the timer would be reset with every keystroke, and its fuse would be the double-click time or key-repeat threshold.

comment:6 Changed 14 years ago by Evan Schoenberg

Resolution: fixed
Status: newclosed

I think the timer is probably overkill.

In current svn dialogs pop to the top of the stack without gaining focus, so they are immediately visible without stealing keystrokes. Marking this as fixed; we can reopen it if this turns out to be undesirable.

comment:8 Changed 11 years ago by Zachary West

Component: Core AdiumAdium Core
Note: See TracTickets for help on using tickets.