Bug 500636 - Add an action for untiling/restoring a quicktiled window that can be assigned a keyboard shortcut
Summary: Add an action for untiling/restoring a quicktiled window that can be assigned...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: Quick Tiling (other bugs)
Version First Reported In: 6.3.1
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-23 20:36 UTC by Thomas
Modified: 2025-10-08 02:37 UTC (History)
6 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 Thomas 2025-02-23 20:36:59 UTC
SUMMARY
When using one monitor, repeating the same quick tile shortcut key does not untile (restore) the window to its original size and location.

STEPS TO REPRODUCE
1. Have one monitor
2. Focus any window, e.g. a Dolphin window
3. Press the shortcut key to quick tile the window to the left or ride side of the screen (e.g. super/meta+left)
3. Press the shortcut key again

OBSERVED RESULT
The window stays tiled.

EXPECTED RESULT
The window should untile/restore to its previous position. I have to maximize and restore the window to restore it.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.3-arch1-1 (64-bit)
Graphics Platform: Wayland


ADDITIONAL INFORMATION
This used to work until I updated to 6.3.1 yesterday. Unfortunately, I don't know what my previously installed version was.

I'm relatively certain that this bug fix has caused the issue: https://bugs.kde.org/show_bug.cgi?id=493607

Here, it's quite suspicious to me that all the `N` cases are gone (but I don't understand the code enough to draw any conclusions from it): https://invent.kde.org/plasma/kwin/-/commit/596ce0b3a08b2fd304b809d923ff21267e25dc65#b511e90f6b6d5af94f4af5fcac5d7e2497a3c15a_653_653
Comment 1 cwo 2025-02-23 22:39:09 UTC
This was an intentional change that was arrived at after a very long discussion and broad consensus; the old behavior was very confusing in many circumstances especially with multiple monitors - you can find more information about this on invent. I remember there being talk about introducing a keyboard shortcut for untiling though, if there was demand for it. As maximizing and unmaximizing is not quite obvious and there are people that would like to untile using the keyboard, I think it makes sense to repurpose this one for that instead of closing as intentional. Retitling accordingly.
Comment 2 Nate Graham 2025-02-24 17:00:22 UTC
This is intentional at this point in time; the reault of a UX overhaul of how quick tiling works to make it more "spatial".

If you find yourself needing to regularly un-tile windows, you can do it using the method you already found.

I can see the utility to adding an action to make this possible directly, though.
Comment 3 Thomas 2025-02-24 18:26:25 UTC
I'm sorry, but this reminds me a little of the XKCD 1172 Workflow comic.

In particular:

        If you find yourself needing to regularly un-tile windows, you can do it using the method you already found.

Previously, I was able to do it with one keystroke. A method that, as far as I remember, I have been using for years in Windows too (though I haven't used it in a few years anymore).

I can very much understand that it was confusing when using multiple monitors, and I respect that the change was made for users with multiple monitors. But it did break the workflow or expectations of those who do not have multiple monitors. Doing a maximize and then a restore I do not find a satisfying work-around, especially since I've been using the same keystroke to tile and un-tile for years before. On top of that, maximizing and un-maximizing a window looks extremely janky on my ultra-wide...

I am grateful that this bug has been repurposed into a feature request to provide a shortcut key to restore/un-tile windows. I hope it can be delivered soon.
Comment 4 Thomas 2025-02-24 18:33:36 UTC
Excuse my tone; my frustration of my workflow being impeded got the better of me. I really respect your hard work to deliver this great free and open-source project a lot. I will be more careful and friendlier in my wording from now on.
Comment 5 Nate Graham 2025-02-26 17:49:48 UTC
It's all good :)
Comment 6 JJ 2025-05-14 19:49:10 UTC
Hello, I heavily relied on this behavior before it was removed and am unhappy it is being treated as a feature request rather than a regression. Does anyone on this issue have any advice for bringing back the previous behavior, via kwin scripts or otherwise?

I understand removing this feature may be more intuitive for those who commonly use multiple monitors. But, my usage revolves around my small laptop screen, and being able to tile and un-tile with the same shortcut is invaluable. I was hoping that this was a bug, and to be honest I'm fairly annoyed/surprised it was intentional -- seems the time for feature discussion is long past though.
Comment 7 certchainverified 2025-10-08 02:37:05 UTC
I'd also appreciate a workaround.