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

            Bug ID: 472366
           Summary: Unsnapping a quick-tiled window by dragging may drag
                    the window by a point outside its titlebar
    Classification: Plasma
           Product: kwin
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Custom Tiling
          Assignee: kwin-bugs-n...@kde.org
          Reporter: z.figur...@gmail.com
                CC: notm...@gmail.com
  Target Milestone: ---

SUMMARY

Due to the changes in 5.27, a quick-tiled window will remember its previous
size, and revert to that when un-tiled. In particular, as soon as one grabs the
titlebar and drags the window, it will revert to its previous size for the
drag.

However, if a window's previous size was sufficiently small, and one drags the
titlebar near the rightmost edge, this can result in "holding" the window from
a point that is not actually inside of the window. The window drags correctly,
but this is visually confusing, and prevents the user from moving the window to
the right side of the screen in the same gesture (i.e. she has to put down the
window and pick it back up again first).

STEPS TO REPRODUCE
1. Make a window arbitrarily thin.
2. Drag it to the left side of the screen so that it quick-tiles to the left
half of the screen.
3. Click down on a point near the right side of the titlebar, and drag it off
the left side of the screen.

OBSERVED RESULT

The mouse will not be over the titlebar of the window, but rather to the right
of it.

EXPECTED RESULT

The window should be placed somewhere such that the mouse is over the titlebar.
Simply always defaulting to the center may make sense, although more
sophisticated algorithms are also possible.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian GNU/Linux 12
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.8

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

Reply via email to