Bug 167556

Summary: battery applet fails to display the charge percentage when first hovered
Product: [Plasma] plasma4 Reporter: Ambroz Bizjak <ambrop7>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: fix

Description Ambroz Bizjak 2008-07-28 01:01:12 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

When first hovering over the battery monitor, the charge percentage label fails to appear. It appears successfully on every subsequent hover.
Comment 1 Ambroz Bizjak 2008-07-28 01:03:22 UTC
Created attachment 26444 [details]
fix

This fixes it by defaulting m_fadeIn to false. The issue was that when
showLabel(true) was first called, m_fadeIn was already true so it didn't start
the animation.
Comment 2 Aaron J. Seigo 2008-07-28 01:24:01 UTC
SVN commit 838489 by aseigo:

fix first fade in. patch by ambro; thanks! =)

BUG:167556


 M  +1 -1      battery.cpp  


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