Index | Thread | Search

From:
Rafael Sadowski <rafael@sizeofvoid.org>
Subject:
Re: KDE Plasma clock not updating
To:
Mark Kane <mark@kane.mn>
Cc:
ports@openbsd.org
Date:
Thu, 9 Apr 2026 20:51:34 +0200

Download raw body.

Thread
On Wed Apr 08, 2026 at 04:43:38PM -0500, Mark Kane wrote:
> Hi,
> 
> On recent snapshots (sorry, not sure exactly when it started) the clock in
> various parts of KDE Plasma appears hung and does not update the date/time
> along with the system clock.
> 
> Panel widgets such as "Digital Clock" and "Analog Clock" are stuck at the
> date/time that KDE started and do not tick forward. If a change is made to
> Digital Clock settings that would update the time display such as "Show
> seconds", the panel widget does update once with the correct time at the
> exact moment of the change but doesn't update again unless another setting
> change is made.
> 
> When locking a KDE session, the clock on the lock screen hangs at the moment
> it was locked and does not move forward. Unlocking and re-locking updates
> the lock screen clock each time to the correct time at the moment it was
> locked.
> 
> I enabled logging per the kde-plasma pkg-readme and there are no errors
> output there. Same result when testing digitalclock with
> plasmawindowed/plasmoidviewer.
> 
> This is reproducible on a clean 7.9-beta amd64 snap install from April 7
> with the latest packages from April 4 as well as a machine that has been
> upgraded from previous snaps.
> 
> Thanks,
> 
> -Mark
> OpenBSD 7.9-beta (GENERIC.MP) #407: Wed Apr  8 10:21:00 MDT 2026
>     deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 

Thanks for the report! Unfortunately, I'm aware of this, but I
only realised it too late, as I don't want to go back to KDE 6.5.

The problem: In version 6.6, Plasma Workspace introduced libclock;
this implementation is based entirely on sys/timerfd.h. I
commented out that functionality back then:

x11/kde-plasma/plasma-workspace/patches/patch-libclock_alignedtimer_cpp

https://invent.kde.org/plasma/plasma-workspace/-/blob/master/libclock/alignedtimer.cpp?ref_type=heads

Anyway, I've been working on a solution for a while now, but life
got in the way!

This error is not related to the latest pledge changes.

This is my top priority; if I haven't found a solution until 7.9,
it will be released as a stable patch.