Bug 1148358

Summary: Only one input source can be selected, it is not possible to select an “input engine” *and* a keyboard layout
Product: [Fedora] Fedora Reporter: Mike FABIAN <mfabian>
Component: gnome-initial-setupAssignee: Rui Matos <tiagomatos>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: aday, balloonakafusen+redhat, gnome-sig, jstpierr, kkrothap, mfabian, petersen, pwu, sshedmak, tagoh, tiagomatos, walter.pete
Target Milestone: ---Keywords: FutureFeature, i18n, MoveUpstream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-01 13:44:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
f21-gnome-initial-setup-input-source-selection-japanese.png none

Description Mike FABIAN 2014-10-01 09:22:36 UTC
Created attachment 942983 [details]
f21-gnome-initial-setup-input-source-selection-japanese.png

Fedora 21 Alpha installed in qemu with:

ionice -c 3 qemu-kvm -enable-kvm -global qxl.ram_size=1x1024 -m 2048M -smp 2 -drive file=./Fedora-Live-Workstation-x86_64-21_Alpha-1.iso.qcow2,index=0,media=disk,cache=unsafe -localtime -serial file:/tmp/qemu-Fedora-Live-Workstation-x86_64-21_Alpha-1.iso.qcow2-output.log -name Fedora-Live-Workstation-x86_64-21_Alpha-1.iso.qcow2 -cdrom /local/mfabian/iso/f21-Alpha/Fedora-Live-Workstation-x86_64-21_Alpha-1.iso -boot c -spice port=6000,disable-ticketing,streaming-video=off -vga qxl -display vnc=:4 -net nic -net user,hostname=Fedora-Live-Workstation-x86_64-21_Alpha-1.iso.qcow2,hostfwd=tcp::5555-:22 -monitor stdio -usb

Then updated everything with

    “sudo yum update”

then  rebooted.

After reboot, gnome-initial-setup shows up.

In the list of input sources shown for Japanese, ibus-kkc
(= 日本語 (かな漢字)) is selected.

It is not possible to select any additional input source, for example
a keyboard layout like “日本語” because the items in this list
behave like radio buttons, one can select only one.

I think one should be able to select more than one here.

Comment 1 Mike FABIAN 2014-10-29 11:00:42 UTC
See also bug#1158374, which is a kind of duplicate, but the problem
is worse in bug#1158374 because for some ibus-m17n input methods 
like mr-itrans, this makes unlocking the lock screen impossible.

Comment 2 Rui Matos 2014-10-31 15:13:28 UTC
*** Bug 1158374 has been marked as a duplicate of this bug. ***

Comment 3 Rui Matos 2014-10-31 15:16:49 UTC
I don't intend to change the design for F21. In any case I think https://git.gnome.org/browse/gnome-initial-setup/commit/?id=a6b0132193d1c4031035d4d412285a488dfaf2a6 will make this issue less problematic.

Comment 4 Keiichi SHIGA 2014-11-09 06:06:56 UTC
This problem becomes the factor that a Japanese user deteriorates the Fedora use.

When a user treats Fedora in Japanese,
it is essential to add "日本語" (Japanese) and "日本語(かな漢字)(Japanese (kana kanji) = ibus-kkc) 2 items.
When only "日本語" (Japanese) does this, the user cannot input kanji, hiragana and katakana.
and when only "日本語(かな漢字)"(Japanese (kana kanji)), it is not recognized as Japanese keyboard.
Need setting by all means again in this way produces the Japanese user. This is inconvenient!

These specifications must be improved. In this situation a Japanese user leaves RedHat!

Comment 5 Jens Petersen 2014-11-10 04:13:44 UTC
What is the expected behaviour now?

I still see single ibus-kkc input source for new Japanese GNOME user
with gnome-initial-setup-3.14.1-3.fc21.

Comment 6 Keiichi SHIGA 2014-11-10 04:38:18 UTC
Users usually choose the keyboard with an installer.
The user will choose "日本語"(Japanese) here.

Then is choice of the input method by initial setting,
"日本語(かな漢字)"(Japanese (kana kanji)) user will choose.

With these setting, it will become the ideal that 2 items come to be added to the input source.

Comment 7 Jens Petersen 2014-11-10 04:44:18 UTC
Right, thanks.

Sorry, my question was addressed to Rui:
ie to what extent gnome-initial-setup-3.14.1-3.fc21 addresses this issue?

Comment 8 Jens Petersen 2014-11-10 07:38:59 UTC
Okay, nevermind Mike Fabian and Akira Tagoh informed me that
gnome-initial-setup-3.14.1-3.fc21 apparently fixes the problem for them:
so I guess I need to test more carefully from a fresh install.

Comment 9 Krishna Babu K 2015-07-14 09:42:22 UTC
Hi,

Is gnome-initial-setup should provide the functionality as 'Settings' -> 'Region & Languages' -> 'Input Sources' providing, for multiple input methods selection?

If yes, i have checked with gnome-initial-setup-3.16.3-1.fc22.x86_64 . Still i could select only one IM using `/usr/libexec/gnome-initial-setup`

