Bug 477493 - Apps list unexpectedly can be horizontally scrolled even if the horizontal scroll bar is not activated
Summary: Apps list unexpectedly can be horizontally scrolled even if the horizontal sc...
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: master
Platform: Neon Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
: 489340 492878 496176 498312 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-11-25 11:14 UTC by Patrick Silva
Modified: 2025-01-11 15:55 UTC (History)
7 users (show)

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


Attachments
screen recording (378.70 KB, video/webm)
2024-03-23 10:41 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2023-11-25 11:14:05 UTC
STEPS TO REPRODUCE
1. open Discover
2. click on "All applications" in the sidebar
3. press right arrow key and then left arrow key

OBSERVED RESULT
the apps list is horizontally scrolled despite the horizontal scroll bar is not activated

EXPECTED RESULT
the apps list is not horizontally scrolled

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.81.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Graphics Platform: Wayland
Comment 1 Nate Graham 2023-11-25 21:41:29 UTC
Can reproduce.
Comment 2 Nate Graham 2023-12-01 21:11:57 UTC
Likely related to Bug 476898, ir not the same root cause.
Comment 3 Nate Graham 2024-01-18 22:42:03 UTC

*** This bug has been marked as a duplicate of bug 476898 ***
Comment 4 Nate Graham 2024-01-29 17:23:38 UTC
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.
Comment 5 Patrick Silva 2024-03-23 10:41:30 UTC
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
Comment 6 Nate Graham 2024-07-02 22:09:33 UTC
*** Bug 489340 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2024-09-18 18:40:09 UTC
*** Bug 492878 has been marked as a duplicate of this bug. ***
Comment 8 guimarcalsilva 2024-10-16 04:10:28 UTC
I'm unsure if this has the same root cause, but I can also horizontally scroll on application pages with the keyboard or touchpad.
Comment 9 Nate Graham 2024-11-13 17:03:33 UTC
*** Bug 496176 has been marked as a duplicate of this bug. ***
Comment 10 Nate Graham 2025-01-06 17:52:34 UTC
*** Bug 498312 has been marked as a duplicate of this bug. ***
Comment 11 Nate Graham 2025-01-07 21:26:24 UTC
Working on this.
Comment 12 Bug Janitor Service 2025-01-07 22:02:51 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/1005
Comment 13 Nate Graham 2025-01-09 00:55:02 UTC
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