Created attachment 137052 [details] Plasmoid SUMMARY When audio plays, the volume plasmoid shows a small visualizer showing the current volume level. However, when this is the case, the button of the slider goes under the volume bar. (Please see my pictures) STEPS TO REPRODUCE 1. Play audio 2. Open audio plasmoid 3. See that the slider button is below the slider. OBSERVED RESULT The button should be all the way on the top. EXPECTED RESULT The button is under the slider. Operating System: openSUSE Tumbleweed 20210321 KDE Plasma Version: 5.21.3 KDE Frameworks Version: 5.80.0 Qt Version: 5.15.2 Kernel Version: 5.11.6-1-default
I can intermittently confirm, but not always. Right now it's working, but it will break again at some point. This issue was introduced by the input/output level monitoring feature in Plasma 5.21.
I saw it once when someone else showed me a screenshot of it happening, but I cannot reproduce and don't have an immediate idea either what could be wrong
I noticed, that this is more likely to happen when the Mic is muted as in my pictures.
What's really weird if indeed it's conntected to the microphone that it affects the other item too
Please see this short clip. It illustrates the connection to the mic mute button: https://imgur.com/zRktZPd
It looks like the background is drawn above the contentItem which is a bit weird.
Also no idea/theory why the tip of the highlight changes color. Just adding an observation if a stream/device is muted the opacity of the slider is set to 0.5
Created attachment 137089 [details] Screen recording of the issue Just saw it while output level was being visualized. See attached screen recording. Note that when an input or output is muted, the handle becomes partially transparent, allowing the track to show through. That is a separate issue generic to the PlasmaComponents slider.
Can reproduce on neon unstable when internal microphone is muted. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.22.80 KDE Frameworks Version: 5.84.0 Qt Version: 5.15.3 Graphics Platform: Wayland
*** Bug 442305 has been marked as a duplicate of this bug. ***
Git commit d1c2014630c8e742d31a8c3a3afb2b4cd07b4ace by Nate Graham, on behalf of Derek Christ. Committed on 20/09/2021 at 20:25. Pushed by ngraham into branch 'master'. Fix a bug that caused the handle of the volume slider to show artifacts Sometimes it was possible for the handle of the volume slider to show visual artifacts when audio was playing. Also the highlight of the slider itself had sometimes a visual glitch at one side. This commit fixes those glitches by enabling clipping for the slider handle and also for the highlight of the slider itself. FIXED-IN: 5.23 M +3 -0 applet/contents/ui/ListItemBase.qml https://invent.kde.org/plasma/plasma-pa/commit/d1c2014630c8e742d31a8c3a3afb2b4cd07b4ace
Git commit 6dffeb37b5f18f84f87c88a13eca9e657efb9c47 by Nate Graham, on behalf of Derek Christ. Committed on 20/09/2021 at 20:26. Pushed by ngraham into branch 'Plasma/5.23'. Fix a bug that caused the handle of the volume slider to show artifacts Sometimes it was possible for the handle of the volume slider to show visual artifacts when audio was playing. Also the highlight of the slider itself had sometimes a visual glitch at one side. This commit fixes those glitches by enabling clipping for the slider handle and also for the highlight of the slider itself. FIXED-IN: 5.23 (cherry picked from commit d1c2014630c8e742d31a8c3a3afb2b4cd07b4ace) M +3 -0 applet/contents/ui/ListItemBase.qml https://invent.kde.org/plasma/plasma-pa/commit/6dffeb37b5f18f84f87c88a13eca9e657efb9c47
Seems like with `layer.enabled: opacity < 1` binding at the slider/control top level this clip workaround is not needed anymore.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-pa/-/merge_requests/136
Git commit 92c0dce8da5d932b212d101d96bc27bba4bb6a17 by ivan tkachenko. Committed on 31/08/2022 at 21:00. Pushed by ratijas into branch 'master'. applet: Drop redundant workaround for semi-transparent sliders It may have served its purpose with dignity, but is no longer needed in the presence of `layer.enabled: opacity < 1` binding at the control level. See also: https://doc.qt.io/qt-5/qml-qtquick-item.html#item-layers M +1 -2 applet/contents/ui/VolumeSlider.qml https://invent.kde.org/plasma/plasma-pa/commit/92c0dce8da5d932b212d101d96bc27bba4bb6a17