Skip to content

[BUG] cannot type anything when using fcitx5 IME on Linux in chromium #109

@lovemilk2333

Description

@lovemilk2333

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Typing anything even in English mode (raw input) does no response, but I can type ASCII chars in FireFox.
And cannot type CJK (I use Chinese IME) in any browser on Linux except on Windows

These platforms can work:

  • FireFox 144.0 on Linux with fcitx5's English IME (raw input), Chinese IME not work
  • Windows 10 Chrome in ether English or Chineise Microsoft default IME

These platforms cannot work:

  • Chromium on Linux with fcitx5 (both English and Chineise IME, tested on Microsoft Edge 141.0.3537.92 (正式版本) (64 位), Chromium 141.0.7390.122 (正式版本) Arch Linux (64 位) and Chrome 141.0.7390.122 (正式版本) (64 位) )

Expected Behavior

I can type English and CJK chars

Steps To Reproduce

just type anything in Chromium (or Chrome) on Linux

Environment

- OS:
Hostside:

         .://:`              `://:.             root@milkserver
       `hMMMMMMd/          /dMMMMMMh`           ---------------
        `sMMMMMMMd:      :mMMMMMMMs`            OS: Proxmox VE 8.4.1 x86_64
`-/+oo+/:`.yMMMMMMMh-  -hMMMMMMMy.`:/+oo+/-`    Host: B365M D2VX SI
`:oooooooo/`-hMMMMMMMyyMMMMMMMh-`/oooooooo:`    Kernel: Linux 6.8.12-11-pve
  `/oooooooo:`:mMMMMMMMMMMMMm:`:oooooooo/`      Uptime: 2 days, 22 hours, 58 mins
    ./ooooooo+- +NMMMMMMMMN+ -+ooooooo/.        Packages: 1453 (dpkg)
      .+ooooooo+-`oNMMMMNo`-+ooooooo+.          Shell: fish 4.0.2
        -+ooooooo/.`sMMs`./ooooooo+-            Display (FKS-C215J ): 1920x1080 @ 60 Hz in 22" [External]
          :oooooooo/`..`/oooooooo:              Terminal: /dev/pts/0
          :oooooooo/`..`/oooooooo:              CPU: Intel(R) Xeon(R) E-2124G (4) @ 4.50 GHz
        -+ooooooo/.`sMMs`./ooooooo+-            GPU: Intel UHD Graphics P630 @ 1.15 GHz [Integrated]
      .+ooooooo+-`oNMMMMNo`-+ooooooo+.          Memory: 11.46 GiB / 15.06 GiB (76%)
    ./ooooooo+- +NMMMMMMMMN+ -+ooooooo/.        Swap: 6.72 GiB / 7.53 GiB (89%)
  `/oooooooo:`:mMMMMMMMMMMMMm:`:oooooooo/`      Disk (/): 59.76 GiB / 67.73 GiB (88%) - ext4
`:oooooooo/`-hMMMMMMMyyMMMMMMMh-`/oooooooo:`    Disk (/mnt/sdb1): 363.56 GiB / 457.38 GiB (79%) - ext4
`-/+oo+/:`.yMMMMMMMh-  -hMMMMMMMy.`:/+oo+/-`    Local IP (vmbr0): 192.168.1.16/16
        `sMMMMMMMm:      :dMMMMMMMs`            Locale: en_US.UTF-8
       `hMMMMMMd/          /dMMMMMMh`
         `://:`              `://:`                                     

ClientSide:

Operating System: Arch Linux 
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.4-zen2-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 20 × Intel® Core™ i9-10900 CPU @ 2.80GHz
Memory: 32 GiB of RAM (31.1 GiB usable)
Graphics Processor 1: NVIDIA GeForce RTX 3070
Graphics Processor 2: Intel® UHD Graphics 630

❯ fcitx5 --version
5.1.14


- How docker service was installed:
Docker version 28.3.1, build 38b7060
I use the project https://github.com/nickrunning/wechat-selkies

- Extra
Here's my issue on nickrunning/wechat-selkies:
https://github.com/nickrunning/wechat-selkies/issues/11

Docker creation

services:
   wechat-selkies:
     image: nickrunning/wechat-selkies:latest    # or ghcr.io/nickrunning/wechat-selkies:latest
     container_name: wechat-selkies
     volumes:
       - ./data:/config
     devices:
       - /dev/dri:/dev/dri # optional, for hardware acceleratio
     restart: 'unless-stopped'
     environment:
       - CUSTOM_HTTPS_PORT=443
       - PUID=1000                    # user ID
       - PGID=100                     # group ID
       - TZ=Asia/Shanghai             # timezone
       - LC_ALL=zh_CN.UTF-8           # locale
       - AUTO_START_WECHAT=true       # default is true
       - AUTO_START_QQ=true          # default is false
       - CUSTOM_USER=<my-user>        # recommended to set a custom user name
       - PASSWORD=<my-password>     # recommended to set a password for selkies web ui
     networks:
       macvlan_main:
         ipv4_address: 192.168.17.20

networks:
  macvlan_main:
    external: true

Container logs

