vscode: Run code on wayland mode result on broken ibus connection
Type: Bug
-
OS Version:
- ubuntu 20.04
- ubuntu 22.04
- fedora 36
- fedora 37
-
VS Code Version:
Steps to Reproduce:
- start with:
code-insiders --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --ozone-platform=wayland
or
code --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --ozone-platform=wayland
Then try to type some Japanese chars only result on standard English chars.
When you run code on xwayland or x11 you can use ibus to write non-ascii characters without any problem.
VS Code version: Code - Insiders 1.74.0-insider (9908b3d5ae12691da5adc2f18e21a100ee8eeb58, 2022-11-30T05:33:53.125Z) OS version: Linux x64 5.15.0-53-generic Modes: Sandboxed: Yes
System Info
| Item | Value |
|---|---|
| CPUs | AMD Ryzen 5 3600X 6-Core Processor (2 x 3799) |
| GPU Status | 2d_canvas: unavailable_software canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: disabled_software multiple_raster_threads: disabled_off opengl: disabled_off rasterization: disabled_software raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: disabled_software video_encode: disabled_software vulkan: disabled_off webgl: unavailable_software webgl2: unavailable_software webgpu: disabled_off |
| Load (avg) | 1, 0, 0 |
| Memory (System) | 15.63GB (13.89GB free) |
| Process Argv | –ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --ozone-platform=wayland --crash-reporter-id 898eeabe-6c40-44ae-a4ba-537d37586078 |
| Screen Reader | no |
| VM | 0% |
| DESKTOP_SESSION | ubuntu |
| XDG_CURRENT_DESKTOP | Unity |
| XDG_SESSION_DESKTOP | ubuntu |
| XDG_SESSION_TYPE | wayland |
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vsdfh931:30280409
vshan820:30294714
pythondataviewer:30285072
vscod805:30301674
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30404738
cppdebug:30492333
vsclangdf:30492506
c4g48928:30535728
dsvsc012:30540252
pynewext54:30618038
pylantcb52:30590116
pyindex848:30611229
nodejswelcome1:30587009
pyind779:30611226
dbltrim-noruby:30604474
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 7
- Comments: 19 (1 by maintainers)
I installed
visual-studio-code-binfrom AUR, and also run into the same issue:He probably used X11 or XWayland. I just tested with VS Code 1.77.3. VS Code won’t even start if I execute
code --enable-features=UseOzonePlatform --ozone-platform=wayland --gtk-version=4. I have to remove--gtk-version=4to start it, but then Fcitx5 does not work.visual-studio-code-bin 1.85.1-1, Archlinux. I use
code --enable-features=UseOzonePlatform --enable-features=WebRTCPipeWireCapturer --enable-features=WaylandWindowDecorations --ozone-platform=wayland --enable-wayland-imeIt works. You should remove the default params: --unity-launch. There is still a problem, the fcitx shows blur. Anyway, I can use fictx now.So, Gnome doesn’t support v1? I am using Gnome 45 and IME does not work on VS Code in native Wayland mode. Maybe the person who said it worked was using KDE.