https://bugzilla.redhat.com/show_bug.cgi?id=1134299
Bug ID: 1134299 Summary: Layout switching happens with unspecified shortcut Product: Fedora Version: 19 Component: ibus Assignee: tfujiwar@redhat.com Reporter: stsp@list.ru QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, shawn.p.huang@gmail.com, tfujiwar@redhat.com
Description of problem: In control center I have only next input source hotkey Ctrl-Menu and modifier-only switch RightCtrl-Shift. Everything else is disabled. Still, RShift-LShift combo also switches the layouts! (including the indicator change) It shouldn't, it is not set anywhere.
Version-Release number of selected component (if applicable): the one from latest f19 updates
How reproducible: easily
Steps to Reproduce: 1. Set up layout switch keybindings to not include double-Shift 2. Hit both shifts
Actual results: Layout switches
Expected results: Layout should not switch
Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bnocera@redhat.com, | |fmuellner@redhat.com, | |kalevlember@gmail.com, | |mkasik@redhat.com, | |ofourdan@redhat.com, | |pnemade@redhat.com, | |rstrode@redhat.com, | |tiagomatos@gmail.com Component|ibus |gnome-settings-daemon Assignee|tfujiwar@redhat.com |bnocera@redhat.com
--- Comment #1 from fujiwara tfujiwar@redhat.com --- I can reproduce the same problem in Fedora 21 too.
% gsettings get org.gnome.desktop.input-sources xkb-options ['grp:rctrl_rshift_toggle']
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
--- Comment #2 from Mike FABIAN mfabian@redhat.com --- I can also reproduce this on f20.
$ gsettings get org.gnome.desktop.input-sources xkb-options ['terminate:ctrl_alt_bksp', '', 'eurosign:5', 'grp:rctrl_rshift_toggle']
I have Super+Space set as the switch to next input source and (just as the reporter) RightCtrl+RightShift as the modifier only input source switch.
I can now use *all* of the following key combinations to switch input sources:
RightCtrl+RightShift LeftCtrl+RightShift LeftAlt+RightShift LeftShift+RightShift
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
--- Comment #3 from Mike FABIAN mfabian@redhat.com --- Rui Matos told me in IRC that this is an X server problem, it has nothing to do with Gnome.
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
--- Comment #4 from Mike FABIAN mfabian@redhat.com --- Rui Matos also told me that LeftAlt+RightShift does not switch (only the other 3 combinations mentioned in comment#2 switch).
I tried again and Rui is right.
The reason why I thought that LeftAlt+RigthShift does switch input sources is that switching the input source to “gucharmap” unexpectedly remapped my keyboard layout (probably to “us”). This changed the position of the left alt key (My own layout has the left alt key on the left control key and the left alt key is "Meta" (for use in Emacs)). Switching to the "gucharmap" input source mapped the left alt key to its usual position and the left control key became control again. So it was LeftCtrl+RightShift again doing the input source switching, *not* LeftAlt+RightShift.
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
--- Comment #5 from Stas Sergeev stsp@list.ru --- (In reply to Mike FABIAN from comment #3)
Rui Matos told me in IRC that this is an X server problem, it has nothing to do with Gnome.
What does this mean to a poor user?
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
Rui Matos rmatos@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rmatos@redhat.com
--- Comment #6 from Rui Matos rmatos@redhat.com --- (In reply to Stas Sergeev from comment #5)
(In reply to Mike FABIAN from comment #3)
Rui Matos told me in IRC that this is an X server problem, it has nothing to do with Gnome.
What does this mean to a poor user?
It means that it won't be fixed until we switch to wayland. In any case, this is a fairly low priority bug, there's much bigger fish to fry out there.
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
Stas Sergeev stsp@list.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|19 |21
--- Comment #7 from Stas Sergeev stsp@list.ru --- (In reply to Rui Matos from comment #6)
It means that it won't be fixed until we switch to wayland. In any case, this is a fairly low priority bug
This bugzilla doesn't allow me to change priority for some reason... I agree the bug is rather minor, but in pidgin you do a newline with RShift-Enter, and the new line usually starts with the capital letter, so LShift gets pressed as well. So the annoyance factor is non-zero.
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
--- Comment #8 from Fedora End Of Life endoflife@fedoraproject.org --- This message is a reminder that Fedora 21 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 21. 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 '21'.
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 21 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
Stas Sergeev stsp@list.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|21 |22
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
Fedora End Of Life jkurik@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |EOL Last Closed| |2016-07-19 08:04:00
--- Comment #9 from Fedora End Of Life jkurik@fedoraproject.org --- Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug.
Thank you for reporting this bug and we are sorry it could not be fixed.
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
Stas Sergeev stsp@list.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |NEW Version|22 |24 Resolution|EOL |--- Keywords| |Reopened
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
Bastien Nocera bnocera@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|bnocera@redhat.com | Assignee|bnocera@redhat.com |rmatos@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
--- Comment #10 from Fedora End Of Life jkurik@fedoraproject.org --- This message is a reminder that Fedora 24 is nearing its end of life. Approximately 2 (two) weeks from now Fedora will stop maintaining and issuing updates for Fedora 24. 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 '24'.
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 24 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
Stas Sergeev stsp@list.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|24 |25
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
--- Comment #11 from Fedora End Of Life jkurik@fedoraproject.org --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
Stas Sergeev stsp@list.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|25 |26
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
--- Comment #12 from fujiwara tfujiwar@redhat.com --- I guess this problem happens in GNOME Wayland too because both X11 and Wayland use the same mutter logic.
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
--- Comment #13 from Olivier Fourdan ofourdan@redhat.com --- (In reply to fujiwara from comment #12)
I guess this problem happens in GNOME Wayland too because both X11 and Wayland use the same mutter logic.
I think you're right, mutter doesn't distinguish between left/right modifiers in its keybindings code:
https://git.gnome.org/browse/mutter/tree/src/core/keybindings.c#n490
491 else if (g_str_equal (iso_next_group_option, "ctrl_shift_toggle") || 492 g_str_equal (iso_next_group_option, "lctrl_lshift_toggle") || 493 g_str_equal (iso_next_group_option, "rctrl_rshift_toggle")) 494 { 495 resolved_key_combo_copy (&keys->iso_next_group_combo[0], 496 &keys->iso_next_group_combo[1]); 497 498 keys->iso_next_group_combo[0].mask = ShiftMask; 499 keys->iso_next_group_combo[1].mask = ControlMask; 500 keys->n_iso_next_group_combos = 2; 501 }
[...]
511 else if (g_str_equal (iso_next_group_option, "alt_shift_toggle") || 512 g_str_equal (iso_next_group_option, "lalt_lshift_toggle")) 513 { 514 resolved_key_combo_copy (&keys->iso_next_group_combo[0], 515 &keys->iso_next_group_combo[1]); 516 517 keys->iso_next_group_combo[0].mask = Mod1Mask; 518 keys->iso_next_group_combo[1].mask = ShiftMask; 519 keys->n_iso_next_group_combos = 2; 520 }
So basically, it just checks for the modifier mask (which is not different for left and right)
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
--- Comment #14 from Jens Petersen petersen@redhat.com --- Is there an upstream bug for this?
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stsp@list.ru Flags| |needinfo?(stsp@list.ru)
--- Comment #15 from Jens Petersen petersen@redhat.com --- Still happens with F27+ presumably?
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
Stas Sergeev stsp@list.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|26 |27 Flags|needinfo?(stsp@list.ru) |
--- Comment #16 from Stas Sergeev stsp@list.ru --- (In reply to Jens Petersen from comment #14)
Is there an upstream bug for this?
True.
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
--- Comment #17 from Stas Sergeev stsp@list.ru --- (In reply to Jens Petersen from comment #15)
Still happens with F27+ presumably?
True.
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
--- Comment #18 from Stas Sergeev stsp@list.ru ---
Is there an upstream bug for this?
True.
Sorry, ignore this, meant to answer to comment #15.
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
Bugzilla account termination pnt-expunge@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|rmatos@redhat.com |tiagomatos@gmail.com
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
Satyabrata Maitra smaitra@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |i18n
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
Satyabrata Maitra smaitra@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1626995
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
--- Comment #20 from Ben Cotton bcotton@redhat.com --- This message is a reminder that Fedora 27 is nearing its end of life. On 2018-Nov-30 Fedora will stop maintaining and issuing updates for Fedora 27. 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 '27'.
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 27 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1134299
Stas Sergeev stsp@list.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|27 |29
i18n-bugs@lists.fedoraproject.org