Bug 458386 - Unnecessary horizontal scroll bar in System Settings category list
Summary: Unnecessary horizontal scroll bar in System Settings category list
Status: RESOLVED DUPLICATE of bug 458486
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.25.4
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-27 15:07 UTC by Luka Rasputin
Modified: 2022-08-31 12:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
scrollbar (30.93 KB, image/jpeg)
2022-08-27 15:07 UTC, Luka Rasputin
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***