Bug 323530

Summary: new battery wigdet in 4.11 is not wide enough for German translation
Product: [Plasma] plasma4 Reporter: m.wege
Component: widget-batteryAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kde
Priority: NOR    
Version: 4.11.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.11.1
Attachments: Screenshot

Description m.wege 2013-08-15 06:26:49 UTC
In KDE 4.11 there appears to be a new battery widget. The widget does not show the full length of the text "Energieverwaltung aktiviert" (energymanagement activated).

Reproducible: Always
Comment 1 Kai Uwe Broulik 2013-08-15 11:38:25 UTC
Can you post a screenshot and be more specific about where the text is shown?
Both the "Energieverwaltung aktivieren" text next to the checkbox as well as the tooltip "Energieverwaltung ist deaktiviert" fit perfectly here.
Comment 2 m.wege 2013-08-15 14:25:05 UTC
Created attachment 81724 [details]
Screenshot

Here you are.
Comment 3 Kai Uwe Broulik 2013-08-15 14:56:32 UTC
Thanks for the screenshot!

The minimum width is dynamic and is always 9 times the dialog icon size, which defaults to 32px but is rather small on your machine. Frankly, I only tested with *bigger* icon sizes (for high-res screens) but not smaller ones. 
So, we need an *absolute* minimum width which is - if I can access that property - the checkbox width including its label.
Comment 4 Kai Uwe Broulik 2013-08-15 20:33:05 UTC
Git commit 09c61a04b298952a0d378fd324c1ee77df46df69 by Kai Uwe Broulik.
Committed on 15/08/2013 at 20:32.
Pushed by broulik into branch 'KDE/4.11'.

Set the width of the "Enable Powermanagement" checkbox as absolute minimum width
FIXED-IN: 4.11.1

M  +2    -0    plasma/generic/applets/batterymonitor/contents/ui/PopupDialog.qml
M  +1    -0    plasma/generic/applets/batterymonitor/contents/ui/PowerManagementItem.qml
M  +1    -1    plasma/generic/applets/batterymonitor/contents/ui/batterymonitor.qml

http://commits.kde.org/kde-workspace/09c61a04b298952a0d378fd324c1ee77df46df69