Bug 504513 - "System upgrade" text wraps with languages that have long words
Summary: "System upgrade" text wraps with languages that have long words
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: 6.3.90
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-19 09:22 UTC by Tamás Králl
Modified: 2025-05-20 13:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.4.0
Sentry Crash Report:


Attachments
More Information page in Hungarian (143.96 KB, image/png)
2025-05-19 09:22 UTC, Tamás Králl
Details
More Information page in English (151.22 KB, image/png)
2025-05-19 09:23 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-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