! 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 !
Stack/focus problem
Status:
CLOSED: FIXED

Comments

Description Bernhard Walle 2003-12-09 23:49:30 CET
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).
Comment 1 Olivier Fourdan editbugs 2003-12-10 20:47:54 CET
Problem confirmed. Actually, it's a minor problem as long as the window that
shows focused is actually focused.

Olivier.
Comment 2 Bernhard Walle 2004-01-20 19:34:54 CET
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.
Comment 3 Bernhard Walle 2004-01-20 19:41:48 CET
Sorry, the file upload didn't work. Use
http://www.bwalle.de/temp/testx.tar.bz2
Comment 4 Olivier Fourdan editbugs 2004-01-24 15:04:03 CET
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.
Comment 5 Olivier Fourdan editbugs 2004-01-24 15:32:05 CET
Can you try with this version, just to make sure:

http://xfce.org/archive/test/xfwm4-4.0.4-cvs.tar.gz

TIA
Olivier.
Comment 6 Bernhard Walle 2004-01-24 15:55:48 CET
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?
Comment 7 Olivier Fourdan editbugs 2004-01-24 16:35:21 CET
Updated archive, same player, please try again :)

Olivier.
Comment 8 Bernhard Walle 2004-01-24 18:15:43 CET
Seems to work very well. Good work!
Comment 9 Brian J. Tarricone (not reading bugmail) 2004-04-08 19:49:15 CEST
mass stale bug cleanup - reopen if closed in error

Bug #38

Reported by:
Bernhard Walle
Reported on: 2003-12-09
Last modified on: 2009-07-14

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information