Bug 504288 - Restore minimized window while modifier is still held
Summary: Restore minimized window while modifier is still held
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: Quick Tiling (other bugs)
Version First Reported In: 6.3.5
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2025-05-15 18:47 UTC by Tech-Tac
Modified: 2025-05-25 18:34 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 Tech-Tac 2025-05-15 18:47:11 UTC
SUMMARY
One detail that I miss from Windows is that when manipulating window position with the keyboard, you can maximize a window with win+up after you've just minimized it with win+down and still having the win key pressed. That seems hard to implement with how customizable key shortcuts are in Plasma but here is this anyway.

STEPS TO REPRODUCE
1. Focus a window
2. Minimize shortcut (win+pgdn)
3. With win still pressed, release pgdn and press pgup (preferably any position key too)

OBSERVED RESULT
The window behind the minimized window gets maximized

EXPECTED RESULT
The window that just got minimized gets brought up again

SOFTWARE/OS VERSIONS
Windows: 10
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Comment 1 Tech-Tac 2025-05-15 18:49:27 UTC
I would also like to clarify that releasing the win key should make things behave as they do now again
Comment 2 Nate Graham 2025-05-15 19:00:03 UTC
What's the use case for this? I ask because it would block the workflow of actually wanting to minimize a window and then maximize a different one immediately afterwards, which means it's probably going to hit someone's spacebar heating workflow.
Comment 3 Tech-Tac 2025-05-15 19:06:20 UTC
When accidentally minimizing a window and wanting to bring it back without much friction.
It is also a quality of life change, a little detail that makes some interactions more fun, I used to repeatedly minimize and restore windows with this feature.
Comment 4 TraceyC 2025-05-19 19:46:20 UTC
I wonder if a shortcut could be added for re-maximizing the most recently minimized window, if the desired behavior isn't possible?
To argue for the feature request, muscle memory will cause friction with things like this being different between OS's
Comment 5 Tech-Tac 2025-05-25 18:34:21 UTC
I booted up Windows to research the exact behavior of this and it is as follows:
Win+left to tile window to the left
Win+right to tile window to the right

Win+down to minimize window floating window/unmaximize maximized window
Win+up to toggle window maximization

And the important parts:
If Win was still being pressed after Win+down and the user now presses up, the window that just got minimized is restored again as floating, pressing other arrow keys does nothing.