Bug 167556 - battery applet fails to display the charge percentage when first hovered
Summary: battery applet fails to display the charge percentage when first hovered
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-28 01:01 UTC by Ambroz Bizjak
Modified: 2008-07-28 01:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
fix (445 bytes, patch)
2008-07-28 01:03 UTC, Ambroz Bizjak
Details

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