Bug 249003 - Battery monitor widget does not display full list of power profiles in visible part of dropdown
Summary: Battery monitor widget does not display full list of power profiles in visibl...
Status: RESOLVED DUPLICATE of bug 219873
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-battery (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-25 16:00 UTC by Daniel Hahler
Modified: 2010-08-31 00:54 UTC (History)
3 users (show)

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


Attachments
Screenshot showing this problem (38.63 KB, image/png)
2010-08-26 22:36 UTC, Daniel Hahler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Hahler 2010-08-25 16:00:56 UTC
Version:           unspecified (using KDE 4.5.0) 
OS:                Linux

I am using the Battery Monitor widget to switch power profiles between Performance and Presentation, and since a while (maybe since the 4.5 series) it does not display the complete list of options in the dropdown anymore.

I work around this by selecting/opening the dropdown and pressing "End" then to get to the end of the list (which apparently is "Presentation").

I am attaching a screenshot, which illustrates this.

Reproducible: Always

Steps to Reproduce:
1. Add the Battery Monitor widget
2. Left-click it, "Power Management" settings come up
3. Click on the list of power profiles.
Comment 1 Aaron J. Seigo 2010-08-26 03:20:14 UTC
Sebas: well, back to the drawing board? :)

actually, i think what we can do here is take the code for Plasma::PushButton+menu in workspace/libs/plasmagenericshell/widgetexplorer/appletsfiltering.cpp (in particular FilteringTabs::mouseReleaseEvent, though in this case perhaps it would be better in mousePressEvent) and use that here as well. that will give a proper top-level menu.

Sebas: thoughts?
Comment 2 Sebastian Kügler 2010-08-26 12:11:25 UTC
@Daniel: Can you please attach the screenshot?
Comment 3 Daniel Hahler 2010-08-26 22:36:12 UTC
Created attachment 50988 [details]
Screenshot showing this problem
Comment 4 james tappin 2010-08-27 23:43:10 UTC
If it's any help in tracking down the issue, 4.3.x worked correctly, 4.4.x and 4.5.x show the truncated menu.
Comment 5 Christoph Feck 2010-08-31 00:54:11 UTC
The profile combo is moved above the slider in KDE SC 4.5.1. Still there is the issue when you have more than four profiles. If everything goes well, another workaround for that bug will land into release 4.5.2.

*** This bug has been marked as a duplicate of bug 219873 ***