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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/breeze/commit/e8b1d4aa47
                   |                            |daf99041332f43c29fabdf70f25
                   |                            |004
             Status|ASSIGNED                    |RESOLVED

--- Comment #9 from Jan Blackquill <uhh...@gmail.com> ---
Git commit e8b1d4aa47daf99041332f43c29fabdf70f25004 by Jan Blackquill.
Committed on 04/06/2022 at 00:00.
Pushed by cblack into branch 'master'.

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.

M  +9    -4    kstyle/breezestyle.cpp

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

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

Reply via email to