[Xfce-bugs] [XFCE 0000128]: Closing RealPlayer loses focus
xfce-bugs at xfce.org
xfce-bugs at xfce.org
Thu Jul 15 21:01:01 CEST 2004
The following bug has been RESOLVED.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000128
=======================================================================
Reporter: bwalle
Handler: huysmans
=======================================================================
Project: XFCE
Bug ID: 0000128
Category: xfwm
Reproducibility: always
Severity: tweak
Priority: normal
Status: resolved
Resolution: not fixable
=======================================================================
Date Submitted: 2004-03-04 10:19 GMT
Last Modified: 2004-07-15 19:01 GMT
=======================================================================
Summary: Closing RealPlayer loses focus
Description:
I just start a xterm and in this xterm I start realplay. If I close the
RealPlayer, the xterm doesn't get the focus as usual. Alt-Tab doesn't work
in this state, either.
There's the same effect if I close the window with window manager
functions or with application functions.
I use current stable version from CVS (xfce_4_0 branch).
=======================================================================
-----------------------------------------------------------------------
olivier - 2004-03-04 21:09 GMT
-----------------------------------------------------------------------
I can reproduce the problem, but fixing it is a bit more tricky. Realplayer
is a closed source application that tries to manipulate the focus by
itself.
-----------------------------------------------------------------------
olivier - 2004-03-04 21:12 GMT
-----------------------------------------------------------------------
Just tried with metacity, that shows the exact same behaviour. It's not
specific to xfwm4 then.
-----------------------------------------------------------------------
olivier - 2004-03-04 23:19 GMT
-----------------------------------------------------------------------
Fixing this particular issue breaks multiscreen (not xinerama) focus
management. I think realplay should not manage focus by itself.
The bug is partially fixed however as focus is now returned to xfwm4 so
that alt+tab works and restore proper focus.
Thanks for pointing this out.
Olivier.
-----------------------------------------------------------------------
kelnos - 2004-04-08 19:31 GMT
-----------------------------------------------------------------------
mass stale bug cleanup - reopen if closed in error
-----------------------------------------------------------------------
bwalle - 2004-04-23 22:10 GMT
-----------------------------------------------------------------------
In 4.0.5, the Alt-Tab doesn't work after closing the realplayer.
-----------------------------------------------------------------------
olivier - 2004-04-23 22:15 GMT
-----------------------------------------------------------------------
yes, it's like that, sorry. Realplayer is a closed source application,
there is not much I can do about that.
-----------------------------------------------------------------------
bwalle - 2004-04-23 22:33 GMT
-----------------------------------------------------------------------
Yes, the fact that the focus is not returend to a window is Ok.
But you said "The bug is partially fixed however as focus is now returned
to xfwm4 so that alt+tab works and restore proper focus." and according to
my tests this was the case in a CVS version.
So it might be possible to return to that version.
-----------------------------------------------------------------------
olivier - 2004-04-24 05:45 GMT
-----------------------------------------------------------------------
Nope, focus management has changed a lot since then (because of gtk-2.4 and
the way it manages non focusable windows), xfwm4 now "notifies" the app
that it should take focus but doesn't enfoce it (ie it doesn't necessarily
set input focus) - The app may not take this into account, and the WM has
no way to tell.
So, it's a non fix issue...
-----------------------------------------------------------------------
bwalle - 2004-04-24 08:27 GMT
-----------------------------------------------------------------------
I understand.
But just for interest: What has this to do with Alt-Tab?
-----------------------------------------------------------------------
olivier - 2004-04-24 12:39 GMT
-----------------------------------------------------------------------
Simple: When the focus is lost it returns to None. And xfwm4 needs to grab
the keys to be able to apply keys shortcuts, so when focus is lost, there
is not active grab...
xfwm4 (like any other WM) keeps track of focus changes and fallbacks to
its own internal window when no other window has focus. Unfortunately,
some apps can confuse the WM and the fallback window doesn't receive the
focus, thus the key shortcuts don't work anymore...
-----------------------------------------------------------------------
huysmans - 2004-05-03 12:18 GMT
-----------------------------------------------------------------------
Sounds like this could be closed as a won't_fix issue.
-----------------------------------------------------------------------
huysmans - 2004-07-15 19:01 GMT
-----------------------------------------------------------------------
Perldude tell me this doesn't happen with a new HelixPlayer based
RealPlayer. Sounds like a good opportunity to close this ;)
More information about the Xfce-bugs
mailing list