| Summary: | Seconds skip or update irregularly at minute change | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Timothy B <yule2000> |
| Component: | Digital Clock widget | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugs.kde.org, nate, yule2000 |
| Priority: | NOR | ||
| Version First Reported In: | 5.21.4 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Manjaro | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=392476 | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/788f52fc9f33dd3e38112815deeb27886ce69d93 | Version Fixed/Implemented In: | 6.6.0 |
| Sentry Crash Report: | |||
| Attachments: | Screen recording of digital clock widget showing :00 very briefly compared to other seconds | ||
|
Description
Timothy B
2021-05-08 20:31:56 UTC
Git commit dbdae689ff82f88e1ab424646714d13f85f77033 by Fushan Wen. Committed on 04/03/2022 at 16:37. Pushed by fusionfuture into branch 'master'. applets/digital-clock: Fix `Qt.formatDateTime` returns different date when minute changes `Qt.formatDateTime` uses `MM` instead of `mm` to represent month number. FIXED-IN: 5.24.3 M +1 -1 applets/digital-clock/package/contents/ui/DigitalClock.qml https://invent.kde.org/plasma/plasma-workspace/commit/dbdae689ff82f88e1ab424646714d13f85f77033 Git commit 788f52fc9f33dd3e38112815deeb27886ce69d93 by Fushan Wen. Committed on 04/03/2022 at 16:38. Pushed by fusionfuture into branch 'Plasma/5.24'. applets/digital-clock: Fix `Qt.formatDateTime` returns different date when minute changes `Qt.formatDateTime` uses `MM` instead of `mm` to represent month number. FIXED-IN: 5.24.3 (cherry picked from commit dbdae689ff82f88e1ab424646714d13f85f77033) M +1 -1 applets/digital-clock/package/contents/ui/DigitalClock.qml https://invent.kde.org/plasma/plasma-workspace/commit/788f52fc9f33dd3e38112815deeb27886ce69d93 Created attachment 147635 [details]
Screen recording of digital clock widget showing :00 very briefly compared to other seconds
I'm happy to see that this bug was partially fixed in Plasma 5.24.3. However, I've reopened this ticket because I was still able to reproduce the original reported behavior when clock widgets in plasmashell are lagging around a second behind, but only when the minute changes. It usually occurs when plasmashell starts for the first time after I log into a new session. I had to restart plasmashell multiple times to minimize that lag, and the aforementioned second skipping effect wouldn't come back as long as the delay is about half a second or less.
I've included a more precise clock in the Yakuake window on the attached video for reference between the two clocks. I used `tty-clock -scDd 0 -a 10000000` on the terminal to bring the terminal clock's precision within 1/100 of a second. Since I use Manjaro, which is Arch-based, tty-clock is only available in the AUR.
This behavior still occurs as of Plasma 5.25.4, especially after waking up the monitor from sleep. See bug #392476 comment #3 for details. I'm still able to reproduce this in Plasma 5.27.9 in Manjaro as well as in the latest unstable ISO image of KDE Neon with Plasma 6 alpha. The underlying data engine providing this information has been replaced with a more robust library in the upcoming Plasma 6.6 release. This is highly likely to fix the issue. However feel free to re-open the bug report if you upgrade to Plasma 6.6 in four months and find that the issue is still present. Thanks a lot! |