Bug 506307 - Allow snapping a window across multiple tiles when holding modifier
Summary: Allow snapping a window across multiple tiles when holding modifier
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: Custom Tiling (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-28 09:24 UTC by me
Modified: 2025-11-12 00:46 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description me 2025-06-28 09:24:55 UTC
Given i have 2 tiles configured, i would like to be able to drag a window across both to make it snap to the sum of them. This is a feature which exists in PowerToys FancyZones, from which i know how useful it can be.

Desired Behavior:
1. Have a tiling layout with 2 tiles
2. Grab a window while holding Shift (default tiling modifier)
3. Drag it to one of the tiles
4. Start holding another modifier
5. Drag it to a adjacent tile, selecting it as well
6. Let go of everything
7. The window snaps to occupy the sum of both tiles

Since it seems that unlike FancyZones, windows are far more locked to their tile, it might be necessary to implement this by ad-hoc creating a new tile below the existing ones which spans both of them. If thats necessary a open question is how this can be cleaned up again afterwards.


SOFTWARE/OS VERSIONS
Linux: EndeavourOS on Kernel 6.15.3-arch1-1 (64-bit)
KDE Plasma Version: 6.4.1
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
FancyZones docs for their version of this feature: https://learn.microsoft.com/en-us/windows/powertoys/fancyzones#snapping-to-multiple-zones-with-the-mouse-and-keyboard
Comment 1 TraceyC 2025-07-02 23:52:13 UTC
This seems useful, I'll let the developer weigh in on it.
Comment 2 lzz 2025-08-04 07:09:15 UTC
This would be a very useful feature.

In the case of tiles that are not in a perfectly aligned in a grid, it could just the corners that make the window larger (top-left and bottom-right, or top-right and bottom-left).