Bug 502835 - Top headings of System upgrade More Information badly rendered with narrow windows
Summary: Top headings of System upgrade More Information badly rendered with narrow wi...
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: Updates (offline) (other bugs)
Version First Reported In: 6.3.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-15 12:34 UTC by John Veness
Modified: 2025-04-18 14:47 UTC (History)
3 users (show)

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


Attachments
A video demonstration of the issue (393.77 KB, video/webm)
2025-04-15 12:36 UTC, John Veness
Details

Note You need to log in before you can comment on or make changes to this bug.
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