[Xfce-bugs] [XFCE 0000038]: Stack/focus problem

xfce-bugs at xfce.org xfce-bugs at xfce.org
Sat Jan 24 16:04:03 CET 2004


A BUGNOTE has been added to this bug.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000038
=======================================================================
Reporter:                   bwalle
Handler:                    olivier
=======================================================================
Project:                    XFCE
Bug ID:                     0000038
Category:                   xfwm
Reproducibility:            always
Severity:                   tweak
Priority:                   low
Status:                     assigned
=======================================================================
Date Submitted:             2003-12-09 23:49 GMT
Last Modified:              2004-01-24 15:04 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.



More information about the Xfce-bugs mailing list