[Timer applet] Reset opacity on timer start and reset
ClosedPublic

Authored by muhlenpfordt on Aug 9 2018, 8:26 AM.

Details

Summary

When the Timer plasmoid is paused an opacity animation is used to
signal this state. After resuming, restarting or resetting the timer
the current opacity value is not reset which leads to nearly
invisible and hard to read timer digits sometimes.
This patch sets the opacity to 100% on timer (re)start and reset.

BUG: 396497

Test Plan
  • Start Timer plasmoid with e.g. 5 minutes countdown
  • Pause Timer by click
  • When opacity is low
    • Resume by click or
    • Restart with predefined time or
    • Reset timer
  • Opacity of running timer should always reset to 100%

Diff Detail

Repository
R114 Plasma Addons
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
muhlenpfordt created this revision.Aug 9 2018, 8:26 AM
Restricted Application added a project: Plasma. · View Herald TranscriptAug 9 2018, 8:26 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
muhlenpfordt requested review of this revision.Aug 9 2018, 8:26 AM
davidedmundson accepted this revision.Aug 9 2018, 11:39 AM
This revision is now accepted and ready to land.Aug 9 2018, 11:39 AM

do you have commit access?

do you have commit access?

Yes, I'm able to commit.
Thanks for reviewing. :)

This revision was automatically updated to reflect the committed changes.