Bug 502948 - Some application pages can be horizontally scrolled, although no page content requires it
Summary: Some application pages can be horizontally scrolled, although no page content...
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: master
Platform: Neon Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-17 20:16 UTC by Tamás Králl
Modified: 2025-06-07 23:26 UTC (History)
3 users (show)

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


Attachments
The app page view slides to the left, creating an empty space on the right. (552.51 KB, video/webm)
2025-04-17 20:16 UTC, Tamás Králl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tamás Králl 2025-04-17 20:16:36 UTC
Created attachment 180363 [details]
The app page view slides to the left, creating an empty space on the right.

SUMMARY
App pages sometimes become horizontally scrollable, it seems to always happen with apps from Flathub. See the attached video for clarity.

STEPS TO REPRODUCE
1. Have the Flathub backend added to Discover.
2. Open Discover.
3. Search for 'haruna'.
4. Open the result.
5. Select Flathub as the source if it's not already selected.
6. Scroll horizontally with a touchpad.

OBSERVED RESULT
The app page view moves to the side, creating an emtpy space on the right-hand side.

EXPECTED RESULT
The view doesn't move.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.3
Kernel Version: 6.11.0-24-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-4210U CPU @ 1.70GHz
Memory: 8 GiB of RAM (7.7 GiB usable)
Graphics Processor: Intel® HD Graphics 4400
Manufacturer: Hewlett-Packard
Product Name: HP EliteBook 840 G1
System Version: A3009DD10303
Comment 1 Nate Graham 2025-04-18 17:35:26 UTC
Cannot reproduce on master with Discover built from source myself, but on Qt 6.8.2. Perhaps 6.8.3 has a regression here?
Comment 2 John Kizer 2025-04-21 15:38:56 UTC
For what it's worth, I can't reproduce on Fedora KDE 42 (so Discover 6.3.4) with Qt 6.9 - possibly an issue specific to Qt 6.8.3?
Comment 3 John Veness 2025-04-21 15:39:56 UTC
I see this too with:

Operating System: openSUSE Tumbleweed 20250418
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.14.2-1-default (64-bit)
Graphics Platform: X11

Albeit not with Haruna. I do see it with some other apps e.g. 010 Editor. Also, it seems to depend on the width of the window.
Comment 4 John Kizer 2025-04-21 15:55:43 UTC
Whoops...I was looking at the distribution package for Haruna, not the Flatpak, sorry! I can reproduce now on Discover 6.3.4, Qt 6.9.

My guess is that it's related to the text in the Permissions section at the bottom - applications with permissions like Session Bus Access, whose descriptions stretch all the way to the right, seem to have this occur.
Comment 5 Bug Janitor Service 2025-04-21 16:40:11 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/1782
Comment 6 Aleix Pol 2025-04-25 08:10:45 UTC
Git commit a25f1c56d120eef0a7fa0150330b715e095d5968 by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 25/04/2025 at 08:05.
Pushed by apol into branch 'master'.

Ensure the flickable is as wide as the unwrapped text when

When we enforce NoWrap.

M  +1    -1    kcms/audio_information/ui/main.qml
M  +2    -0    src/qml/CommandOutputKCM.qml

https://invent.kde.org/plasma/kinfocenter/-/commit/a25f1c56d120eef0a7fa0150330b715e095d5968
Comment 7 Bug Janitor Service 2025-04-25 08:14:55 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kinfocenter/-/merge_requests/246
Comment 8 Aleix Pol 2025-04-25 08:19:13 UTC
Git commit 08bf281b57c46d2b8e8360849080355445fa8030 by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 25/04/2025 at 08:15.
Pushed by apol into branch 'master'.

ScrollablePage: Don't override the contentItem's width with its implicit width

It might make it too wide unnecessarily, allowing to scroll horizontally
when unneeded

M  +0    -10   src/controls/ScrollablePage.qml

https://invent.kde.org/frameworks/kirigami/-/commit/08bf281b57c46d2b8e8360849080355445fa8030
Comment 9 Aleix Pol 2025-06-07 23:26:18 UTC
Git commit 6757e9de5ce377b9b7f67528e2820c7c688b0548 by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 07/06/2025 at 23:25.
Pushed by apol into branch 'Plasma/6.3'.

Ensure the flickable is as wide as the unwrapped text when

When we enforce NoWrap.

M  +2    -1    kcms/audio_information/ui/main.qml
M  +2    -0    src/qml/CommandOutputKCM.qml

https://invent.kde.org/plasma/kinfocenter/-/commit/6757e9de5ce377b9b7f67528e2820c7c688b0548