wechat-selkies  | INFO:main:Parsed DRI node '/dev/dri/renderD128' to index 0.
wechat-selkies  | INFO:data_websocket:Video chunk sender started for display 'primary'.
wechat-selkies  | INFO:data_websocket:SUCCESS: Capture started for 'primary'.
wechat-selkies  | INFO:data_websocket:New frame backpressure task started for display 'primary'.
wechat-selkies  | INFO:data_websocket:Frame-based backpressure logic task started for display 'primary'.
wechat-selkies  | INFO:data_websocket:Client settings received, proceeding with backpressure loop for 'primary'.
wechat-selkies  | VAAPI Encoder Initialized successfully.
wechat-selkies  | X Shared Memory Extension available.
wechat-selkies  | XShm setup complete for 1992x1188.
wechat-selkies  | CPU cores available: 4
wechat-selkies  | Stream settings active -> Res: 1992x1188 | FPS: 60.0 | Stripes: 1 | Mode: H264 (VAAPI) FullFrame | CRF: 25 | PaintOver CRF: 5 (Burst: 5f) | Colorspace: I420 (Limited Range) | Damage Thresh: 10f | Damage Dur: 20f
wechat-selkies  | INFO:webrtc_input:Set clipboard content, length: 284
wechat-selkies  | INFO:data_websocket:Received STOP_VIDEO for 'primary'. Stopping stream.
wechat-selkies  | INFO:data_websocket:Stopping all streams for display 'primary'...
wechat-selkies  | INFO:data_websocket:Backpressure logic task for 'primary' cancelled.
wechat-selkies  | INFO:data_websocket:Backpressure logic task for 'primary' finished.
wechat-selkies  | INFO:data_websocket:Backpressure task for 'primary' was stopped. Resetting its frame IDs.
wechat-selkies  | INFO:data_websocket:Resetting frame IDs for display 'primary'.
wechat-selkies  | INFO:data_websocket:Broadcasting primary pipeline reset to all 1 clients: PIPELINE_RESETTING primary
wechat-selkies  | Capture loop stopped. X resources released.
wechat-selkies  | INFO:data_websocket:Successfully stopped all streams for display 'primary'.
wechat-selkies  | INFO:data_websocket:Video chunk sender for 'primary' cancelled.
wechat-selkies  | INFO:data_websocket:Video chunk sender for 'primary' finished.
wechat-selkies  | INFO:data_websocket:Received START_VIDEO for 'primary'. Starting its stream.
wechat-selkies  | INFO:data_websocket:Found existing layout for 'primary'. Starting capture with: {'x': 0, 'y': 0, 'w': 1992, 'h': 1188}
wechat-selkies  | INFO:data_websocket:Preparing to start capture for display='primary': Res=1992x1188, Offset=0x0
wechat-selkies  | INFO:main:Parsed DRI node '/dev/dri/renderD128' to index 0.
wechat-selkies  | INFO:data_websocket:Video chunk sender started for display 'primary'.
wechat-selkies  | INFO:data_websocket:SUCCESS: Capture started for 'primary'.
wechat-selkies  | INFO:data_websocket:New frame backpressure task started for display 'primary'.
wechat-selkies  | INFO:data_websocket:Frame-based backpressure logic task started for display 'primary'.
wechat-selkies  | INFO:data_websocket:Client settings received, proceeding with backpressure loop for 'primary'.
wechat-selkies  | VAAPI Encoder Initialized successfully.
wechat-selkies  | X Shared Memory Extension available.
wechat-selkies  | XShm setup complete for 1992x1188.
wechat-selkies  | CPU cores available: 4
wechat-selkies  | Stream settings active -> Res: 1992x1188 | FPS: 60.0 | Stripes: 1 | Mode: H264 (VAAPI) FullFrame | CRF: 25 | PaintOver CRF: 5 (Burst: 5f) | Colorspace: I420 (Limited Range) | Damage Thresh: 10f | Damage Dur: 20f
wechat-selkies  | INFO:webrtc_input:Set clipboard content, length: 28
wechat-selkies  | INFO:webrtc_input:Set clipboard content, length: 28
wechat-selkies  | INFO:data_websocket:Received STOP_VIDEO for 'primary'. Stopping stream.
wechat-selkies  | INFO:data_websocket:Stopping all streams for display 'primary'...
wechat-selkies  | INFO:data_websocket:Backpressure logic task for 'primary' cancelled.
wechat-selkies  | INFO:data_websocket:Backpressure logic task for 'primary' finished.
wechat-selkies  | INFO:data_websocket:Backpressure task for 'primary' was stopped. Resetting its frame IDs.
wechat-selkies  | INFO:data_websocket:Resetting frame IDs for display 'primary'.
wechat-selkies  | INFO:data_websocket:Broadcasting primary pipeline reset to all 1 clients: PIPELINE_RESETTING primary
wechat-selkies  | Capture loop stopped. X resources released.
wechat-selkies  | INFO:data_websocket:Successfully stopped all streams for display 'primary'.
wechat-selkies  | INFO:data_websocket:Video chunk sender for 'primary' cancelled.
wechat-selkies  | INFO:data_websocket:Video chunk sender for 'primary' finished.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Issues

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions