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

cwo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
            Version|                            |6.7.5
  Fixed/Implemented|                            |
                 In|                            |
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/-/commit/
                   |                            |a0f6640045e3bdd9fbfcf748df1
                   |                            |d624616f39903

--- Comment #5 from cwo <[email protected]> ---
Git commit a0f6640045e3bdd9fbfcf748df1d624616f39903 by Christoph Wolk.
Committed on 12/08/2026 at 16:26.
Pushed by cwo into branch 'master'.

applets/taskmanager: correct for initial spacer in RtL

If a horizontal task manager is set to RtL (either from the locale or
from the widget's reverse setting), the option to fill the available
space will place this extra space at the front of the widget, rather
than at the  end (as in LtR orientations). This space is part of the
widget, but not of the GridLayout. When doing drag&drop reordering of
the entries, we look up the mouse coordinates in the GridLayout to find
where we should put things. These coordinates are in the widget's
coordinate system. This breaks rather badly, as our attempts to look up
the correct position are shifted to the right by the extra space.

Instead, we subtract the difference between widget width and layout
width from the mouse X coordinate if the TaskList is RtL. This gives us
the correct X position for vertical panels, and does nothing on vertical
or non-filling widgets (as both have the same width, so the adjustment
is zero anyway).
FIXED-IN: 6.7.5

M  +6    -2    applets/taskmanager/qml/MouseHandler.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/a0f6640045e3bdd9fbfcf748df1d624616f39903

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

Reply via email to