[Powerdevil] [Bug 350676] Need to press key twice to decrease brightness

Weng Xuetian wengxt at gmail.com
Fri Sep 11 09:58:13 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=350676

--- Comment #7 from Weng Xuetian <wengxt at gmail.com> ---
Well, imho, such animation is more or less the standard behavior in real world
(Windows, Android, ...).

Though from reading our implementation there are definitely some issue here.

stop will not reset the progress, only when start() is called. Adjust the start
and end value will change the value since it will be recalculated. E.g when
stop is called the progress is 50%, the value will be adjusted after the range
is changed, so Qt implementation makes some sense here. But that's not we need.

disconnect the signal after stop() and reconnect before start() may work.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Plasma-devel mailing list