Bug 477843 - Some headings may extend beyond their boundaries
Summary: Some headings may extend beyond their boundaries
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.90.0
Platform: Neon Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-12-01 15:49 UTC by Жора Змейкин
Modified: 2023-12-04 15:13 UTC (History)
1 user (show)

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


Attachments
Demonstration (159.79 KB, image/png)
2023-12-01 15:49 UTC, Жора Змейкин
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Жора Змейкин 2023-12-01 15:49:30 UTC
Created attachment 163706 [details]
Demonstration

I noticed that in the Russian localization some parameter headers can go out of bounds.

STEPS TO REPRODUCE
1. Run in terminal: "LANG=ru_RU.UTF-8 systemsettings" (you may need to generate Russian locales)
2. Scroll down a bit and you'll see the text hitting the scroll bar.

OBSERVED RESULT
Text overlaps the scroll bar

EXPECTED RESULT
The text should have either been moved to a new line, or you need to increase the width of the left column to make the text fit normally.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon Unstable, Wayland.
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.0

ADDITIONAL INFORMATION
Attached a screenshot where you can see everything
Comment 1 Nate Graham 2023-12-01 18:55:46 UTC
Oh dear!
Comment 2 Bug Janitor Service 2023-12-01 18:56:58 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/1402
Comment 3 Nate Graham 2023-12-04 15:13:02 UTC
Git commit 37acc54b270fd2942a6e939e08f64df418e44a8b by Nate Graham.
Committed on 04/12/2023 at 16:07.
Pushed by ngraham into branch 'master'.

Don't let ListSectionHeader text overflow

The intention of this code was to impose a maximum width on the label
(via Layout.fillWidth: true) when it would overflow and the separator
isn't visible, but it didn't work. Let's fix it.

M  +1    -1    src/controls/ListSectionHeader.qml

https://invent.kde.org/frameworks/kirigami/-/commit/37acc54b270fd2942a6e939e08f64df418e44a8b