Bug 505552 - Pressing Ctrl+C on KDE Plasma Wayland logs out the user immediately (FreeBSD 14.3)
Summary: Pressing Ctrl+C on KDE Plasma Wayland logs out the user immediately (FreeBSD ...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 6.3.5
Platform: FreeBSD Ports FreeBSD
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2025-06-12 22:21 UTC by Chris
Modified: 2025-08-28 00:29 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris 2025-06-12 22:21:24 UTC
SUMMARY
On a fresh install of KDE Plasma 6.3.5 on FreeBSD 14.3-RELEASE, pressing Ctrl+C instantly logs the user out when running a Wayland session. This occurs regardless of which application has focus—even with no applications open. The screen briefly flashes a log message (too fast to read), and then returns to the SDDM login manager.

This issue is exclusive to Plasma Wayland. It does not occur:
 - On Plasma X11
 - In other Wayland compositors such as sway (tested on same machine)
 - With any specific app—it is global

STEPS TO REPRODUCE
1) Log in normally
2) Press Ctrl+C anywhere (terminal, empty desktop, browser, etc.)
3) Session terminates immediately

OBSERVED RESULT
Entire Wayland session crashes or exits to SDDM login screen.

EXPECTED RESULT
Ctrl+C sends SIGINT or copies selected text.

SOFTWARE/OS VERSIONS
KDE Plasma: 6.3.5
KDE Frameworks: 6.14.0
Qt: 6.8.3
OS: FreeBSD 14.3-RELEASE
Login Manager: SDDM 0.21.0 (Qt6 build)
Wayland compositor: kwin_wayland
Hardware: Lenovo Thinkpad X1 Carbon (gen6)

ADDITIONAL INFORMATION
This is the best desktop experience I’ve had on FreeBSD in terms of responsiveness, graphics, and function—except for this critical bug. Hoping this can be resolved so Plasma Wayland becomes a stable default option on FreeBSD.
Comment 1 Nate Graham 2025-06-13 15:07:28 UTC
Well that doesn't sound like it's supposed to happen. :) Without logs it's hard to be sure, but my first guess is that this triggers a Wayland protocol error that causes KWin to close.

Can you attach the output of `journalctl --user-unit plasma-kwin_wayland --boot 0`?
Comment 2 Bug Janitor Service 2025-06-28 03:47:43 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Chris 2025-07-06 22:23:16 UTC
Sorry for the delay. Trouble is, FreeBSD does not use systemd/journalctl so I'm not able to provide the logs as requested. I can try to provide different logs, but in my searching I haven't found much that is useful (but perhaps I'm not looking in the right place).

I have discussed the issue with a handful of other FreeBSD users and they can all reproduce the issue.

If you have any suggestions on alternate logs to review, let me know. Until then, I'm back on KDE on X11 and it's not nearly as functional as the Wayland edition, but this bug is too much of a showstopper to use.
Comment 4 Vlad Zahorodnii 2025-07-07 11:47:51 UTC
(In reply to Chris from comment #3)
> Sorry for the delay. Trouble is, FreeBSD does not use systemd/journalctl so
> I'm not able to provide the logs as requested. I can try to provide
> different logs, but in my searching I haven't found much that is useful (but
> perhaps I'm not looking in the right place).
> 
> I have discussed the issue with a handful of other FreeBSD users and they
> can all reproduce the issue.
> 
> If you have any suggestions on alternate logs to review, let me know. Until
> then, I'm back on KDE on X11 and it's not nearly as functional as the
> Wayland edition, but this bug is too much of a showstopper to use.

The problem is that none of us (kwin developers) have experience with FreeBSD. I asked FreeBSD developers for help regarding this issue.
Comment 5 Graham Perrin 2025-07-21 09:32:14 UTC
Maybe of interest: Peter Wemm's response to <https://mastodon.bsd.cafe/@grahamperrin/114888161580474815>.
Comment 6 Bug Janitor Service 2025-08-05 03:46:32 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Ryan 2025-08-19 20:53:52 UTC
(In reply to Chris from comment #0)
> The screen briefly flashes a log message (too fast to read), and then
> returns to the SDDM login manager.

I managed to capture a few frames of this on video, they were all of the form "hdac0: Command 0x20373100 timeout on address 2." This looks like lines from dmesg so I'm not sure if it is helpful, maybe there is an even quicker message that I haven't captured on frame yet. I also see some core dumps from baloo_file earlier in dmesg but again, probably not the culprit, this has been a longstanding issue for me even before the Ctrl+C bug.
Comment 8 Hunter 2025-08-28 00:25:51 UTC
It's not a KDE-specific issue. I have found that launching any Wayland sessions from SDDM in an environment that has no elogind or systemd-logind (such as my distro PCLinuxOS, CRUX, Venom, or FreeBSD in your case) will cause it to exhibit shell-like behavior where pressing Ctrl + C crashes the entire session. Using greetd works.
Comment 9 Nate Graham 2025-08-28 00:29:19 UTC
Sounds like an integration issue that the FreeBSD folks should know about!