Thanks,
Krishna.

Comment 10 Mike FABIAN 2015-07-15 05:06:44 UTC
(In reply to Krishna Babu K from comment #9)
> Is gnome-initial-setup should provide the functionality as 'Settings' ->
> 'Region & Languages' -> 'Input Sources' providing, for multiple input
> methods selection?
> 
> If yes, i have checked with gnome-initial-setup-3.16.3-1.fc22.x86_64 . Still
> i could select only one IM using `/usr/libexec/gnome-initial-setup`

Yes, it should be possible to select more than one input method.

Comment 11 Krishna Babu K 2015-07-15 08:26:31 UTC
Hi,

I have observed in fedora 20 with gnome-initial-setup-3.10.1.1-4.fc20.x86_64 version the required functionality is available as it is under 'Settings' ->
> 'Region & Languages' -> 'Input Sources'. One can select multiple input sources by using UI provided by the gnome-initial-setup-3.10.1.1-1.fc20.x86_64 package.

Neither gnome-initial-setup-3.14.1-3.fc21 nor gnome-initial-setup-3.16.3-1.fc22.x86_64 builds have the same feature to select multiple input sources as per the requirement described in this bug.

Moving the bug status from 'MODIFIED' to 'ASSIGNED' as it still need a fix.

Thanks,
Krishna.

Comment 12 Jens Petersen 2015-07-17 06:23:26 UTC
Maybe it is better to revisit this in terms of language requirements.
Is what we have good enough for now?

Comment 13 Mike FABIAN 2015-07-29 11:25:43 UTC
The keyboard(s) selected during the installation in Anaconda
are automatically added to the input sources in Fedora 22
and Fedora 23 Alpha.

But both in Fedora 22 and Fedora 23 alpha (Fedora-Workstation-netinst-x86_64-23_Alpha_TC2.iso) ibus-kkc is not selected by default in
gnome-intial-settings.

I think it should be selected by default for Japanese.

And, if possible the keyboard layouts selected in Anaconda should be sown
in gnome-initial-settings as well.

I.e. if I install in Japanese and select the Japanese keyboard layout
and the US English keyboard layout in Anaconda, gnome-initial-settings
should show both keyboard layuouts *and* ibus-kkc as selected.

Comment 14 Mike FABIAN 2015-09-02 08:33:22 UTC
The problem still exists in Fedora 23 Beta TC1.

Comment 15 sandeep shedmake 2016-06-01 11:14:52 UTC
(In reply to Mike FABIAN from comment #13)

<snip>

> I.e. if I install in Japanese and select the Japanese keyboard layout
> and the US English keyboard layout in Anaconda, gnome-initial-settings
> should show both keyboard layuouts *and* ibus-kkc as selected.

Tested above scenario with Fedora 24 Beta (Japanese installation) and 
gnome-initial-setup-3.20.1-1.fc24.

'gnome-initial-setup' doesn't show both (Japanese and US English) keyboard layouts *and* ibus-kkc as selected.

Comment 16 Keiichi SHIGA 2016-06-01 11:38:34 UTC
I noticed suddenly to this comment.

(In reply to sandeep shedmake from comment #15)
> 'gnome-initial-setup' doesn't show both (Japanese and US English) keyboard
> layouts *and* ibus-kkc as selected.

ibus-kkc use user will not be able to determine is that use a Japanese (JIS) keyboard.
Especially in Japan, there is a case to use the US Keyboard on your Mac.
Therefore, Japanese user must make the selection of the keyboard.

Current gnome-initial-setup This selection will be difficult.

Comment 17 Mike FABIAN 2016-11-28 12:10:38 UTC
Still the same in Fedora 25.

Comment 18 Fedora End Of Life 2017-11-16 18:46:14 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 19 Mike FABIAN 2017-11-28 09:12:29 UTC
Still the same in Fedora 27.

Comment 20 Allan Day 2022-07-27 14:21:29 UTC
In an ideal world, if someone added an input method during setup, we'd automatically add a keyboard layout at the same time. We'd also have a way to select the keyboard layout instead of the input method, in cases where ASCII was required (say, in password fields).

That all depends on it being possible to correctly guess a keyboard layout based on the input method, of course.

That being said, there are designs to allow multiple input sources to be configured as part of gnome-initial-setup [1]. I don't think that there's an issue to track that specific change, though.

[1] https://gitlab.gnome.org/Teams/Design/os-mockups/-/blob/master/initial-setup/initial-setup.png

Comment 21 Jens Petersen 2022-07-27 15:02:21 UTC
Hmm I moved it back to gnome-initial-setup, but the problem is that it no longer has this explicit feature,
it is done automatically in the background - so it would be strange to ask about extra layout but not the default one say.

So not really sure how to reconcile this: personally feel that adding additional keyboard layouts manually afterwards manually seems acceptable here.

Comment 22 Jens Petersen 2022-07-27 15:05:25 UTC
Also I believe the current behavior is to add both the keyboard layout and IME for CJK, so in that sense the issue is already fixed, isn't?

If that is not the case then sure this should certainly be reported to upstream against gnome-initial-setup.