Bug 178116 - battery monitor shrinks batteries' xscale every time a battery is added
Summary: battery monitor shrinks batteries' xscale every time a battery is added
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-battery (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-19 00:08 UTC by matthias sweertvaegher
Modified: 2009-02-03 01:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot showing thin batteries after a few switches (10.42 KB, application/octet-stream)
2008-12-19 00:16 UTC, matthias sweertvaegher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matthias sweertvaegher 2008-12-19 00:08:45 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    SuSE RPMs

this bug is perfectly reproducable.

First, I added the battery monitor widget to my desktop. I have a laptop with 2 batteries, so it shows me 2 batteries like expected. Next, I unplug one battery. The battery monitor shows me only 1 battery at appropriate size. When I plug the battery back in, it again will show the batteries at appropriate size. So what's the problem?

Here is the trick:
- click the wrench to open battery monitor settings
- enable "show the percentage of charge on the battery"

suddenly the batteries start losing weight (=become thinner) when you unplug and plug them back in!
Even when disabling "show the percentage of charge on the battery", the effect remains.
Comment 1 matthias sweertvaegher 2008-12-19 00:16:58 UTC
Created attachment 29424 [details]
screenshot showing thin batteries after a few switches
Comment 2 Sebastian Kügler 2009-02-03 01:50:35 UTC
SVN commit 920485 by sebas:

Don't reconnect after config changes

There's no reason to do that because dataEngine connections are not
influenced by any config option.

BUG:178116
CCMAIL:matthias sweertvaegher <matthias.sweertvaegher@gmail.com>

 M  +0 -19     battery.cpp  
 M  +0 -1      battery.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=920485