Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use any input method when installed from snap #77382

Closed
notsyncing opened this issue Jul 15, 2019 · 7 comments
Closed

Cannot use any input method when installed from snap #77382

notsyncing opened this issue Jul 15, 2019 · 7 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug help wanted Issues identified as good community contribution opportunities linux Issues with VS Code on Linux snap Issues related to the snap package
Milestone

Comments

@notsyncing
Copy link

Issue Type: Bug

Hello, I cannot input any chinese characters with ibus in vs code snap. The input method can be switched with hot keys, but won't show up when I type anything.

Ubuntu 19.04, kernel 5.0.0-20-generic, gnome-shell 3.32.1 on wayland, ibus 1.5.19-1ubuntu2, ibus-libpinyin 1.11.0-1ubuntu0.19.04

VS Code version: Code 1.36.1 (2213894, 2019-07-08T22:55:08.091Z)
OS version: Linux x64 5.0.0-20-generic snap

System Info
Item Value
CPUs AMD Ryzen 5 2400G with Radeon Vega Graphics (8 x 1690)
GPU Status 2d_canvas: unavailable_software
flash_3d: disabled_software
flash_stage3d: disabled_software
flash_stage3d_baseline: disabled_software
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: disabled_off
rasterization: disabled_software
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: disabled_software
viz_display_compositor: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
Load (avg) 1, 1, 1
Memory (System) 13.68GB (3.70GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (16)
Extension Author (truncated) Version
vscode-eslint dba 1.9.0
EditorConfig Edi 0.13.0
vscode-docker ms- 0.7.0
vscode-language-pack-zh-hans MS- 1.36.2
python ms- 2019.6.24221
vscode-typescript-tslint-plugin ms- 1.2.2
debugger-for-chrome msj 4.11.6
java red 0.46.0
rust rus 0.6.1
vscode-lldb vad 1.2.3
vscodeintellicode Vis 1.1.7
vscode-java-debug vsc 0.20.0
vscode-java-dependency vsc 0.5.1
vscode-java-pack vsc 0.7.1
vscode-java-test vsc 0.18.1
vscode-maven vsc 0.18.0
@vscodebot vscodebot bot added the terminal Integrated terminal issues label Jul 15, 2019
@notsyncing
Copy link
Author

@Tyriar Tyriar added linux Issues with VS Code on Linux snap Issues related to the snap package upstream Issue identified as 'upstream' component related (exists outside of VS Code) and removed terminal Integrated terminal issues labels Jul 15, 2019
@palxex
Copy link

palxex commented Aug 12, 2019

Same with me.
I just tried snap install Kate and verified it could receive fcitx input. So it should have nothing with snappy, just VSC snap version.
My environment is Manjaro stable, also tested both code in pacman(the oss version) and visual-studio-code-bin(official deb wrapped) in AUR could also receive fcitx input.
So the problem could be isolated to the snap version ONLY. Not sure whether relative to the '--classic'.
BTW: in #51308 seems the snap version was refered as "unofficial", but it now exist in https://code.visualstudio.com/docs/setup/linux. Not sure which is true.

@Tyriar
Copy link
Member

Tyriar commented Aug 12, 2019

@palxex it was an unofficial package back then, now there's a new official one.

@Tyriar
Copy link
Member

Tyriar commented Oct 10, 2019

Apparently we can action this on our side according to https://forum.snapcraft.io/t/compatibility-with-cjkv-input-method-frameworks/7788

Open to PRs.

@Tyriar Tyriar added bug Issue identified by VS Code Team member as probable bug help wanted Issues identified as good community contribution opportunities and removed upstream Issue identified as 'upstream' component related (exists outside of VS Code) labels Oct 10, 2019
@Tyriar Tyriar added this to the Backlog milestone Oct 26, 2019
@critical-bug
Copy link

Same with me.
Code installed with snap can't input hiragana in commit message box. ver c47d83b (rev 25), ver 78a4c91 (rev 26).
My environment is Fedora 31, ibus 1.5.21, ibus-mozc 2.23.2815.182.
snap is installed according to official document https://snapcraft.io/docs/installing-snap-on-fedora .
rpm-version Code can.

@alk-sramond
Copy link

Hi, i got the same issue i cannot get rid of Ubuntu 20.04 CTRL + Shift + e which trigger the emoji annotation (and therefor override the vscode shortcut to open file viewer).

The shortcut was removed from the system using ibus-setup.
image
It work anywhere else just not in VSCode. VScode was installed using snap.

If you need more info or have any workaround ?

@joaomoreno
Copy link
Member

Merging into #96041

@github-actions github-actions bot locked and limited conversation to collaborators Aug 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug help wanted Issues identified as good community contribution opportunities linux Issues with VS Code on Linux snap Issues related to the snap package
Projects
None yet
Development

No branches or pull requests

6 participants