https://bugzilla.redhat.com/show_bug.cgi?id=2256267
Bug ID: 2256267 Summary: Unable to input in Firefox with fcitx5 under Fedora KDE 39 Product: Fedora Version: 39 OS: Linux Status: NEW Component: imsettings Severity: high Assignee: tagoh@redhat.com Reporter: jackyzy823@gmail.com QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, tagoh@redhat.com Target Milestone: --- Classification: Fedora
Unable to input in Firefox with fcitx5 under Fedora KDE 39
Reproducible: Always
Steps to Reproduce: 1. Install Fedora 39 KDE spin 2. Install fcitx5 fcitx5-mozc and config fcitx5 to add mozc as a input method. 3. Use "Input Method Selecor" to configure to use fcitx5 and log out and log in 4. Test input with Kwrite 5. Test input with Firefox Actual Results: Input in kwrite with fcitx5 successfully. Failed to input in Firefox with fcitx5.
Expected Results: Input in Firefox with fcitx5 successfully.
with maually start firefox with `GTK_IM_MODULE=fcitx firefox`, i could input with fcitx in firefox.
-----
So it looks related to the change in https://bugzilla.redhat.com/show_bug.cgi?id=2232064
---------
in imsettings.log GTK_IM_MODULE is empty.
XINPUTRC: /home/xx/.config/imsettings/xinputrc File: /home/xx/.config/imsettings/xinputrc -> /etc/X11/xinit/xinput.d/fcitx5.conf Size: 35 Blocks: 8 IO Block: 4096 symbolic link Device: 0,38 Inode: 7257 Links: 1 Access: (0777/lrwxrwxrwx) Uid: ( 1000/xx) Gid: ( 1001/xx) Context: unconfined_u:object_r:config_home_t:s0 Access: 2023-12-30 20:01:07.645109258 +0800 Modify: 2022-10-24 00:47:02.011820102 +0800 Change: 2022-10-24 00:47:02.011820102 +0800 Birth: 2022-10-24 00:47:02.011820102 +0800 Is DBus enabled: yes Is imsettings enabled: yes Is GTK+ supported: yes Is Qt supported: yes Is Action needed: yes DESKTOP: KDE-wayland GUESS_DESKTOP: $XDG_SESSION_TYPE DISABLE_IMSETTINGS: IMSETTINGS_DISABLE_DESKTOP_CHECK: DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus GTK_IM_MODULE: QT_IM_MODULE: fcitx XMODIFIERS: @im=fcitx5 IMSETTINGS_MODULE: fcitx5 IMSETTINGS_INTEGRATE_DESKTOP: yes IMSETTINGS_DISABLE_SYS_XINPUTRC: no IMSETTINGS_DISABLE_USER_XINPUTRC: no IMSETTINGS_IGNORE_SESSION:
https://bugzilla.redhat.com/show_bug.cgi?id=2256267
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Doc Type|--- |If docs needed, set a value
--- Comment #1 from Jens Petersen petersen@redhat.com --- Did you enable fcitx as a virtual keyboard in KDE settings? (this aspect of KDE is not very natural...)
https://bugzilla.redhat.com/show_bug.cgi?id=2256267
--- Comment #2 from jackyzy823@gmail.com --- Hello, Jens Petersen .
Thanks for the information. I could input with setting fcitx5 as a virtual keyboard in KDE.
For anyone who may interested , https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland#KDE_Plasma
However there's still a problem. If i both set input method to fcitx in virtual keyboard and "Input Method Selecor" , after rebooting , fcitx will crash .
I found the fcitx's popup message:
#: src/modules/wayland/waylandmodule.cpp:464 msgid "" "Fcitx should be launched by KWin under KDE Wayland in order to use Wayland " "input method frontend. This can improve the experience when using Fcitx on " "Wayland. To configure this, you need to go to "System Settings" -> " ""Virtual keyboard" and select "Fcitx 5" from it. You may also need to " "disable tools that launches input method, such as imsettings on Fedora, or " "im-config on Debian/Ubuntu. For more details see https://fcitx-im.org/wiki/" "Using_Fcitx_5_on_Wayland#KDE_Plasma" msgstr ""
------------------ So could imsettings automatically set to none when detecting that virtual keyboard is set ?
https://bugzilla.redhat.com/show_bug.cgi?id=2256267
Akira TAGOH tagoh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yanqiyu01@gmail.com Assignee|tagoh@redhat.com |yanqiyu01@gmail.com Component|imsettings |fcitx5
--- Comment #3 from Akira TAGOH tagoh@redhat.com --- imsettings doesn't support desktops on wayland session. This isn't a bug.
For a crash, We need to add a line of:
IMSETTINGS_IGNORE_SESSION=*-wayland
in /etc/X11/xinit/xinput.d/fcitx5.conf; the wildcard will works after imsettings 1.8.8.
Reassigning to fcitx5.
https://bugzilla.redhat.com/show_bug.cgi?id=2256267
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Unable to input in Firefox |add |with fcitx5 under Fedora |IMSETTINGS_IGNORE_SESSION=* |KDE 39 |-wayland in | |/etc/X11/xinit/xinput.d/fci | |tx5.conf
https://bugzilla.redhat.com/show_bug.cgi?id=2256267
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-5bb189a560 (fcitx5-5.1.10-3.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-5bb189a560
https://bugzilla.redhat.com/show_bug.cgi?id=2256267
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version| |fcitx5-5.1.10-3.fc41 Status|MODIFIED |CLOSED Resolution|--- |ERRATA Last Closed| |2024-07-22 14:30:33
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-5bb189a560 (fcitx5-5.1.10-3.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=2256267
--- Comment #6 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-552447c69c (fcitx5-5.1.10-3.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-552447c69c
https://bugzilla.redhat.com/show_bug.cgi?id=2256267
--- Comment #7 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-33a6dd9d49 (fcitx5-5.1.10-3.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-33a6dd9d49
https://bugzilla.redhat.com/show_bug.cgi?id=2256267
--- Comment #8 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-552447c69c has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-552447c69c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-552447c69c
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=2256267
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-33a6dd9d49 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-33a6dd9d49` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-33a6dd9d49
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=2256267
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|fcitx5-5.1.10-3.fc41 |fcitx5-5.1.10-3.fc41 | |fcitx5-5.1.10-3.fc39
--- Comment #10 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-552447c69c (fcitx5-5.1.10-3.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=2256267
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|fcitx5-5.1.10-3.fc41 |fcitx5-5.1.10-3.fc41 |fcitx5-5.1.10-3.fc39 |fcitx5-5.1.10-3.fc39 | |fcitx5-5.1.10-3.fc40
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-33a6dd9d49 (fcitx5-5.1.10-3.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
i18n-bugs@lists.fedoraproject.org