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

ratijas <m...@ratijas.tk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-workspace/-/commi |ma/kscreenlocker/-/commit/4
                   |t/741a0308605a7fd218b12961e |24144f4f8ab594948d69bce3817
                   |c13c77f00777f86             |037bc9e726c1

--- Comment #6 from ratijas <m...@ratijas.tk> ---
Git commit 424144f4f8ab594948d69bce3817037bc9e726c1 by ivan tkachenko.
Committed on 02/12/2023 at 02:10.
Pushed by ratijas into branch 'master'.

Osd: set osdMaxValue before osdValue

This change fixes incorrect bounded values appearing in the osd,
for example 100% when the real volume is 105%.

Probably, this happens because osdValue is set to 105 while
osdMaxValue=100, which then gets clamped by Qt.

By setting osdMaxValue first, Qt clamps with the correct range.

See plasma-workspace@741a0308605a7fd218b12961ec13c77f00777f86

M  +2    -1    greeter/greeterapp.cpp

https://invent.kde.org/plasma/kscreenlocker/-/commit/424144f4f8ab594948d69bce3817037bc9e726c1

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

Reply via email to