Bug 505337

Summary: Configuration dialog shows checkbox label under scrollbar
Product: [Plasma] plasmashell Reporter: Alexander Potashev <aspotashev>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: cwo.kde, kde, kdedev, nate, qydwhotmail
Priority: NOR    
Version First Reported In: 6.3.4   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot ru_RU

Description Alexander Potashev 2025-06-08 11:03:41 UTC
Created attachment 182093 [details]
screenshot ru_RU

SUMMARY
Configuration dialog shows checkbox label under scrollbar. Text continues under scrollbar.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 David Edmundson 2025-06-09 13:06:52 UTC
Can't argue with a screenshot. Confirmed.

It implies the Text element has neither wrap nor elide.
Comment 2 cwo 2025-06-09 17:20:48 UTC
(In reply to David Edmundson from comment #1)
> It implies the Text element has neither wrap nor elide.

qqc2-desktop-style's checkbox has both wrap and elide, but FormLayout doesn't seem to set the correct width here, so neither wrap nor elide are triggered.
Comment 3 Nate Graham 2025-06-09 20:48:49 UTC
Ultimately we need to set `Layout.fillWidth: true` or `Layout.maximumWidth: [something]` on every textual label, checkbox, or radio button that's in a FormLayout, to account for this exact situation.

I suppose FormLayout itself could also try to do something like that, but it might be more fragile. I'll let other folks make the call about that.