Bug 461546

Summary: Ctrl+Q closes all instances of a program, instead of seperate windows.
Product: [Plasma] kwin Reporter: Henning <boredsquirrel>
Component: activitiesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nate
Priority: NOR Keywords: efficiency-and-performance
Version First Reported In: 5.25.5Flags: boredsquirrel: X11+
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Henning 2022-11-07 13:26:35 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. open libreoffice calc, writer, impress
2. press Crtl+Q
3. all windows close, except if there are unsaved changes

OBSERVED RESULT
all instances close. This also affects the optional middle-click-to-close option for the windowbar at the bottom, when clicking on an app icon.

EXPECTED RESULT
windows close seperately, at least if chosen

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 36
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.5-200.fc36.x86_64 (64-bit)
Graphics Platform: X11
Comment 1 Bug Janitor Service 2022-11-07 13:33:29 UTC
Thank you for the bug report!

Please note that Plasma 5.25.5 is not supported for much longer by KDE; supported versions are 5.24, and 5.26 or newer.

If at all possible please upgrade to a supported version and verify that the bug is still happening there.

If you're unsure how to do this, contact your distributor about it.
Comment 2 Nate Graham 2022-11-07 19:40:35 UTC
Ctrl+Q is implemented by individual apps, not KWin. It's up to apps to decide what it does. So if an app isn't doing what you expect when you press Ctrl+Q, it's an issue that will need to be reported to the developers of that app. Thanks!

FWIW what you describe is exactly what I would expect to happen: all windows of the app close. If you want to close just one window of the app, use Ctrl+W or Alt+F4.