Summary: | OSDs shown without the level indicator when the screen is locked | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Kishore Gopalakrishnan <kishore96> |
Component: | Theme - Breeze | Assignee: | visual-design |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | bugseforuns, kde, nate, plasma-bugs |
Priority: | HI | Keywords: | regression |
Version: | 5.23.3 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Other | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/b6d5966ce31adaec1ec96499b59d348d5d4743f4 | Version Fixed In: | 5.24.5 |
Attachments: |
OSD when the screen is locked
(expected behaviour) OSD when the screen is unlocked |
Created attachment 144023 [details]
(expected behaviour) OSD when the screen is unlocked
Can reproduce. Very interesting. Actually the bar is visible, but it's getting displayed at 0 width for some reason. That's what the little X in your screenshot is all about. Git commit 2861d1fca3361d3617b2c8d84c91942c0dbc33ed by ivan tkachenko. Committed on 02/05/2022 at 10:07. Pushed by ratijas into branch 'master'. [lookandfeel] Fix collapsed width of a volume/brightness OSD on a lock screen Amends c067d4985a49cdef8ed0d96ba8019a7b945b1741. Having `preferredWidth: 1` set on an only item that also stretches with fillWidth AND without top-to-bottom sizing (fixed size imposed by parent component) doesn't really make sense. It naturally increased row layout's implicitWidth by only 1, and that value were used as an input to the final width expression (bottom-up sizing). This patch fixes the sizing model to be strictly implicit bottom-up and explicit top-down, and so the slider no longer collapses. M +1 -1 lookandfeel/contents/osd/OsdItem.qml https://invent.kde.org/plasma/plasma-workspace/commit/2861d1fca3361d3617b2c8d84c91942c0dbc33ed Git commit b6d5966ce31adaec1ec96499b59d348d5d4743f4 by ivan tkachenko. Committed on 02/05/2022 at 10:31. Pushed by ratijas into branch 'Plasma/5.24'. [lookandfeel] Fix collapsed width of a volume/brightness OSD on a lock screen Amends c067d4985a49cdef8ed0d96ba8019a7b945b1741. Having `preferredWidth: 1` set on an only item that also stretches with fillWidth AND without top-to-bottom sizing (fixed size imposed by parent component) doesn't really make sense. It naturally increased row layout's implicitWidth by only 1, and that value were used as an input to the final width expression (bottom-up sizing). This patch fixes the sizing model to be strictly implicit bottom-up and explicit top-down, and so the slider no longer collapses. (cherry picked from commit 2861d1fca3361d3617b2c8d84c91942c0dbc33ed) M +1 -1 lookandfeel/contents/osd/OsdItem.qml https://invent.kde.org/plasma/plasma-workspace/commit/b6d5966ce31adaec1ec96499b59d348d5d4743f4 |
Created attachment 144022 [details] OSD when the screen is locked SUMMARY The volume/brightness OSDs are shown without the horizontal 'level indicator bar' when the screen is locked (see attached screenshots). STEPS TO REPRODUCE 1. Lock screen 2. Change screen brightness or volume using keyboard keys OBSERVED RESULTS The OSD doesn't display the horizontal bar that indicates the current level (see attachment screen_locked.png). It only shows a 'speaker'/'monitor' icon and the numerical percentage. EXPECTED RESULTS OSD should look the same as when the screen is unlocked (see attachment screen_unlocked.png). SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.23.3 KDE Frameworks Version: 5.88.0 Qt Version: 5.15.2 Kernel Version: 5.10.82-1-lts (64-bit) Graphics Platform: X11 Processors: 4 × AMD EPYC-Rome Processor Memory: 1.4 GiB of RAM Graphics Processor: virgl ADDITIONAL INFORMATION Also reproducible with the Oxygen theme, so I am not sure if this is the right component to report it under.