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

fcitx5 + vscode sometimes blurr and cannot input on wayland #1013

Open
Firestar-Reimu opened this issue Apr 8, 2024 · 2 comments
Open

fcitx5 + vscode sometimes blurr and cannot input on wayland #1013

Firestar-Reimu opened this issue Apr 8, 2024 · 2 comments

Comments

@Firestar-Reimu
Copy link

Describe the bug

图片

The opened issue might be closed right away if it is considered a configuration issue (E.g. required packages not installed, wrong environment variables, misconfiguration like not adding wrong input method engine to the configuration, etc), but you may continue to use the issue comment to follow up for support.

To Reproduce
Steps to reproduce the behavior:

  1. Open vscode app
  2. Try to type anything

Expected behavior

I can type in it smoothly (which happens most of the time)

Desktop (please complete the following information):

Additional context
Add any other context about the problem here.

I tried code --enable-wayland-ime but does not help

图片

here I tried both Fcitx5 Wayland and Fcitx5 but does not help

@rocka
Copy link
Member

rocka commented Apr 8, 2024

Since you are on Wayland, you can try unset QT_IM_MODULE and GTK_IM_MODULE to force the applications to use Wayland text-input protocol, see also:
https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland#TL.3BDR_Do_we_still_need_XMODIFIERS.2C_GTK_IM_MODULE_and_QT_IM_MODULE.3F

Also, do you have --ozone-platform-hint=auto in VSCode startup flags? If you are using the visual-studio-code-bin package on AUR, it's better to set those flags in ~/.config/code-flags.conf:

--ozone-platform-hint=auto
--enable-wayland-ime

to force VSCode use Wayland window and input method protocol

@Firestar-Reimu
Copy link
Author

So this has nothing to do with virtual keyboard if I have not installed any virtual keyboard app like cellwriter?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants