Repository navigation
Conversation
xcb.conf already disables XKB overriding for the X11 addon, but the Wayland addon had no counterpart. When fcitx5 builds its default profile it sees XWayland's `us` next to the system layout, ends up with two groups, and tries to hand the layout to the compositor. Hyprland does not support that, so every start of omarchy-fcitx5.service raised the "Wayland Diagnose" notification. Shipping the same setting for the Wayland addon stops the attempt at its source while keeping fcitx5's other notifications intact. Fixes omacom#10474 Co-Authored-By: Claude Fable 5.1 <[email protected]>
config/** only seeds /etc/skel, so without a migration the new conf/wayland.conf reaches new users only, and existing installs like the reporter's in omacom#10474 keep raising the notification. Copy it into ~/.config/fcitx5/conf/ when the user has none, and leave one they wrote alone. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Thanks for tracking this to its cause. The fix works, and I pushed one commit to it so it also reaches existing installs. What was checked. fcitx5 5.1.22's
Pushed: 5132534 adds Tests on the worker. Second opinion: none. The second reviewer (Codex Medium) was reachable, but today's review budget was used up, so this was reviewed by one model only (Claude Opus 5.5). Related. #10578 targets the same notification by disabling fcitx5's Next. It still needs a second-opinion review at this head, then the maintainer's decision. |
|
|
Thank you for this. What it does is now on
This was checked against |
Summary
Fixes #10474. Replaces #11446, which was opened from the wrong account.
config/fcitx5/conf/xcb.confalready shipsAllow Overriding System XKB Settings=Falsefor the X11 addon, but the Wayland addon has no counterpart, so it still runs with the override enabled. This addsconfig/fcitx5/conf/wayland.confwith the same single line.Why this is the cause
Measured on two Omarchy 4.0.3 (quattro, stable) machines with fcitx5 5.1.22, Hyprland 0.56.2 and a single German system layout:
hyprctl devicesandlocalectlreportde, but XWayland reportsus(DISPLAY=:0 setxkbmap -query) on both machines.~/.config/fcitx5/profile, fcitx5 reads both and builds two groups on first start (fcitx5 --verbose '*=5'):Allow Overriding System XKB Settings(described inlibwayland.soas "Only support KDE5+ and GNOME"). On Hyprland the attempt raises the "Wayland Diagnose — Sending keyboard layout configuration to wayland compositor from Fcitx is not yet supported on current desktop" notification from the issue.Evidence
dbus-monitor "interface='org.freedesktop.Notifications',member='Notify'"while deleting the profile and restartingomarchy-fcitx5.service:conf/wayland.confconf/wayland.confCross-checked in both directions.
Relation to #10578
#10578 disables the whole
notificationsaddon, which hides this message but also every other fcitx5 notification. This change stops the layout push itself and leaves the notification channel alone. Both can coexist; this one addresses the cause.Test plan
bash test/shell.d/config-test.sh: all shell.json checks pass; the run stops at the omarchy-pkgs PKGBUILD coverage check because no omarchy-pkgs checkout is present here~/.config/fcitx5/profile, restartomarchy-fcitx5.service,dbus-monitorshows 0 Notify calls🤖 Generated with Claude Code