Summary: | Vertical scroll bar is enabled in Widget Explorer even when there is nothing to scroll | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Patrick Silva <bugseforuns> |
Component: | Widget Explorer sidebar | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | kde, nate |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/commit/cba7b1f70dc38af3f7c8d5aa5974d6714bad62b3 | Version Fixed In: | 5.24 |
Sentry Crash Report: | |||
Attachments: | screenshot |
This was deliberate at the time. Changing the scrollbar changed the width which changed how text wrapped which could change how many items got shown which changed whether you need a scrollbar which changed the width.... I don't want to see that bug back. If we need the width of the scrollview to not change, maybe we could just add empty space on the right side where the scrollbar would be. That would still be ugly, but probably better than showing a full scrollbar when the view isn't scrollable. In testing this out, I no longer see the bug that David describes. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/369 Git commit cba7b1f70dc38af3f7c8d5aa5974d6714bad62b3 by Méven Car. Committed on 12/10/2021 at 15:04. Pushed by ngraham into branch 'master'. Port WidgetExplorer' PlasmaExtras.ScrollArea to PC3.ScrollView Related: bug 437155 M +14 -10 desktoppackage/contents/explorer/WidgetExplorer.qml M +1 -1 desktoppackage/contents/views/Desktop.qml https://invent.kde.org/plasma/plasma-desktop/commit/cba7b1f70dc38af3f7c8d5aa5974d6714bad62b3 |
Created attachment 131349 [details] screenshot STEPS TO REPRODUCE 1. right-click on wallpaper, choose "Add widgets" 2. type random characters in the search field 3. OBSERVED RESULT as we can see in the attached screenshot, vertical scroll bar is enabled despite there is nothing to be scrolled EXPECTED RESULT no scroll bar when there is nothing to scroll SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.19.80 KDE Frameworks Version: 5.74.0 Qt Version: 5.14.2