Bug 251520 - Plasma::Meter::minimumSize() = QSizeF(0, 0) for Plasma::Meter::BarMeterHorizontal
Summary: Plasma::Meter::minimumSize() = QSizeF(0, 0) for Plasma::Meter::BarMeterHorizo...
Status: RESOLVED NOT A BUG
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-17 00:11 UTC by Andreas Fink
Modified: 2010-09-17 20:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Test applet with 10 labels and 5 meters in a vertical layout (2.09 KB, application/x-bzip-compressed-tar)
2010-09-17 00:15 UTC, Andreas Fink
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Fink 2010-09-17 00:11:28 UTC
Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

The minimuSize for a horizontal BarMeter is (0,0) which is quite annoying because you need to resize the attached plasma applet to see the meters at all (in the beginning the applet is too small, so all meters have as size (0,0))
A minimumSize() > (0, 0) would be nice (just as it was with kde-4.4). At least a minimum size where you can see the labels and the meter value itself.
Or was there a design issue to set the minimumSize in kde-4.5 to (0,0)?


Reproducible: Always

Steps to Reproduce:
1. Download attached test applet
2. Build and install test applet
3. Put test applet on the desktop
4. Resize it to see the meters

Actual Results:  
Meters are not visible in the beginning

Expected Results:  
Meters should be visible (and if we assign labels, they should not overlap the value scale)
Comment 1 Andreas Fink 2010-09-17 00:15:06 UTC
Created attachment 51735 [details]
Test applet with 10 labels and 5 meters in a vertical layout
Comment 2 Aaron J. Seigo 2010-09-17 20:05:58 UTC
this is a very awkward place to have development discussions. plasma-devel@kde.org is the preferred location (and if needed we can open bug reports based on the threads there).

that said, minimumSize of zero is probably fine (though perhaps with labels it should be the size of the label?) as long as preferredSize is set properly.

in any case, let's take this to plasma-devel@kde.org.