| Summary: | Wrong progress in tray | ||
|---|---|---|---|
| Product: | [Applications] kteatime | Reporter: | Oleg Solovyov <mcpain> |
| Component: | general | Assignee: | Stefan Böhmann <kde> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/kteatime/c01da18a2aaf1d530a01001ee105375c746a104e | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Oleg Solovyov
2017-08-29 14:40:41 UTC
How to reproduce: 1. Specify any tea to the list with time = 1 hour 2. Start the timer 3. Look at progress meter in system tray. Revision: https://phabricator.kde.org/D9791 Git commit c01da18a2aaf1d530a01001ee105375c746a104e by Albert Astals Cid, on behalf of Oleg Solovyov. Committed on 15/03/2018 at 16:32. Pushed by aacid into branch 'master'. Fix progress in tray If m_runningTea.time() > 360*16 (> 1.6 hours) then 360*16.0 / m_runningTea.time() converts to zero (integer division) Hence, angleSpan is always 0 Differential Revision: https://phabricator.kde.org/D9791 M +1 -1 src/toplevel.cpp https://commits.kde.org/kteatime/c01da18a2aaf1d530a01001ee105375c746a104e |