! 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 !
Stuck X11 windows if they close during xfwm4 Alt-Tab
Status:
RESOLVED: FIXED

Comments

Description Mukundan Ragavan 2019-04-22 23:01:10 CEST
Downstream bug - https://bugzilla.redhat.com/show_bug.cgi?id=1700111

Text from the downstream bug - 

*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+

Description of problem:

Under the Xfce desktop with xfwm4, if you are Alt-Tabbing between applications and one of the windows closes while the Alt-Tab picker is active, the window becomes 'stuck' and can't be closed or terminated.

The 'stuck' window still appears on the task bar and window list but does not respond and can't be closed. Occasionally after clicking on it you'll get a prompt to terminate the non-responsive window, but it has no effect.

The only way to get rid of the frozen window is to log out of X11. Even killing the parent application won't close its window.


Version-Release number of selected component (if applicable):

xfwm4-4.13.1-4.fc29.x86_64

How reproducible:

Always.


Steps to Reproduce:
1. Open a Terminal window and run: `sleep 5 && exit` to make the window close after a few moments.
2. Hold the Alt-Tab key buttons to make the window switcher appear. Keep the keys held until the Terminal window closes.
3. After the window tried to close, it in fact sticks around and doesn't respond and can no longer be closed or terminated.

Actual results:

The window that closed during the Alt-Tab sticks around on the task bar and window switcher.


Expected results:

The window that closed should disappear from the task bar and window switcher.


Additional info:

I first saw this when sending an e-mail on Thunderbird: I clicked 'send' and alt-tabbed away to do other work, and the Compose Email window tried to close while the Alt-Tab menu was active, and the window instead stuck around frozen. Killing Thunderbird completely did not take away the frozen window.

*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+



The process is no longer alive as can be seen using top or ps or xfce task manager. The window persists though.
Comment 1 Landry Breuil editbugs 2019-04-24 19:18:00 CEST
i can definitely confirm this bug on OpenBSD using xfwm4 4.13 - xfwm4 --replace "fixes it" as the dead windows are not present anymore in xlsclient.
Comment 2 Olivier Fourdan editbugs 2019-04-24 19:54:10 CEST
Yeah, I have a fix already, it's a regression introduced by commit ef33ff7
Comment 3 Git Bot editbugs 2019-04-24 21:51:18 CEST
Olivier Fourdan referenced this bugreport in commit 61e3055874184a5590fe7070faf0032e5a25b2c8

cycling: Remove client if destroyed while cycling

https://git.xfce.org/xfce/xfwm4/commit?id=61e3055874184a5590fe7070faf0032e5a25b2c8
Comment 4 Andre Miranda editbugs 2019-05-21 02:36:47 CEST
@Mukundan Ragavan I was able to reproduce the bug and can say the fix (shipped on xfwm 4.13.2) solved the issue, therefore I'm closing. If you have any update from downstream please reopen.

Bug #15318

Reported by:
Mukundan Ragavan
Reported on: 2019-04-22
Last modified on: 2019-05-21

People

Assignee:
Olivier Fourdan
CC List:
2 users

Version

Version:
4.13.1

Attachments

Additional information