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

cwo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|                            |6.21
  Fixed/Implemented|                            |
                 In|                            |
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kirigami/-/commit/84
                   |                            |8cfe32058718d30056c45833de5
                   |                            |40b186e3ec9
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from cwo <[email protected]> ---
Git commit 848cfe32058718d30056c45833de540b186e3ec9 by Christoph Wolk.
Committed on 18/11/2025 at 16:17.
Pushed by cwo into branch 'master'.

globaltoolbar/NavigationButtons: fix Back button in RtL

The Back button tests whether it should be enabled using the pageStack's
contentX. In LtR, this works, but in RtL it does not, as the top-most
page is also the left-most and therefore has an x-axis position of 0. As
a consequence, the Back button is always disabled in RtL.

Instead, we make this test conditional on LayoutMirroring, keeping the
current method for LtR, and testing whether the position is at 0 and the
total contentWidth of the page stack is wider than the pageStack (and
therefore some parts of the stack must be outside the visible area).
FIXED-IN: 6.21

M  +5    -1    src/controls/private/globaltoolbar/NavigationButtons.qml

https://invent.kde.org/frameworks/kirigami/-/commit/848cfe32058718d30056c45833de540b186e3ec9

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

Reply via email to