Bug 452624 - [Dual monitor] Quick tiling a maximized window to the left / right can make it float and tile on the other screen
Summary: [Dual monitor] Quick tiling a maximized window to the left / right can make i...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (other bugs)
Version First Reported In: 5.25.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2022-04-14 20:50 UTC by postix
Modified: 2023-03-14 17:32 UTC (History)
2 users (show)

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


Attachments
KWin Wayland Support Information (6.53 KB, text/plain)
2022-04-14 20:50 UTC, postix
Details
Screen recording (2.78 MB, video/x-matroska)
2022-06-21 14:30 UTC, postix
Details
kWin Support Info (6.83 KB, text/plain)
2022-06-21 14:33 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2022-04-14 20:50:19 UTC
Created attachment 148163 [details]
KWin Wayland Support Information

STEPS TO REPRODUCE
1. Two screens: screen A (primary) and screen B. 
2. Enable quick tiling to the left / right in the system settings (shortcuts)
3. Open and select window on screen B. 
4. Quick tile it to the left or right

OBSERVED RESULT
The window becomes tiled on screen A

EXPECTED RESULT
The window becomes tiled on its current screen B

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220412
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.2
Kernel Version: 5.17.1-1-default (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2022-04-18 16:24:46 UTC
Huh, works for me.
Comment 2 postix 2022-04-18 17:27:27 UTC
(In reply to Nate Graham from comment #1)
> Huh, works for me.

Weird, it seems to happen at random; I could reproduce it again two times today, but now it just works.
Comment 3 postix 2022-04-18 17:28:45 UTC
I will reopen if I find some steps to reproduce it with certainty.
Comment 4 postix 2022-06-21 14:30:48 UTC
Created attachment 150011 [details]
Screen recording

Can still reproduce it on Wayland. Please see the screen recording:

Left    screen "A" : FullHD@100%
Right screen "B" :         4k@200%

1) Maximize Chromium (Wayland native) on "B"
2) Tile to the right --> Chromium tiles to the right on "A" with margins on the top and right border

3) Maximize Kate on "A"
4) Tile to the left --> Kate tiles to the left on "B" without gaps

5) Maximize Kate on "A"
6) Tile to the right --> Kate tiles to the right on "B" without gaps

After 2), 4) or 6) both apps tile correctly. The issue appears only after maximizing the apps first.
Comment 5 postix 2022-06-21 14:33:24 UTC
Created attachment 150012 [details]
kWin Support Info
Comment 6 postix 2023-03-14 17:32:52 UTC
I will open another report for 5.27 later.