Bug 458386

Summary: Unnecessary horizontal scroll bar in System Settings category list
Product: [Applications] systemsettings Reporter: Luka Rasputin <nanoblade9>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: minor CC: bugseforuns, nate
Priority: NOR    
Version: 5.25.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: scrollbar

Description Luka Rasputin 2022-08-27 15:07:33 UTC
Created attachment 151632 [details]
scrollbar

SUMMARY
Category list in System Settings has horizontal bar but there's nothing to scroll horizontally.


STEPS TO REPRODUCE
1. Open System Settings
2. Observe the scroll bar

OBSERVED RESULT
Horizontal scroll bar in category list

EXPECTED RESULT
No horizontal scroll bar

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Comment 1 Patrick Silva 2022-08-27 18:48:34 UTC
Can confirm on Arch Linux too. Even 'Update' page of Discover has an horizontal scroll bar.
Comment 2 Nate Graham 2022-08-30 19:59:07 UTC
This is caused by https://bugreports.qt.io/browse/QTBUG-83890,which frustratingly isn't fixed yet. I'll add the normal workaround.

(In reply to Patrick Silva from comment #1)
> Can confirm on Arch Linux too. Even 'Update' page of Discover has an
> horizontal scroll bar.
Please file a new bug report for every scrollable view in a QML/Kirigami that has an unnecessary horizontal scrollbar.
Comment 3 Nate Graham 2022-08-30 20:01:00 UTC
Git commit 8c865d19943ab2e59151f00f1208ede365468bea by Nate Graham.
Committed on 30/08/2022 at 19:59.
Pushed by ngraham into branch 'master'.

Sidebar: Add workaround for horizontal scrollbar bug

https://bugreports.qt.io/browse/QTBUG-83890 is still not fixed.
FIXED-IN: 5.26

M  +2    -1    core/ModuleView.cpp
M  +3    -0    sidebar/package/contents/ui/CategoriesPage.qml
M  +3    -0    sidebar/package/contents/ui/SubCategoryPage.qml

https://invent.kde.org/plasma/systemsettings/commit/8c865d19943ab2e59151f00f1208ede365468bea
Comment 4 Nate Graham 2022-08-31 12:54:51 UTC
That was the wrong fix. Looks like this is actually the same bug as Bug 458486; reverting the fix and marking as a duplicate of that bug.

*** This bug has been marked as a duplicate of bug 458486 ***