Bug 472163 - RFE: ability to force close window from decoration buttons
Summary: RFE: ability to force close window from decoration buttons
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: decorations (show other bugs)
Version: 5.27.6
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-11 17:59 UTC by rlk
Modified: 2023-07-11 21:20 UTC (History)
2 users (show)

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 rlk 2023-07-11 17:59:53 UTC
The Close Window button appears to only send a request to the application to close; if the application is not responsive, it waits for a while before presenting a force close dialog.  I've also seen at least one case of an application apparently accepting the request but not handling it; as a result, I have to manually kill the app.  I'd like a button available to force close a window (and kill the underlying application if it's local) immediately.

This does not need to be on the titlebar by default, as obviously it's dangerous and risks data loss, but it would be useful to have it available.  If the application is that badly hung, I probably do want to kill it immediately rather than risk further loss.
Comment 1 Zamundaaa 2023-07-11 20:03:36 UTC
You can kill applications with one click by using the "kill window" shortcut. By default it's bound to Meta+Ctrl+Esc. I assume that's quick enough?
Comment 2 rlk 2023-07-11 20:09:12 UTC
It's much less obvious than a window button.
Comment 3 David Edmundson 2023-07-11 21:17:47 UTC
But as you said you don't want it to be on by default, at which point we're not solving anything
Comment 4 rlk 2023-07-11 21:20:10 UTC
It's easier to find in the window menu or the decorations settings than an obscure key binding.