Bug 2257171

Summary: Super + Space cannot switch input method back from JP (Mozc) to ENG
Product: [Fedora] Fedora Reporter: mits.haruko
Component: mozcAssignee: Akira TAGOH <tagoh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 40CC: i18n-bugs, jeffshee8969, petersen, tagoh, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: mozc-2.29.5111.102-11.fc42 mozc-2.29.5111.102-11.fc41 mozc-2.29.5111.102-11.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-07 08:02:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description mits.haruko 2024-01-07 17:46:14 UTC
Using Mozc for Ibus input method on Gnome (I understand the default is Anthy, but Anthy has several limitations compared to Mozc). 

The default system language and input method is ENG. What happens is that when using the default Super + Space shortcut to switch back from JP Mozc to ENG, only Space is registered. (Tested on different keyboards, so not a hardware issue). Which means, I can go from ENG to JP Mozc with Super + Space, write in JP, but then cannot go back to ENG _inside a text box_, that is, going back to say an empty desktop, the shortcut will work. 

This happens on gtk3 apps like Firefox and Gnome Terminal and gtk4 as well, like Text Editor. Only on Wayland, though. It is working on X11.

Reproducible: Always

Steps to Reproduce:
1. Super + Space to switch input method to ENG to JP Mozc.
2. Write in japanese.
3. Super + Space back to ENG.
Actual Results:  
Cannot return input method to ENG with the same default shortcut.

Expected Results:  
Return to ENG via Super + Space. 

ibus-mozc 2.29.5111.102-3.fc39

gnome-shell 45.2-1.fc39

ibus-wayland  1.5.29~rc2-6.fc39

Inside of the config file for Mozc I have 

active_on_launch: True 

to drop into Hiragana. Removing it does nothing.

Comment 1 Jeff Shee 2024-10-06 09:36:42 UTC
Hi Tagoh-san, thanks for maintaining this package.
The upstream `mozc` had merged the fix for this issue 3 weeks ago, ref:
https://github.com/google/mozc/pull/1059

Since the fix hasn't been included in a release yet, would you please apply the patch to the current version,
so that it fixes the language switching issue in Wayland?


Thanks again =)

Comment 2 Akira TAGOH 2024-10-07 07:44:16 UTC
Thanks for the update. applied a backport patch and fixed in 2.29.5111.102-11.

Comment 3 Fedora Update System 2024-10-07 07:58:07 UTC
FEDORA-2024-1665397f51 (mozc-2.29.5111.102-11.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-1665397f51

Comment 4 Fedora Update System 2024-10-07 08:02:44 UTC
FEDORA-2024-1665397f51 (mozc-2.29.5111.102-11.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2024-10-07 08:46:10 UTC
FEDORA-2024-c5ef918044 (mozc-2.29.5111.102-11.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-c5ef918044

Comment 6 Fedora Update System 2024-10-07 08:46:10 UTC
FEDORA-2024-e8d64bada4 (mozc-2.29.5111.102-11.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-e8d64bada4

Comment 7 Fedora Update System 2024-10-08 01:45:19 UTC
FEDORA-2024-e8d64bada4 has been pushed to the Fedora 41 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-e8d64bada4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-e8d64bada4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-10-08 03:07:09 UTC
FEDORA-2024-c5ef918044 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-c5ef918044`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-c5ef918044

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2024-10-15 15:22:00 UTC
FEDORA-2024-e8d64bada4 (mozc-2.29.5111.102-11.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2024-10-16 01:07:04 UTC
FEDORA-2024-c5ef918044 (mozc-2.29.5111.102-11.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.