Bug 453560 - Windows not always snap on resize
Summary: Windows not always snap on resize
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.24.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-09 06:04 UTC by gudvinr+kde
Modified: 2022-05-09 16:28 UTC (History)
1 user (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 gudvinr+kde 2022-05-09 06:04:00 UTC
SUMMARY

Sometimes, windows don't snap to window edges on resize.
I have this monitor setup:
- left 3840x2160 + right 1440x2560

I am not sure whether or not it works with X11 but I don't feel like trying because switching between Wayland and X1 messes my desktop layout every time I do that. But I don't remember it not working because it is what I do relatively often and I started to notice that after switching to Wayland.

It doesn't always happen and it doesn't happen with all windows:
- MPV window doesn't snap to the right side of the right monitor, to the bottom of both and to the top of both. Both with and without borders. But it does snap to the edge between monitors and to the left side of the left monitor.
- Discord window doesn't snap to the right and bottom when minimized but snaps okay to the top, to the left, to the edge between monitors and to the right when maximized vertically. Same with Firefox

STEPS TO REPRODUCE
1. Open window
2. Try to resize

OBSERVED RESULT
Window snaps to all screen edges

EXPECTED RESULT
Windows sometimes don't snap

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Graphics Processor: AMD VEGAM