Bug 492451 - Content in edit command dialog is cut off
Summary: Content in edit command dialog is cut off
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keys (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-08-31 10:15 UTC by Nicolas Fella
Modified: 2024-09-04 03:50 UTC (History)
4 users (show)

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


Attachments
Screenshot (321.34 KB, image/png)
2024-08-31 10:15 UTC, Nicolas Fella
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Fella 2024-08-31 10:15:30 UTC
Created attachment 173163 [details]
Screenshot

STEPS TO REPRODUCE
1. Open System Setting at its default size, in German 
2. Go to shortcuts KCM
3. Edit a command entry

OBSERVED RESULT
Stuff is cut off at the right, see screenshot

EXPECTED RESULT
it looks nice

SOFTWARE/OS VERSIONS
KDE Plasma Version: master
KDE Frameworks Version: master
Qt Version: 6.8

ADDITIONAL INFORMATION
Comment 1 duha.bugs 2024-08-31 11:16:44 UTC
Seems like a more recent regression. I can reproduce with master but not with 6.1
Comment 2 Nate Graham 2024-09-04 03:48:55 UTC
Looks like a bug in the latest implementation of the dialog; will fix.
Comment 3 Nate Graham 2024-09-04 03:50:56 UTC
Git commit feb2f2803ea4d7c9e0f8aa0ceb1478ab42c91b87 by Nate Graham.
Committed on 04/09/2024 at 03:49.
Pushed by ngraham into branch 'master'.

kcms/keys: fix script dialog sizing and label wrapping behavior

The dialog had a hardcoded width and a label with no width and wrap mode
set, which together are a recipe for sadness.

Set the label up for word-wrapping if needed, and remove the hardcoded
dialog size which turns out to be unnecessary anyway.
FIXED-IN: 6.2.0

M  +2    -2    kcms/keys/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/feb2f2803ea4d7c9e0f8aa0ceb1478ab42c91b87