[Xfce-bugs] [XFCE 0000038]: Stack/focus problem
xfce-bugs at xfce.org
xfce-bugs at xfce.org
Thu Apr 8 21:49:05 CEST 2004
The following bug has been RESOLVED.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000038
=======================================================================
Reporter: bwalle
Handler: kelnos
=======================================================================
Project: XFCE
Bug ID: 0000038
Category: xfwm
Reproducibility: always
Severity: tweak
Priority: low
Status: resolved
Resolution: fixed
=======================================================================
Date Submitted: 2003-12-09 23:49 GMT
Last Modified: 2004-04-08 19:49 GMT
=======================================================================
Summary: Stack/focus problem
Description:
Sometimes after closing a window the wrong window has the focus but the
stack ordering is correct. I found a reproducable example.
Description is at
http://www.bwalle.de/temp/xfce4-bug/bug.html
(made me able to include images easily).
=======================================================================
-----------------------------------------------------------------------
olivier - 2003-12-10 20:47 GMT
-----------------------------------------------------------------------
Problem confirmed. Actually, it's a minor problem as long as the window
that shows focused is actually focused.
Olivier.
-----------------------------------------------------------------------
bwalle - 2004-01-20 19:34 GMT
-----------------------------------------------------------------------
I have found a problem with a own application that causes the same problem,
i.e. after closing a window the wrong window is focued.
The problem is a bit different:
1. Start the application on a desktop with at least two windows open.
2. Click on the button to open the dialog
3. Minimize the main window. The dialog gets minimized, too.
4. Restore the window. The dialog gets focued.
5. Close the dialog.
Now another window and not the application is focued! The dialog has (in
my opinion) the right WM_TRANSIENT_FOR(WINDOW) entry.
I wrote a small application to reproduce the problem. It's attached. It's
a Qt application. Statical linked binary is included if you don't have Qt
developmenet tools installed.
I hope the problem can be fixed in future, it's the own bug I know of in
xfwm4.
-----------------------------------------------------------------------
bwalle - 2004-01-20 19:41 GMT
-----------------------------------------------------------------------
Sorry, the file upload didn't work. Use
http://www.bwalle.de/temp/testx.tar.bz2
-----------------------------------------------------------------------
olivier - 2004-01-24 15:04 GMT
-----------------------------------------------------------------------
I dunno what version of xfwm4 you use, but I don't see the behaviour you
describe and the window is properly focused once the dialog closes.
There is code in xfwm4 to ensure this, so I'm really wondering if you are
usng the same version.
-----------------------------------------------------------------------
olivier - 2004-01-24 15:32 GMT
-----------------------------------------------------------------------
Can you try with this version, just to make sure:
http://xfce.org/archive/test/xfwm4-4.0.4-cvs.tar.gz
TIA
Olivier.
-----------------------------------------------------------------------
bwalle - 2004-01-24 15:55 GMT
-----------------------------------------------------------------------
I use 4.0.3.1. With your version I get the same result as you: It works.
The Xine problem seems to be fixed, too. Very good! So you can close this
bug.
But with this version, another problem is introduced: If a application was
started from the Panel, the panel always gets the focus back if the
application is closed. This was not in previous versions! Do you consider
this as bug and if so, should I open another bug entry?
-----------------------------------------------------------------------
olivier - 2004-01-24 16:35 GMT
-----------------------------------------------------------------------
Updated archive, same player, please try again :)
Olivier.
-----------------------------------------------------------------------
bwalle - 2004-01-24 18:15 GMT
-----------------------------------------------------------------------
Seems to work very well. Good work!
More information about the Xfce-bugs
mailing list