Ticket #270 (closed defect: fixed)
Error messages / Pop-up windows should not steal focus.
| Reported by: | spam@wangnv.com | Owned by: | anybody |
|---|---|---|---|
| Milestone: | Adium X 1.0 | Component: | Adium Core |
| Version: | 0.81 | Severity: | normal |
| Keywords: | dialog error keyboard | Cc: | |
| Patch Status: |
Description (last modified by boredzo) (diff)
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
comment:4 Changed 6 years ago by boredzo
- Description modified (diff)
- field_haspatch set to 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 6 years ago by boredzo
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 6 years ago by evands
- Status changed from new to closed
- Resolution set to fixed
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.


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