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

Jan Blackquill <uhh...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/breeze/commit/e8b1d4aa47 |ma/breeze/commit/c7bfd1c728
                   |daf99041332f43c29fabdf70f25 |c603464cab9a43a0627a82d1ab0
                   |004                         |933

--- Comment #10 from Jan Blackquill <uhh...@gmail.com> ---
Git commit c7bfd1c728c603464cab9a43a0627a82d1ab0933 by Jan Blackquill.
Committed on 04/06/2022 at 00:01.
Pushed by cblack into branch 'Plasma/5.25'.

kstyle: fix qqc2 desktop style sliders in RtL

We don't do any mirroring of the slider groove rects or tickmarks based on
layout direction,
and this causes qqc2-desktop-style sliders to render in the wrong direction.
Swapping the leftRect and the rightRect when option->direction ==
Qt::RightToLeft
fixes this.

This wasn't broken with QWidgets because QSlider relies on (ab)using the
upsideDown option
in order to achieve mirroring of the groove instead of option->direction, and
consequently,
this change doesn't affect Qt widgets apps at all.
(cherry picked from commit e8b1d4aa47daf99041332f43c29fabdf70f25004)

M  +9    -4    kstyle/breezestyle.cpp

https://invent.kde.org/plasma/breeze/commit/c7bfd1c728c603464cab9a43a0627a82d1ab0933

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

Reply via email to