! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
gaim 'raise on event' hint steals focus
Status:
CLOSED: INVALID

Comments

Description marcel 2004-08-11 05:47:11 CEST
When the Gaim option 'Raise On Events' is enabled, any such occurence steals
the focus from the current widget and puts it in the gaim input. The desired
behaviour is to have the window raised to the top pane but not actually steal
focus from the current application. This occurs since Gaim 0.81 (so it clearly
stems from a code change of theirs) but I believe it is the window manager's
responsibility to control the focus appropriately. Thus, either an option to
specify the desired behavior or a default to ignore focus requests in such a
situation should be added.
Comment 1 Olivier Fourdan editbugs 2004-08-15 21:04:57 CEST
metacity works the same, I don't see any bug on our side here.
Comment 2 marcel 2004-08-15 21:14:19 CEST
i think the fact that any application can steal focus without any control by
the user could be considered undesired behavior. Either in Gaim or XFCE this
should be fixed/configurable, and since i'm sure gaim isn't the only app that
does this, xfce sounds like the better place.
Comment 3 Olivier Fourdan editbugs 2004-08-15 21:24:16 CEST
yes and no. The WM cannot prevent an application from stealing focus (ie, the
ap called "XSetInputFocus" on one of its window, then no luck.)

The WM is resposible for focusing windows when new window appear, and there is
a mechanism that could prevent focus stealing in that case. But that's not the
case here, it's not a new window that is being created, so I think gaim is
setting focus itself (or even gtk might be doing it on its behalf)

So in a nushell, if an app really wants to steal focus, there is not much the
WM can do (yeah, it could receive the focus event and revert it, but that would
be a real hack IMO)
Comment 4 marcel 2004-08-15 21:36:31 CEST
ok, understood. go ahead and close this then. thanks!
Comment 5 Jasper Huijsmans editbugs 2004-09-20 19:30:26 CEST
Not a bug.
Comment 6 Jasper Huijsmans editbugs 2004-09-20 19:30:47 CEST
Verified by reporter.

Bug #291

Reported by:
marcel
Reported on: 2004-08-11
Last modified on: 2009-07-14

People

Assignee:
Xfce Bug Triage
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information