| Summary: | when selecting different tasks some of them reset their time | ||
|---|---|---|---|
| Product: | [Applications] ktimer | Reporter: | gabrielz1230 |
| Component: | general | Assignee: | A. Spehr <zahl> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | p.r.worrall |
| Priority: | NOR | ||
| Version First Reported In: | 23.04.2 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/utilities/ktimer/-/commit/25425c9d5a32422c9fa83805b185fa929be42db0 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
gabrielz1230
2023-06-27 23:21:50 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/ktimer/-/merge_requests/9 Git commit 25425c9d5a32422c9fa83805b185fa929be42db0 by Carl Schwan, on behalf of Paul Worrall. Committed on 08/08/2023 at 11:41. Pushed by cullmann into branch 'master'. Prevent timer value resets when selecting jobs on UI When the user selects a job from the list, the slider's setMaximum function is called after its valueChanged signal has been connected to the job's setValue method. setMaximum can change the slider's value to be within the new range thus causing it to emit the valueChanged signal and so setting the job's value to it's maximum. This change moves the setMaximum call (and a bunch of other value setting calls) to before the signals are connected up. M +8 -8 ktimer.cpp https://invent.kde.org/utilities/ktimer/-/commit/25425c9d5a32422c9fa83805b185fa929be42db0 |