Created attachment 113927 [details]
Timer Pause/Resume Opacity Example
Plasma's Timer widget uses a fade-in/fade-out animation of the displayed countdown to denote when it is currently paused. However, if a user attempts to resume or reset the timer, the current fade-in/fade-out is maintained.
This can sometimes lead to situations with the countdown being much harder to see, as indicated in the attached video. Instead of the current situation, the timer numbers should instead return to their original opacity levels when it is resumed or reset, keeping the numbers visible to users.
Git commit 28fe01674f6c9a7fd644f9a753665f52d3188eaf by Peter Mühlenpfordt.
Committed on 09/08/2018 at 13:38.
Pushed by muhlenpfordt into branch 'master'.
[Timer applet] Reset opacity on timer start and reset
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.
* 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%
Reviewers: #plasma, davidedmundson
Reviewed By: #plasma, davidedmundson
Differential Revision: https://phabricator.kde.org/D14701
M +2 -1 applets/timer/package/contents/ui/main.qml