! 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 !
Main window not shown when switching using panel button
Status:
RESOLVED: FIXED

Comments

Description M. 2019-04-18 14:08:31 CEST
This bug has been there for a long time. Tested on multiple machines. 

Steps to reproduce:
1. Open a program with some modal dialog (e.g. XFCE Terminal with Preferences dialog, Geany with Find dialog...);
2. Switch to another window whose size and position cover the main window of the program opened in 1 (any maximised window will do);
3. Using the Window Buttons panel button on XFCE panel, click the button corresponding to the program opened in 1.

Expected behaviour: the program opened in step 1 would be shown again, with its main window behind its modal dialog just as it was before switching.

Current behaviour: only the modal dialog is displayed (i.e. we only see the terminal's preference dialog, the terminal itself doesn't reappear; on Geany, the text editor doesn't come back, and we only see the search dialog).

If we press Alt+Tab rather than clicking the panel button, everything works properly, but I don't think it's the panel's fault because other WMs do not have this problem even with Xfce panel (tested: Compiz and KWin).
Comment 1 Git Bot editbugs 2019-04-19 23:30:35 CEST
Olivier Fourdan referenced this bugreport in commit fa9517eae823e35d0c85276b2d0c31beede5022f

stacking: Raise all transients together

https://git.xfce.org/xfce/xfwm4/commit?id=fa9517eae823e35d0c85276b2d0c31beede5022f
Comment 2 Git Bot editbugs 2019-04-19 23:36:51 CEST
Olivier Fourdan referenced this bugreport in commit 2a23df9272523fd0c1e5d8286f729640cab87b28

cycle: No need to raise parents separately

https://git.xfce.org/xfce/xfwm4/commit?id=2a23df9272523fd0c1e5d8286f729640cab87b28
Comment 3 M. 2019-04-20 16:28:05 CEST
I have compiled Xfwm4 after the latest commits and tested it on my computers. This bug is now fixed, and nothing seems to be broken. Thank you so much for the quick solution!
Comment 4 Olivier Fourdan editbugs 2019-04-20 16:37:52 CEST
Thank you for testing!

Bug #15303

Reported by:
M.
Reported on: 2019-04-18
Last modified on: 2019-04-21

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Version:
4.13.0

Attachments

Additional information