! 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 !
Closing RealPlayer loses focus
Status:
CLOSED: WONTFIX

Comments

Description Bernhard Walle 2004-03-04 10:19:09 CET
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).
Comment 1 Olivier Fourdan editbugs 2004-03-04 21:09:20 CET
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.
Comment 2 Olivier Fourdan editbugs 2004-03-04 21:12:11 CET
Just tried with metacity, that shows the exact same behaviour. It's not
specific to xfwm4 then.
Comment 3 Olivier Fourdan editbugs 2004-03-04 23:19:06 CET
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.
Comment 4 Brian J. Tarricone (not reading bugmail) 2004-04-08 19:31:48 CEST
mass stale bug cleanup - reopen if closed in error
Comment 5 Bernhard Walle 2004-04-23 22:10:50 CEST
In 4.0.5, the Alt-Tab doesn't work after closing the realplayer.
Comment 6 Olivier Fourdan editbugs 2004-04-23 22:15:46 CEST
yes, it's like that, sorry. Realplayer is a closed source application, there
is not much I can do about that.
Comment 7 Bernhard Walle 2004-04-23 22:33:22 CEST
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.
Comment 8 Olivier Fourdan editbugs 2004-04-24 05:45:33 CEST
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...
Comment 9 Bernhard Walle 2004-04-24 08:27:16 CEST
I understand.

But just for interest: What has this to do with Alt-Tab?
Comment 10 Olivier Fourdan editbugs 2004-04-24 12:39:14 CEST
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...
Comment 11 Jasper Huijsmans editbugs 2004-05-03 12:18:56 CEST
Sounds like this could be closed as a won't_fix issue.
Comment 12 Jasper Huijsmans editbugs 2004-07-15 19:01:01 CEST
Perldude tell me this doesn't happen with a new HelixPlayer based RealPlayer.
Sounds like a good opportunity to close this ;)
Comment 13 Olivier Fourdan editbugs 2004-07-16 20:29:27 CEST
It's really a realplayer issue, nothing we can do about it.

Bug #128

Reported by:
Bernhard Walle
Reported on: 2004-03-04
Last modified on: 2009-07-14

People

Assignee:
Jasper Huijsmans
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information