dnkl/foot
41
2.0k
Fork
You've already forked foot
243

Switching locale sometimes is not working with fcitx5 (5.1.17) + KDE Plasma (6.5.5) #2279

Open
opened 2026年02月15日 05:01:01 +01:00 by stalkerg · 4 comments

Foot Version

1.25

TERM environment variable

xterm-256color

Compositor Name and Version

KWin (6.5.5)

Distribution

Gentoo and CachyOS (ArchLinux)

Terminal multiplexer

tmux

Shell, TUI, application

bash, codex, cloude

Server/standalone mode

  • Standalone
  • Server

Foot config

empty, just font size

Description of Bug and Steps to Reproduce

During work, switching locales stops working; at the same time, the locale indicator switches. It stuck on English locally only and never stuck on other locales. I usually use ctrl-space to switch, but I can also use CapsLock, but it's not different.
I can restore it to normal only if I manually change the locale in the KDE system tray dropdown menu.
Everything is fine with Konsole and other applications.
It can work fine for 10 minutes before it starts to stick. I think it's difficult to reproduce.

WAYLAND_DEBUG=1 foot -d info 2> foot.wayland.log

I didn't do Wayland logging yet, I will try to do it soon.

Relevant logs, stacktraces, etc.

No response

### Foot Version 1.25 ### TERM environment variable xterm-256color ### Compositor Name and Version KWin (6.5.5) ### Distribution Gentoo and CachyOS (ArchLinux) ### Terminal multiplexer tmux ### Shell, TUI, application bash, codex, cloude ### Server/standalone mode - [x] Standalone - [ ] Server ### Foot config ```ini empty, just font size ``` ### Description of Bug and Steps to Reproduce During work, switching locales stops working; at the same time, the locale indicator switches. It stuck on English locally only and never stuck on other locales. I usually use `ctrl-space` to switch, but I can also use CapsLock, but it's not different. I can restore it to normal only if I manually change the locale in the KDE system tray dropdown menu. Everything is fine with Konsole and other applications. It can work fine for 10 minutes before it starts to stick. I think it's difficult to reproduce. > WAYLAND_DEBUG=1 foot -d info 2> foot.wayland.log I didn't do Wayland logging yet, I will try to do it soon. ### Relevant logs, stacktraces, etc. _No response_

Okey, I have the logs now. At the beginning of this log, the locale switch didn't work, but at the end, it started working again.

Okey, I have the logs now. At the beginning of this log, the locale switch didn't work, but at the end, it started working again.

I did a few more tests - it seems like the foot lost the zwp_text_input_v3 "connection" and just uses English as a fallback.
I can change locale by fcitx5-remote -t and I can confirm it by fcitx5-remote -n but it's not affect to foot, also I didn't see zwp_text_input_v3.commit_string() and see only wl_keyboard.key() during this time.

I did a few more tests - it seems like the foot lost the zwp_text_input_v3 "connection" and just uses English as a fallback. I can change locale by `fcitx5-remote -t` and I can confirm it by `fcitx5-remote -n` but it's not affect to foot, also I didn't see `zwp_text_input_v3.commit_string()` and see only `wl_keyboard.key()` during this time.

Seems like it's this issue https://bugs.kde.org/show_bug.cgi?id=493098 but I don't understand why it's not a case for konsole?

Seems like it's this issue https://bugs.kde.org/show_bug.cgi?id=493098 but I don't understand why it's not a case for konsole?

Okey, seems like I figured out what happened. It's how switching workspaces works in the context of IME.
I will provide PR.

Okey, seems like I figured out what happened. It's how switching workspaces works in the context of IME. I will provide PR.
Sign in to join this conversation.
No Branch/Tag specified
master
osc-5522
sixel-heap-buffer-overflow
releases/1.27
releases/1.26
releases/1.25
releases/1.24
multi-cursor
releases/1.23
pixman-16f-2
releases/1.22
releases/1.21
releases/1.20
releases/1.19
releases/1.18
releases/1.17
releases/1.16
releases/1.15
releases/1.14
releases/1.13
releases/1.12
releases/1.11
releases/1.10
releases/1.9
releases/1.8
releases/1.7
releases/1.6
releases/1.5
releases/1.4
releases/1.3
releases/1.2
releases/1.1
releases/1.0
1.27.0
1.26.1
1.26.0
1.25.0
1.24.0
1.23.1
1.23.0
1.22.3
1.22.2
1.22.1
1.22.0
1.21.0
1.20.2
1.20.1
1.20.0
1.19.0
1.18.1
1.18.0
1.17.2
1.17.1
1.17.0
1.16.2
1.16.1
1.16.0
1.15.3
1.15.2
1.15.1
1.15.0
1.14.0
1.13.1
1.13.0
1.12.1
1.12.0
1.11.0
1.10.3
1.10.2
1.10.1
1.10.0
1.9.2
1.9.1
1.9.0
1.8.2
1.8.1
1.8.0
1.7.2
1.7.1
1.7.0
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.0
1.2.3
1.2.2
1.2.1
1.2.0
1.1.0
1.0.0
0.9.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dnkl/foot#2279
Reference in a new issue
dnkl/foot
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?