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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/741a0308605a7fd218b12961e
                   |                            |c13c77f00777f86
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from ratijas <m...@ratijas.tk> ---
Git commit 741a0308605a7fd218b12961ec13c77f00777f86 by ivan tkachenko, on
behalf of Quinten Kock.
Committed on 01/12/2023 at 23:42.
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.

M  +2    -1    shell/osd.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/741a0308605a7fd218b12961ec13c77f00777f86

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

Reply via email to