Bug 456574

Summary: Missing vertical scrollbars
Product: [Frameworks and Libraries] frameworks-qqc2-desktop-style Reporter: Brennan Kinney <polarathene-signup>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED UPSTREAM    
Severity: normal CC: ahiemstra, alenertz, asturm, bharadwaj.raju777, bugseforuns, james.h.graham, kde, kde, nate, noahadvs, notmart, pip.kde, plasma-bugs, popov895, qydwhotmail
Priority: VHI Keywords: regression
Version: 5.96.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
URL: https://bugreports.qt.io/browse/QTBUG-104983
See Also: https://bugs.kde.org/show_bug.cgi?id=458486
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Brennan Kinney 2022-07-11 04:26:45 UTC
SUMMARY

Without one it is a bit tedious to navigate, especially when you want to toggle an effect or modify settings at the bottom of the list.

This issue seems similar to a previous one, however the package qqc2-desktop-style is installed, something else has changed since: https://bugs.kde.org/show_bug.cgi?id=406182


STEPS TO REPRODUCE
1. Open System Settings, navigate to Desktop Effects.


OBSERVED RESULT
No scroll bar available.

EXPECTED RESULT
A scroll bar should be present.


SOFTWARE/OS VERSIONS
Tested via VMware and QEMU-KVM VM guests with 3D accel enabled:

Operating System: openSUSE Tumbleweed 20220708 (Krypton, daily build of KDE git)
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.18.9
Graphics Platform: X11 + Wayland
Extra: xorg: 21.1.3, xwayland 22.1.2, mesa 22.1.3
SVGA3D => vmwgfx 2.20.0 (VMware guest)
virgl => virtio_gpu (QEMU-KVM guest)

Operating System: EndeavourOS (ArchLinux based, fresh and updated install)
KDE Plasma Version: 5.25.2
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5
Kernel Version: 5.18.10
Graphics Platform: X11 + Wayland
Extra: xorg: 21.1.3, xwayland 22.1.2, mesa 22.1.3
SVGA3D => vmwgfx 2.20.0 (VMware guest)
virgl => virtio_gpu (QEMU-KVM guest)
Comment 1 Bharadwaj Raju 2022-07-12 13:04:04 UTC
Happens with all KCMs using ScrollViewKCM.

Only happens with qqc2-desktop-style. Any other Qt Quick style (test with env QT_QUICK_CONTROLS_STYLE) works. But I couldn't find a good commit of qqc2-desktop-style even after going back to KF5.90.

5df82e90e171dbec604581f32fee581acb369d2b reserves space for the scrollbar but doesn't actually show it. Preceding and succeeding commits don't do even that.
Comment 2 Nate Graham 2022-07-13 20:01:17 UTC
*** Bug 456680 has been marked as a duplicate of this bug. ***
Comment 3 David Redondo 2022-07-14 15:12:12 UTC
I thinkt that's a Qt bug https://bugreports.qt.io/browse/QTBUG-104983
Comment 4 Nate Graham 2022-07-15 21:06:48 UTC
Nice find. It's currently marked as P1 Critical, so hopefully it will be fixed soon, and then we can backport it.
Comment 5 Nate Graham 2022-08-01 14:23:35 UTC
*** Bug 457287 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2022-08-02 14:42:14 UTC
*** Bug 457381 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2022-08-15 17:33:24 UTC
*** Bug 457887 has been marked as a duplicate of this bug. ***
Comment 8 Patrick Silva 2022-08-20 15:47:23 UTC
*** Bug 458087 has been marked as a duplicate of this bug. ***
Comment 9 Patrick Silva 2022-08-20 15:47:42 UTC
*** Bug 458012 has been marked as a duplicate of this bug. ***
Comment 10 Patrick Silva 2022-08-24 12:16:32 UTC
qt5-quickcontrols2 5.15.5+kde+r6-1 package fixes this bug on Arch Linux, but now System Settings has unnecessary and annoying horizontal scroll bars.
Comment 11 Nate Graham 2022-08-24 12:21:12 UTC
That would be another Qt bug: https://bugreports.qt.io/browse/QTBUG-83890

We'll need to apply the customary workaround. At this point we already have it in most places because that bug has been open for so long. Which views are affected?
Comment 12 Andreas Sturmlechner 2022-08-24 13:56:45 UTC
(In reply to Nate Graham from comment #11)
> That would be another Qt bug: https://bugreports.qt.io/browse/QTBUG-83890
What about the codereview linked in that bug?
Comment 13 Nate Graham 2022-08-24 14:03:26 UTC
It's been stuck for years because it's failing unit tests and the person who submitted the patch doesn't know how to fix it and nobody at Qt has volunteered to help with it.