Bug 1684424 - [Wayland][ja_JP] [Firefox][wayland] Not able to commit Japanese input from the candidate list, on address bar or search field.
Summary: [Wayland][ja_JP] [Firefox][wayland] Not able to commit Japanese input from th...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mutter
Version: 30
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Müllner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedFreezeException
Depends On:
Blocks: ffwayland F30BetaFreezeException
TreeView+ depends on / blocked
 
Reported: 2019-03-01 09:03 UTC by Bhushan Barve
Modified: 2019-03-25 09:14 UTC (History)
23 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-25 09:14:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
f30_jpn_input (258.32 KB, video/webm)
2019-03-13 07:02 UTC, Bhushan Barve
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME/mutter/merge_requests/266 0 None None None 2019-03-13 07:57:07 UTC

Description Bhushan Barve 2019-03-01 09:03:24 UTC
Description of problem: Installed F30 workstation on VM in ja_JP locale. Observed that, on Firefox, user was not able to commit Japanese input from the candidate selection window on the browser address bar or search field. For e.g. after inputting 'あ’ and hitting spacebar twice to invoke candidate selection list, when I hit enter to commit the character, it was blank again. Please see the attached screencast. It works fine if the candidate list is not invoked, i.e. input gets committed properly.


Version-Release number of selected component (if applicable):
Firefox 64.0.2
Fedora-Workstation-netinst-x86_64-30-20190224.n.0.iso

How reproducible:
always

Steps to Reproduce:
1.Launch Firefox on ja_JP locale
2.Select kana kanji input method
3.input 'あ' 
4. hit spacebar twice to launch candidate list.
5. select any character from the list and hit enter to commit it.

Actual results:
The selected character does not get committed. The text field remains blank.

Expected results:
Selected character should get committed.

Additional info:

Comment 1 Martin Stransky 2019-03-06 12:53:07 UTC
Can you try firefox-x11 ? Firefox on Fedora 30 is running on Wayland by default which can cause such issue. Thanks.

Comment 2 Bhushan Barve 2019-03-12 05:32:45 UTC
Martin, yes the issue is with wayland. It works fine i.e I'm ablke to commit jpn input properly with x11.

Comment 3 ashie@clear-code.com 2019-03-12 14:31:32 UTC
(In reply to Bhushan Barve from comment #0)
> again. Please see the attached screencast. It works fine if the candidate
> list is not invoked, i.e. input gets committed properly.

Did you forget to attach it?

Comment 5 Bhushan Barve 2019-03-13 07:02:08 UTC
Created attachment 1543509 [details]
f30_jpn_input

Comment 6 Bhushan Barve 2019-03-13 07:02:54 UTC
(In reply to ashie from comment #3)
> (In reply to Bhushan Barve from comment #0)
> > again. Please see the attached screencast. It works fine if the candidate
> > list is not invoked, i.e. input gets committed properly.
> 
> Did you forget to attach it?

Yep, attached it now.

Comment 7 fujiwara 2019-03-13 07:33:15 UTC
I think the fix of bug 1632981 was deleted in mutter 3.32.0.

https://src.fedoraproject.org/rpms/mutter/pull-request/13#request_diff

Fedora 29 mutter 3.30.2 includes that fix but Fedora 30 mutter 3.32.0 does not include it.

Comment 8 fujiwara 2019-03-13 07:35:14 UTC
*** Bug 1688082 has been marked as a duplicate of this bug. ***

Comment 10 Jens Petersen 2019-03-13 08:44:05 UTC
Reproduced with Fedora-Workstation-Live-x86_64-30-20190312.n.0.iso

Comment 11 Adam Williamson 2019-03-13 15:56:28 UTC
+1 FE, this obviously makes things very awkward and cannot be fixed for lives with an update.

Comment 12 Julen Landa Alustiza 2019-03-15 13:16:04 UTC
+1 FE

Comment 13 Geoffrey Marr 2019-03-18 18:31:41 UTC
Discussed during the 2019-03-18 blocker review meeting: [1]

The decision to classify this bug as an "AcceptedFreezeException" was made as this is a significant problem for CJK-type input that will be present in the Workstation live and so cannot be fixed fully with an update.

[1] https://meetbot.fedoraproject.org/fedora-blocker-review/2019-03-18/f30-blocker-review.2019-03-18-16.03.txt

Comment 14 fujiwara 2019-03-22 03:16:11 UTC
Seems the problem was reproduced in Fedora 30 20190224 but no longer reproduced in Fedora 30 20190318.
I don't know what is changed between the Fedoras but ibus-hangul bug 1688082 still can be reproduced and it can be fixed with the mutter patch:

https://src.fedoraproject.org/rpms/mutter/pull-request/13#request_diff

Comment 15 fujiwara 2019-03-22 03:19:06 UTC
Bhushan Barve:

Could you please test this issue again in the latest Fedora 30?

Comment 16 Jens Petersen 2019-03-22 05:02:06 UTC
Yes, I can't reproduce this either in recent F30.

Comment 17 Martin Stransky 2019-03-22 07:19:06 UTC
Please note that this is Wayland only issue. It was decided don't ship Wayland enabled browser by default on Fedora 30 (https://fedoraproject.org/wiki/Changes/Firefox_Wayland_By_Default_On_Gnome) so this may not be a blocker then.

Comment 18 Bhushan Barve 2019-03-25 08:45:21 UTC
Checked with F30 2403 image with mutter-3.32.0-1.fc30.x86_64 on wayland. 
Now user can commit jpn input by hitting enter key in Firefox and terminal from candidate list.
Marking it as verified.

Comment 19 fujiwara 2019-03-25 09:10:25 UTC
(In reply to Martin Stransky from comment #17)
> Please note that this is Wayland only issue. It was decided don't ship
> Wayland enabled browser by default on Fedora 30
> (https://fedoraproject.org/wiki/Changes/Firefox_Wayland_By_Default_On_Gnome)
> so this may not be a blocker then.

Thank you for the info. However the problem was reproduced in gnome-terminal besides firefox in Fedora 30 20190224 so I guess something change in gtk or mutter resolves this issue. I checked ibus-kkc, libkkc, libkkc-data and seems they are not updated recently.
Even if I run `env GDK_BACKEND=wayland firefox`, the problem is no longer reproduced in the latest Fedora 30.

Comment 20 fujiwara 2019-03-25 09:14:42 UTC
(In reply to Bhushan Barve from comment #18)
> Checked with F30 2403 image with mutter-3.32.0-1.fc30.x86_64 on wayland. 
> Now user can commit jpn input by hitting enter key in Firefox and terminal
> from candidate list.
> Marking it as verified.

Thank you for the test. I'd close this issue at the moment.


Note You need to log in before you can comment on or make changes to this bug.