Bug 502956 - Move to center incorrectly interacts with spatial tiling
Summary: Move to center incorrectly interacts with spatial tiling
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: Quick Tiling (other bugs)
Version First Reported In: 6.3.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-04-18 04:38 UTC by Coacher
Modified: 2025-05-10 00:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.4.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2025-04-18 04:38:06 UTC
SUMMARY
After quick tiling a window and moving it to center, the window remembers, how it was tiled.


STEPS TO REPRODUCE
1. Quick tile a window to the top left corner via hotkey
2. Move the window to the center via hotkey
3. Try to quick tile the window to the top left corner again

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
The window is quick tiled to the top left corner

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.13.11-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Iris® Xe Graphics

ADDITIONAL INFORMATION
If I do 1 and 2, but instead of 3 I do quick tile to the right, the window is expanded at the top of the screen. Which is also an error.
Comment 1 Nate Graham 2025-04-18 17:48:45 UTC
Can reproduce.
Comment 2 Bug Janitor Service 2025-04-21 15:30:18 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/7543
Comment 3 Vlad Zahorodnii 2025-05-05 13:13:30 UTC
Git commit 162011fc89ff4740c47f4d487c32f3d2974c5245 by Vlad Zahorodnii.
Committed on 05/05/2025 at 12:22.
Pushed by vladz into branch 'master'.

Make Placement::packTo() evacuate window from tiled state

M  +6    -0    src/placement.cpp

https://invent.kde.org/plasma/kwin/-/commit/162011fc89ff4740c47f4d487c32f3d2974c5245