https://bugs.kde.org/show_bug.cgi?id=423543

            Bug ID: 423543
           Summary: window snap to left side of screen positions window
                    border offscreen
           Product: kwin
           Version: 5.18.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: knackst...@outlook.com
  Target Milestone: ---

Created attachment 129694
  --> https://bugs.kde.org/attachment.cgi?id=129694&action=edit
Window snapped to left side of screen

SUMMARY
When using a window with a border of more than 0px width, if you use the
auto-snap feature the window will snap to the negative value of the window's
border width.

If you snap to the top, bottom, or right side, the window does not snap with a
negative value.

I have observed this on Kubuntu 20.x and KDE Neon 18.x.

STEPS TO REPRODUCE
1. Turn on window geometry
2. Set window border to >= 1px
3. Snap window to left side of X-server display
4. Observe negative position.

OBSERVED RESULT
Window border is snapped out of display bounds only on left side.

EXPECTED RESULT
Window border does not snap out of display bounds.

SOFTWARE/OS VERSIONS
Windows: NA
macOS: NA
Linux/KDE Plasma: Kubuntu 20.04
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Using X-11 display and Nvidia display drivers. Most likely not related to bug.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to