Bug 470365

Summary: Timer counts down too fast
Product: [Plasma] kdeplasma-addons Reporter: Jim+kde
Component: timerAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: nate, qydwhotmail
Priority: NOR    
Version: 5.27.2   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=419421
Latest Commit: Version Fixed In: 6.0
Attachments: Video of the timer counting down too quickly

Description Jim+kde 2023-05-28 13:40:11 UTC
Created attachment 159293 [details]
Video of the timer counting down too quickly

SUMMARY
The timer does not keep time with the system clock, and counts down much too quickly

STEPS TO REPRODUCE
1. Add a new timer widget to the panel
2. Start a timer

OBSERVED RESULT
The timer counts down approximately 2.5 seconds per second.

EXPECTED RESULT
The timer should count down exactly 1 second per second.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian 12 / Linux 6.1.0-7-amd64 (64-bit)
(available in About System)
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Please see attached video for proof.
Comment 1 Fushan Wen 2023-05-28 14:03:30 UTC
Are you using Nvidia?
Comment 2 Jim+kde 2023-05-28 14:53:30 UTC
I'm not using Nvidia; my CPU is a AMD Ryzen 7 3800X and the GPU is a AMD Radeon R9 380. I'm using the amdgpu graphics driver.
Comment 3 Nate Graham 2023-05-31 14:17:54 UTC
Out of curiosity are you using a 144hz refresh screen? If so, this is Bug 419421, which is fixed in Plasma 6. See the bug report for a workaround on Plasma 5.
Comment 4 Jim+kde 2023-06-01 09:29:06 UTC
(In reply to Nate Graham from comment #3)
> Out of curiosity are you using a 144hz refresh screen? If so, this is Bug
> 419421, which is fixed in Plasma 6. See the bug report for a workaround on
> Plasma 5.

I don't think so; I have three monitors, which are all running at 60Hz (although one of them has a 75Hz option).
Comment 5 Nate Graham 2023-06-02 17:30:32 UTC
Ok, thanks.

Is it only the Timer widget, or do other times things in Plasma exhibit the same issue? For example do notifications time out 2.5x as fast?
Comment 6 Jim+kde 2023-06-02 21:57:39 UTC
(In reply to Nate Graham from comment #5)
> Ok, thanks.
> 
> Is it only the Timer widget, or do other times things in Plasma exhibit the
> same issue? For example do notifications time out 2.5x as fast?

Now that you mention it, I've just checked the settings and it seems that notifications do time out much too quickly as well - I tested by setting the notification timeout to 20 seconds, made a notification appear, and it timed out in about 8 seconds.

I also tried changing the Plasma animation speed to the slowest setting to rule it out but it had no effect.

I've also noticed that the issue is a slightly inconsistent - I've seen the timer work correctly once or twice, I think (?) shortly after starting my computer. It inevitably starts misbehaving at some point during the day, and then never works again until a restart, and usually not even then.
Comment 7 Nate Graham 2023-06-06 15:50:59 UTC
Ok, then it does sound like you're experiencing the same symptoms as Bug 419421, despite not having the same triggering hardware. Nonetheless, the Qt6 fix should work for you as well.