Bug 502835

Summary: Top headings of System upgrade More Information badly rendered with narrow windows
Product: [Applications] Discover Reporter: John Veness <john.kde>
Component: Updates (offline)Assignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, kdedev, nate
Priority: NOR    
Version First Reported In: 6.3.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 6.3.5
Sentry Crash Report:
Attachments: A video demonstration of the issue

Description John Veness 2025-04-15 12:34:47 UTC
SUMMARY
The top headings ("System upgrade" and "XX packages will be upgraded") renders oddly, sort of right-aligned but also cut off and overlapping the scrollbar, when the window is narrow.

STEPS TO REPRODUCE
1. Wait until there are a number of offline system updates ready to install
2. Open Discover
3. Click Updates
4. Click System upgrade
5. Click More Information
6. Look at the top heading
7. Make the window narrow

OBSERVED RESULT
The "System upgrade" and "XX packages will be upgraded" text jumps to the right, is cut off, and overlaps the scrollbar.

EXPECTED RESULT
The "System upgrade" and "XX packages will be upgraded" text is kept left-aligned, and wraps if necessary to stay within the window width.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250410
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0
Kernel Version: 6.14.1-1-default (64-bit)
Graphics Platform: X11
Comment 1 John Veness 2025-04-15 12:36:53 UTC
Created attachment 180286 [details]
A video demonstration of the issue
Comment 2 TraceyC 2025-04-16 20:25:31 UTC
Confirmed the bug on 

Operating System: openSUSE Tumbleweed 20250410
KDE Plasma Version: 6.3.2

Also in
Fedora 41
Plasma 6.3.4
KF 6.13.0
Qt 6.8.2
Wayland
Comment 3 Bug Janitor Service 2025-04-16 21:51:28 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/1079
Comment 4 Nate Graham 2025-04-18 14:45:23 UTC
Git commit 875c0cdb7f2a1ff0dcc0c80129873f07c34ed6d4 by Nate Graham.
Committed on 18/04/2025 at 13:41.
Pushed by ngraham into branch 'master'.

ApplicationPage: fix offline update header text at narrow window widths

Despite containing no content, the metadata layout was always shown
invisibly, occasionally forcing the grid layout into stacked view.

The condition here is becoming fairly complex, so break it up into more
readable properties.
FIXED-IN: 6.3.5

M  +7    -2    discover/qml/ApplicationPage.qml

https://invent.kde.org/plasma/discover/-/commit/875c0cdb7f2a1ff0dcc0c80129873f07c34ed6d4
Comment 5 Nate Graham 2025-04-18 14:47:02 UTC
Git commit 201a697a5202346cb32ae2d8d886379a2739c08b by Nate Graham.
Committed on 18/04/2025 at 14:46.
Pushed by ngraham into branch 'Plasma/6.3'.

ApplicationPage: fix offline update header text at narrow window widths

Despite containing no content, the metadata layout was always shown
invisibly, occasionally forcing the grid layout into stacked view.

The condition here is becoming fairly complex, so break it up into more
readable properties.
FIXED-IN: 6.3.5


(cherry picked from commit 875c0cdb7f2a1ff0dcc0c80129873f07c34ed6d4)

Co-authored-by: Nate Graham <nate@kde.org>

M  +7    -2    discover/qml/ApplicationPage.qml

https://invent.kde.org/plasma/discover/-/commit/201a697a5202346cb32ae2d8d886379a2739c08b