Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 28fe0167 authored by Peter Mühlenpfordt's avatar Peter Mühlenpfordt

[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.

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%

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 68afd989
......@@ -143,7 +143,7 @@ Item {
function startTimer() {
running = true;
suspended = false;
// timerDigits.opacity = 1.0;
......@@ -157,6 +157,7 @@ Item {
running = false;
suspended = false;
seconds = 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment