Bug 508133

Summary: kclock crash on start
Product: [Applications] KClock Reporter: alanas.00
Component: GeneralAssignee: Devin Lin <espidev>
Status: RESOLVED FIXED    
Severity: crash CC: hanyoung, kde, nicolas.fella
Priority: NOR Keywords: X11-only
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: crash bracktrace (gdb)

Description alanas.00 2025-08-11 20:49:04 UTC
Created attachment 183967 [details]
crash bracktrace (gdb)

STEPS TO REPRODUCE
1. run kclock

OBSERVED RESULT
Failed to create wl_display (No such file or directory)
The xdg-shell protocol is unsupported by the compositor

Thread 1 "kclock" received signal SIGABRT, Aborted.

EXPECTED RESULT
kclock window appears and no crash

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.1
Kernel Version: 6.14.0-27-generic (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
first bad commit is https://invent.kde.org/utilities/kclock/-/commit/18bc2ae27e6508d29d5faf3b5718d7ba13aa5381 (backtrace is with this commit)
Comment 1 Kai Uwe Broulik 2025-08-12 05:11:25 UTC
Ah, lol, I guess I never tested this on x11
Comment 2 Kai Uwe Broulik 2025-08-12 05:28:38 UTC
https://invent.kde.org/utilities/kclock/-/merge_requests/224 for crashfix
https://invent.kde.org/utilities/kclock/-/merge_requests/225 for supporting it properly

Sorry about that
Comment 3 Kai Uwe Broulik 2025-08-13 06:44:22 UTC
Git commit 7f4ab6c6517cd2c3c7e392c630509a6d38f67b5c by Kai Uwe Broulik.
Committed on 12/08/2025 at 17:20.
Pushed by broulik into branch 'master'.

Support PIP under X11

M  +10   -4    src/kclock/pipwindow.cpp

https://invent.kde.org/utilities/kclock/-/commit/7f4ab6c6517cd2c3c7e392c630509a6d38f67b5c