[Pidgin] #4032: pidgin steals focus from its own password dialog
Pidgin
trac at pidgin.im
Wed Jun 18 13:32:48 EDT 2008
#4032: pidgin steals focus from its own password dialog
---------------------------+------------------------------------------------
Reporter: fergal | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: pidgin (gtk) | Version: 2.2.1
Resolution: | Keywords: security, password, focus
Pending: 1 |
---------------------------+------------------------------------------------
Changes (by deryni):
* pending: 0 => 1
Comment:
The Message Notification plugin controls the use of the urgency hint for
the conversation window, but the focus stealing behaviour of *new* windows
is not related to that hint. New windows are handled by your window
manager however you tell it to handle them (which is likely why the
conversation window gains focus, and possibly the buddy list window as
well if it starts unshown and needs to show itself).
To be clear, there is a difference between 'stealing' or 'taking' focus
and being given focus. In many (most) window managers newly created
windows are *given* focus by the window manager, the application has no
say in that (well some recent freedesktop.org specifications try to let
the application have a say but just end up mostly annoying people in my
experience). So we need to differentiate between the cases of new windows
and existing windows when discussing this. So concrete examples are good.
There was an issue, unrelated to urgency, that caused new chat rooms
(possibly only on IRC) to move focus when joining, I believe that has
since been fixed. So if you haven't tried this with 2.4.2 you should.
When the Urgency hint option is on in the Message Notification plugin the
plugin sets the Urgency flag in the WM_HINTS struct on for the
conversation window.
The buddy list sets the urgency flag on the buddy list when connection
errors occur requiring the addition of an error mini-dialog or a change of
an existing mini-dialog and when a buddy list 'alert' or 'headline' is
added. (All only when the buddy list doesn't already have focus.) Buddy
list alerts are things like buddies requesting authorization, etc.
Headlines are things like mail notifications (when the mail notification
dialog isn't shown).
The mail notification dialog sets the urgency flag on itself when it is
visible and new mail comes in.
--
Ticket URL: <http://developer.pidgin.im/ticket/4032#comment:12>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list