Bug 492904 - Windows jump around when quick tiling left/right
Summary: Windows jump around when quick tiling left/right
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: Quick Tiling (other bugs)
Version First Reported In: 6.1.4
Platform: Slackware Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2024-09-09 20:14 UTC by Wen-Wei Kao
Modified: 2025-02-25 06:43 UTC (History)
4 users (show)

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


Attachments
WAYLAND_DEBUG=1 output (12.05 KB, text/plain)
2024-09-30 12:36 UTC, cwo
Details
complere debug log (34.58 KB, text/plain)
2024-09-30 13:09 UTC, cwo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wen-Wei Kao 2024-09-09 20:14:56 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
The windows jumps around when quick tiling left/right with the arrow keys.

STEPS TO REPRODUCE
1. open a window (say, Dolphin)
2. tile left and right with Meta+left/right

OBSERVED RESULT
The windows "jump" a little instead of cleanly tiling without resizing.

EXPECTED RESULT
The windows tile left and right without resizing.

SOFTWARE/OS VERSIONS
Operating System: Slackware 15.0
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.8 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-4770HQ CPU @ 2.20GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® Iris® Pro Graphics P5200

ADDITIONAL INFORMATION
My panel is on the top if that helps.
Comment 1 cwo 2024-09-13 19:31:38 UTC
Can reproduce on git master with both a top and left-side panel. With the left panel (and the top panel off or hidden), the window only jumps when quick-tiling to the left, but not to the right. Looks like the tiling first places the window over the panel, before adjusting position/size to take the panel into account.
Comment 2 Zamundaaa 2024-09-19 20:54:14 UTC
Is the panel you have floating? If so, does the issue go away if you make it not float?
Comment 3 cwo 2024-09-19 21:47:14 UTC
(In reply to Zamundaaa from comment #2)
> Is the panel you have floating? If so, does the issue go away if you make it
> not float?

No, I have non-floating panels and it still happens (on master, and in a VM on base Fedora). If I change it to floating, it's more noticeable though.
Comment 4 Vlad Zahorodnii 2024-09-30 12:02:55 UTC
I cannot reproduce the issue. Can you run an app with WAYLAND_DEBUG=1 envvar and try to tile it?
Comment 5 cwo 2024-09-30 12:36:06 UTC
Created attachment 174225 [details]
WAYLAND_DEBUG=1 output

(In reply to Vlad Zahorodnii from comment #4)
> I cannot reproduce the issue. Can you run an app with WAYLAND_DEBUG=1 envvar
> and try to tile it?

Sure. See attachment. I've tried to limit it to the bits where it's actually tiling, but there's a bit of extra stuff at the beginning and end.

This is with a non-floating always visible panel (20 logical px) on the top edge and the same (30 logical px) on the left edge. 125% scaling. A Konsole window is tiled from the center of the screen to  the (full) left with Meta+LeftArrow. Git master from a couple of days ago, haven't had the time to do a fresh compile yet.

(I currently also have autohide-panels on bottom and right edges, but that's just temporary as I'm testing changes to some widgets and want to have more room for variants. It happened without them as well)
Comment 6 Vlad Zahorodnii 2024-09-30 12:50:05 UTC
> Sure. See attachment. I've tried to limit it to the bits where it's actually tiling, but there's a bit of extra stuff at the beginning and end.

Can you please post full log?
Comment 7 cwo 2024-09-30 13:09:11 UTC
Created attachment 174227 [details]
complere debug log

Sure, see attachment.
Comment 8 cwo 2025-02-22 16:48:26 UTC
I can't reproduce this anymore with three different computers using master or 6.3. Can anyone else?
Comment 9 Wen-Wei Kao 2025-02-23 15:05:51 UTC
(In reply to cwo from comment #8)
> I can't reproduce this anymore with three different computers using master
> or 6.3. Can anyone else?

Hi, I updated to 6.3 a few days ago and indeed the first thing I noticed is this getting fixed. Marking this as resolved.