Bug 323530 - new battery wigdet in 4.11 is not wide enough for German translation
Summary: new battery wigdet in 4.11 is not wide enough for German translation
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-battery (show other bugs)
Version: 4.11.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-15 06:26 UTC by m.wege
Modified: 2013-08-15 20:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.1


Attachments
Screenshot (12.00 KB, image/png)
2013-08-15 14:25 UTC, m.wege
Details

Note You need to log in before you can comment on or make changes to this bug.
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