[Pidgin] #975: XMPP login box is a focus thief
Pidgin
trac at pidgin.im
Fri Mar 21 12:06:09 EDT 2008
#975: XMPP login box is a focus thief
---------------------------+------------------------------------------------
Reporter: ArunRaghavan | Owner: deryni
Type: defect | Status: new
Priority: minor | Milestone: 2.4.1
Component: pidgin (gtk) | Version: 2.0
Resolution: | Keywords: focus, login window
Pending: 0 |
---------------------------+------------------------------------------------
Changes (by deryni):
* owner: rlaager => deryni
* status: reopened => new
Comment:
There are a number of places in pidgin where we call gtk_window_present
what that GTK+ function does depends on a number of things, not least of
which are the NETWM/EWMH features your window manager claims to support,
so it is entirely possible that either sawfish doesn't support the hint
_present wants to use and so it falls back to attempting to steal focus or
that it does support the hint and interprets the hint and gives pidgin
focus. Either way there isn't much pidgin can do about it because that
really is often the correct function to call. We used to call it much too
often, we may still do so, but that is often hard to figure out. If you
want to test my theory about gtk_window_present write a simple GTK+
application which creates a single window, sleeps, and then calls
gtk_window_present on it, see what happens.
When I am home again and have access to a small test program I wrote I
will attach it here, it simply sends the EWMH hint that gtk_window_present
should be sending and as such should test whether this is sawfish giving
focus or GTK+ taking it.
--
Ticket URL: <http://developer.pidgin.im/ticket/975#comment:11>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list