Adium

Ticket #270 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

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

Reported by: spam@wangnv.com Assigned to: anybody
Priority: normal Milestone: Adium X 1.0
Component: Core Adium Version: 0.81
Severity: normal Keywords: dialog error keyboard
Cc: Patch:
Pending:

Description (Last modified by boredzo)

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

05/30/2005 12:35:43 AM changed by adamiser

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

05/31/2005 09:45:47 AM changed by spam@wangnv.com

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

11/03/2005 10:17:16 PM changed by tick

  • milestone set to Adium X 1.0.

12/16/2005 02:34:07 AM changed by boredzo

  • description changed.
  • field_haspatch changed.

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.

12/16/2005 02:35:53 AM changed 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.

12/30/2005 05:02:00 PM changed 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.