Bug 497710 - Wrong window snap behaviour.
Summary: Wrong window snap behaviour.
Status: RESOLVED DUPLICATE of bug 495273
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (other bugs)
Version First Reported In: 6.2.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-20 09:50 UTC by marcel_s
Modified: 2024-12-20 19:17 UTC (History)
2 users (show)

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


Attachments
wrong guides while window is snapped to the middle (1.40 MB, image/jpeg)
2024-12-20 09:50 UTC, marcel_s
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marcel_s 2024-12-20 09:50:31 UTC
Created attachment 176782 [details]
wrong guides while window is snapped to the middle

SUMMARY
I use the centre screen snapping and it works as intended, no issues, it is in the middle of the screen and it takes the taskbar into consideration.
Now looking at the picture I also activated the accessibility option (which all of them should be moved to the accessibility tab btw) to show where the centre of the screen is. Now if you move a window and snap to the centre of the screen you can see that the top and bottom lines don't match the window, that's because that accessibility function doesn't take the taskbar into consideration and uses the actual centre of the screen.

STEPS TO REPRODUCE
1. use centre screen snapping
2. activate accessibility option to show screen centre lines
3. move a window and snap it to the middle

OBSERVED RESULT
Guiding lines don't match the middle of the screen because they ignore the taskbar.

EXPECTED RESULT
Guiding lines should match the window snapping and take taskbars into consideration.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
I have no idea how those things are called in English I just translate it on the fly.
Comment 1 Nate Graham 2024-12-20 19:17:55 UTC

*** This bug has been marked as a duplicate of bug 495273 ***