[Xfce-bugs] [XFCE 0000128]: Closing RealPlayer loses focus

xfce-bugs at xfce.org xfce-bugs at xfce.org
Sat Apr 24 10:27:16 CEST 2004


Der folgende Fehler wurde wiedereröffnet.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000128
=======================================================================
Reporter:                   bwalle
Bearbeiter:                 olivier
=======================================================================
Projekt:                    XFCE
Fehler ID:                  0000128
Kategorie:                  xfwm
Reproduzierbarkeit:         immer
Auswirkung:                 Unschönheit
Priorität:             normal
Status:                     feedback
=======================================================================
erstellt am:                2004-03-04 10:19 GMT
letzte Aktualisierung:      2004-04-24 08:27 GMT
=======================================================================
Zusammenfassung:            Closing RealPlayer loses focus
Beschreibung: 
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?



More information about the Xfce-bugs mailing list