Bug 484830 - Program windows of some crashed processes persist
Summary: Program windows of some crashed processes persist
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 6.0.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-31 17:25 UTC by JJ
Modified: 2024-06-01 03:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JJ 2024-03-31 17:25:34 UTC
SUMMARY
On occasion, windows of crashed processes stick around.

STEPS TO REPRODUCE
1. Cause the "Apostrophe" GNOME app to crash. (This is likely not reproducible.)
2. Select "Terminate Apostrophe" when prompted.

OBSERVED RESULT
Observe that while the app terminates - it is no longer listed as a running process - its window persists. Further prompts to terminate the app can be elicited by repeatedly trying to close it. (They reference a process ID that no longer exists.) The window is not resizable, and attempting to do so results in strange temporary artificating, but it can be moved around.

EXPECTED RESULT
KWin recognizes that the process terminated and closes the window.

SOFTWARE/OS VERSIONS
Linux: 6.6.21
KDE Plasma Version: 6.0.2
KDE Frameworks Version: unclear
Qt Version: 6.6.2

ADDITIONAL INFORMATION
I suspect this is weird behavior around programs with client-side decorations... or perhaps something strange around GNOME as a whole. It is very strange that KWin doesn't recognize that the program has closed when the rest of the system does, but I don't know how it's checking for that.
Comment 1 JJ 2024-03-31 18:00:24 UTC
(fwiw this is *not* a crash - it is about kwin's behavior around windows that have crashed)
Comment 2 Vlad Zahorodnii 2024-05-02 13:54:20 UTC
Can post the output of `qdbus org.kde.KWin /KWin supportInformation` command when there's a ghost window? Reset the bug report status to REPORTED after posting the output here.
Comment 3 Bug Janitor Service 2024-05-17 03:45:23 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2024-06-01 03:45:57 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!