Electron: Inconsistent addition of --enable-wayland-ime
when NIXOS_OZONE_WL
is set
#358368
Labels
0.kind: bug
Something is broken
Describe the bug
I found that some packages add
--enable-wayland-ime
whenNIXOS_OZONE_WL
is set, and some do not.10 Packages adding
--enable-wayland-ime
99 Packages using
NIXOS_OZONE_WL
I am using
fcitx5
andKDE Plasma 6
and settingNIXOS_OZONE_WL=1
vesktop
allows Japanese input, whileVS Code
andSlack
do not.If I add the
--enable-wayland-ime
flag and startVS Code
orSlack
, I can input Japanese.Therefore, I suggest adding this flag to all packages that use
NIXOS_OZONE_WL
ifNIXOS_OZONE_WL
is set.Steps To Reproduce
Steps to reproduce the behavior:
NIXOS_OZONE_WL=1
Expected behavior
All packages allow Japanese input
Screenshots
Additional context
NIXOS_OZONE_WL
: Document: The behavior ofNIXOS_OZONE_WL
is a bit unnatural and undocumented #291051--enable-wayland-ime
by setting an environment variable. ([Feature Request]: support IME under native Wayland electron/electron#33662 (comment))--enable-wayland-ime
or--gtk-version=4
(which is only supported in chromium/chrome) flag when launching Electron apps. (https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland#Chromium_.2F_Electron)~/.config/electron-flags.conf
, but "do not work for packages that bundle their own build of Electron" (https://wiki.archlinux.org/title/Wayland#Configuration_file).Metadata
Notify maintainers
@mmahut @teutat3s
@eadwu @Synthetica9 @bobby285271 @Enzime
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: