Summary: | FrameSvgItem corruption: Right end of progress bar in OSD volume indicator is sometimes rounded, sometimes flat, sometimes chopped-up | ||
---|---|---|---|
Product: | [Frameworks and Libraries] libplasma | Reporter: | Alexey Boltenko <docarz31> |
Component: | libplasma | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | docarz31, filipfila.kde, kde, nate, noahadvs, plasma-bugs, postix |
Priority: | NOR | ||
Version: | 5.70.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=433934 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
The three possible states
A naughty hack that makes the bug go away Bug-free 'bar_meter_horizontal' SVG |
Looks like a cache problem, have you cleared ~/.cache/plasma* files? Do you have screen scaling enabled? (In reply to Kai Uwe Broulik from comment #1) > Looks like a cache problem, have you cleared ~/.cache/plasma* files? Do you > have screen scaling enabled? No scaling enabled. Tried clearing cache, logged out and back in, the problem still persists. Additionally, the "sliced" appearance is much more rare and I still couldn't figure out what causes it. I can easily confirm that it alternates between flat and rounded states just by raising the lowering the volume repeatedly using my keyboard's volume keys. Now that I've seen this, I can't un-see it. :( I've looked into what could be causing this. How to reproduce and test changes: you need to log out and in again because restarting plasmashell makes the bug go away What's not causing it: the PlasmaComponents qml files themselves, both PC2 and PC3 The culprit is most likely frameSvgItem. If you replace it with a circular Rectangle as the indicator you'll see this bug doesn't happen. See attached hack. It shouldn't be a problem with our SVGs since I've seen it happen with other themes but can't say for sure. Created attachment 128816 [details]
A naughty hack that makes the bug go away
Thanks, that looks like a good avenue of investigation. Actually (and fortunately) it might just be an SVG problem. Gonna attach an SVG from the Matcha-Color theme that doesn't have this issue. Noah, do you have an idea what we're doing wrong and they're doing right? Created attachment 128820 [details]
Bug-free 'bar_meter_horizontal' SVG
from the Matcha-Color theme
i do have the issue sometimes, tough also can't much understand. bar_meter_horizontal looks very simple so shouldn't do it *** Bug 424614 has been marked as a duplicate of this bug. *** fixed in plasma6 |
Created attachment 118447 [details] The three possible states The volume indicator's bar's end can appear in one of three states: 1. "Sliced" 2. Round 3. Flat STEPS TO REPRODUCE 1. Change volume so that the volume indicator appears OBSERVED RESULT The volume bar on the indicator will have an inconsistent appearance. EXPECTED RESULT It's look should not change. SOFTWARE/OS VERSIONS Kernel: 4.20.11-1-MANJARO 64-bit KDE Plasma Version: 5.15.1 KDE Frameworks Version: 5.55.0 Qt Version: 5.12.1 ADDITIONAL INFORMATION The conditions for this are unknown. This behaviour has persisted over multiple OS installations.