Summary: | Unable to enter password in sddm wayland | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | daron439 |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | grave | CC: | fanzhuyifan, nate, vlad.zahorodnii |
Priority: | NOR | Keywords: | qt6 |
Version First Reported In: | 5.27.80 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/layer-shell-qt/-/commit/3c116e75508c717785f43831a3a9273a98ebdae7 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
systemd logs
journal log without GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell journal log on neon without GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell backtrace of sddm |
Description
daron439
2023-11-19 21:31:16 UTC
*When using weston as the Wayland compositor for sddm everything works fine. Created attachment 163330 [details]
systemd logs
Can confirm with the exact same setup, when using kwin_wayland as the wayland compositor, I cannot enter the password. The mouse still works. This problem does not occur when using the default weston compositor.
The logs are generated by setting QT_LOGGING_RULES=*.debug=true.
Can you try removing "GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell"? Created attachment 163530 [details] journal log without GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell (In reply to Vlad Zahorodnii from comment #3) > Can you try removing > "GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell"? See black screen with cursor. The cursor can be moved. Complete sddm configuration: [General] DisplayServer=wayland [Wayland] CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 sddm commit: 132f105 kwin commit: 99ff31d3a Created attachment 163532 [details]
journal log on neon without GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell
Tried the same config as in previous comment on neon unstable.
Could only see a blinking cursor on a black screen. Does not see mouse.
Previous comment was on arch linux with source builds of kde software.
Huh sddm-greeter crashes... Created attachment 163533 [details] backtrace of sddm (In reply to Vlad Zahorodnii from comment #6) > Huh sddm-greeter crashes... Backtrace of sddm-greeter, if that helps... Obtained using `coredumpctl gdb pid`, and then running `thread apply all backtrace full` and plain `bt` (In reply to fanzhuyifan from comment #7) > Created attachment 163533 [details] > backtrace of sddm > > (In reply to Vlad Zahorodnii from comment #6) > > Huh sddm-greeter crashes... > > Backtrace of sddm-greeter, if that helps... > > Obtained using `coredumpctl gdb pid`, and then running `thread apply all > backtrace full` and plain `bt` Humm it seems I need to obtain debug symbols for sddm-greeter separately. Let me check how to do that (In reply to Vlad Zahorodnii from comment #6) > Huh sddm-greeter crashes... So should I report this over at the sddm github? A possibly relevant merge request was started @ https://invent.kde.org/plasma/layer-shell-qt/-/merge_requests/48 (In reply to fanzhuyifan from comment #9) > (In reply to Vlad Zahorodnii from comment #6) > > Huh sddm-greeter crashes... > > So should I report this over at the sddm github? Not yet.. We would need to figure out why qtwayland fails to initialize when using xdg-shell. However, in meanwhile, I created a MR to revert a layer-shell-qt change so layer shell windows get keyboard input by default. (In reply to Vlad Zahorodnii from comment #11) > However, in meanwhile, I created a MR to revert a > layer-shell-qt change so layer shell windows get keyboard input by default. Can verify the MR fixes the issue for me. Thanks! Git commit 3c116e75508c717785f43831a3a9273a98ebdae7 by Vlad Zahorodnii. Committed on 30/11/2023 at 11:06. Pushed by vladz into branch 'master'. Revert "Change default keyboard interactivity from exclusive to none" This reverts commit be6378388894f2fa6bd01a2711a5b0c2053809ac. It broke keyboard input in sddm greeter. While defaulting to a non-spec value is not great, it's also not that critical. It might be worth considering synchronizing Qt::WindowDoesNotAcceptFocus with the keyboard interactivity flag, but the tricky part is that the keyboard interactivty is not just a boolean. M +1 -1 src/interfaces/window.cpp https://invent.kde.org/plasma/layer-shell-qt/-/commit/3c116e75508c717785f43831a3a9273a98ebdae7 |