Bug 504513

Summary: "System upgrade" text wraps with languages that have long words
Product: [Applications] Discover Reporter: Tamás Králl <tamaskrall42>
Component: discoverAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, nate
Priority: NOR    
Version First Reported In: 6.3.90   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.4.0
Sentry Crash Report:
Attachments: More Information page in Hungarian
More Information page in English

Description Tamás Králl 2025-05-19 09:22:52 UTC
Created attachment 181499 [details]
More Information page in Hungarian

SUMMARY
When performing a system upgrade and going to the "More Information..." page, the "System upgrade" title in languages with longer words (such as Hungarian) the title wraps incorrectly, even though it has a lot of empty space next to it.

STEPS TO REPRODUCE
1. Set language to Hungarian
2. Update the repositories and wait for a system upgrade
3. Go to the "More Information..." page to see upgrade details

OBSERVED RESULT
Useless wrapping of the title

EXPECTED RESULT
No wrapping

SOFTWARE/OS VERSIONS
Discover: 6.3.90
KDE neon Unstable Edition (Wayland)
KDE Frameworks: 6.15.0
Qt: Using 6.9.0 and built against 6.9.0
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.11.0-25-generic
Comment 1 Tamás Králl 2025-05-19 09:23:11 UTC
Created attachment 181500 [details]
More Information page in English
Comment 2 Nate Graham 2025-05-19 22:58:54 UTC
Can confirm. I'll see if I can fix it.
Comment 3 Bug Janitor Service 2025-05-20 00:26:02 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/1092
Comment 4 Nate Graham 2025-05-20 13:19:10 UTC
Git commit f808988e2ab57b95fb2ffe9b53cfc2b29f92ee8a by Nate Graham.
Committed on 20/05/2025 at 13:00.
Pushed by ngraham into branch 'master'.

ApplicationPage: allow offline update header to take up enough space

We were only setting a maximum width here, which allowed wrapping to
work properly. But we weren't actually filling that width, so the layout
didn't get big enough when it had very long text.
FIXED-IN: 6.4.0

M  +1    -1    discover/qml/ApplicationPage.qml

https://invent.kde.org/plasma/discover/-/commit/f808988e2ab57b95fb2ffe9b53cfc2b29f92ee8a
Comment 5 Nate Graham 2025-05-20 13:19:35 UTC
Git commit 5627e8c22a643b0b42b2eaa2f316616f1e988bd6 by Nate Graham.
Committed on 20/05/2025 at 13:19.
Pushed by ngraham into branch 'Plasma/6.4'.

ApplicationPage: allow offline update header to take up enough space

We were only setting a maximum width here, which allowed wrapping to
work properly. But we weren't actually filling that width, so the layout
didn't get big enough when it had very long text.
FIXED-IN: 6.4.0


(cherry picked from commit f808988e2ab57b95fb2ffe9b53cfc2b29f92ee8a)

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

M  +1    -1    discover/qml/ApplicationPage.qml

https://invent.kde.org/plasma/discover/-/commit/5627e8c22a643b0b42b2eaa2f316616f1e988bd6