Summary: | Don't allow "app not responding" stuff if app was told to close | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | minelorderagon16 |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | nate |
Priority: | NOR | ||
Version First Reported In: | 6.4.4 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
minelorderagon16
2025-08-17 03:55:46 UTC
The app is in fact not responding. You told it to close, and it didn't close; instead it started hanging. KWin noticed and offered to kill it for you. What would you prefer to happen instead when an app starts hanging after you tell it to close? (In reply to Nate Graham from comment #1) > The app is in fact not responding. You told it to close, and it didn't > close; instead it started hanging. KWin noticed and offered to kill it for > you. > > What would you prefer to happen instead when an app starts hanging after you > tell it to close? I would prefer for it to be forced to close, or at least to have the option to make that happen. If i've told an app to close, it is reasonable to assume I dont want it to be open anymore. When an app is told to close but doesnt, even if its just because it froze, it can be very disruptive to what the user is doing. With a normal app this isn't too bad as you can just work around it, but with games that are set to fullscreen it renders the entire virtual desktop unusable until they close. They typically also make it so the prompt does not show up properly so the user has to alt+tab to it first. > I would prefer for it to be forced to close, or at least to have the option to make that happen. You do have that option: use the "app not responding" window to force-close it. > If i've told an app to close, it is reasonable to > assume I dont want it to be open anymore. When an app is told to close but > doesnt, even if its just because it froze, it can be very disruptive to what > the user is doing. With a normal app this isn't too bad as you can just work > around it, but with games that are set to fullscreen it renders the entire > virtual desktop unusable until they close. They typically also make it so > the prompt does not show up properly so the user has to alt+tab to it first. This seems like something that's easy and obvious, but it's actually not. If we unconditionally force-closed windows that started hanging after some fixed period of time, it could cause data loss. Imagine the app starts hanging on close for 6 seconds to save its state. If an auto-kill timer killed it at 5 seconds, the app would die while it was still writing data to disk, and that data would be corrupted. With the app not responding window, you get to make the decision about whether the risk of this is acceptable to you, rather than the system making that decision for you. So I'm afraid we can't do what you're proposing, sorry. If you want to kill a hanging window right away, Meta+Ctrl+Esc will allow you to do that. |