| Summary: | Apps list unexpectedly can be horizontally scrolled even if the horizontal scroll bar is not activated | ||
|---|---|---|---|
| Product: | [Applications] Discover | Reporter: | Patrick Silva <bugseforuns> |
| Component: | discover | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | 4wy78uwh, aleixpol, elpepechingon, kde, matej.starc, nate, notmart, vse.stopchanskyi |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | 6.0.0 | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=476898 | ||
| Latest Commit: | https://invent.kde.org/frameworks/kirigami/-/commit/cc2ca634236340b2df934997ccfc0a1a07a06724 | Version Fixed/Implemented In: | 6.20 |
| Sentry Crash Report: | |||
| Attachments: | screen recording | ||
|
Description
Patrick Silva
2023-11-25 11:14:05 UTC
Can reproduce. Likely related to Bug 476898, ir not the same root cause. *** This bug has been marked as a duplicate of bug 476898 *** Never mind, it wasn't the same, since that's fixed now but this issue remains. Can reproduce in both US English as well as Brazilian Portuguese; does not seem to be language-dependent. Created attachment 167645 [details]
screen recording
The description page can also be horizontally scrolled.
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.1.0
Qt Version: 6.6.2
Graphics Platform: Wayland
*** Bug 489340 has been marked as a duplicate of this bug. *** *** Bug 492878 has been marked as a duplicate of this bug. *** I'm unsure if this has the same root cause, but I can also horizontally scroll on application pages with the keyboard or touchpad. *** Bug 496176 has been marked as a duplicate of this bug. *** *** Bug 498312 has been marked as a duplicate of this bug. *** Working on this. A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/1005 Git commit e601c3389f590910e551ad79ed7829b023bd7781 by Nate Graham. Committed on 09/01/2025 at 00:54. Pushed by ngraham into branch 'master'. ApplicationsListPage: fix unnecessary horizontal scrolling The content comes from a Kirigami.CardsListView, which brings its own horizontal margins that interfere with default paddings from DiscoverPage/Kirigami.ScrollablePage and cause the page to be slightly horizontally scrollable. We need to make sure that there are no overlapping margins, which can be done by setting the CardsListView to the page's flickable property and nulling out the page's top and bottom padding values. UX remains the same other than the bug being fixed. FIXED-IN: 6.3.0 M +5 -1 discover/qml/ApplicationsListPage.qml https://invent.kde.org/plasma/discover/-/commit/e601c3389f590910e551ad79ed7829b023bd7781 Can reproduce again. Operating System: KDE neon Unstable Edition KDE Plasma Version: 6.4.80 KDE Frameworks Version: 6.17.0 Qt Version: 6.9.1 Graphics Platform: Wayland Can confirm as well. funny thing, i seem to be able to reproduce only with fractional scaling A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/1947 Git commit cc2ca634236340b2df934997ccfc0a1a07a06724 by Marco Martin. Committed on 24/10/2025 at 13:37. Pushed by ngraham into branch 'master'. CardsListView: Make sure it never will have horizontal scrolling When a ListView has rightMargin and/or leftMargin and Flickable has "automatic" contentWidth (ie wasn't overridden) Flickable will consider as content width the whole flickable width plus right and left margins, causing an unwanted horizontal scroll. override contentWidth in CardsListView in order to always be the listview width minus the margins, which will cause in the end always wide exactly as the listview which is exactly what's needed in the CardsListView case M +1 -0 src/controls/CardsListView.qml https://invent.kde.org/frameworks/kirigami/-/commit/cc2ca634236340b2df934997ccfc0a1a07a06724 |