Bug 30039

Summary: Binding ctrl+shift, alt+shift, etc for switching keyboard layout makes shortcuts with ctrl+shift, etc not working in any program
Product: Sisyphus Reporter: Nikolay Strelkov <nrbrtx>
Component: gnome-settings-daemonAssignee: Yuri N. Sedunov <aris>
Status: CLOSED WONTFIX QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: aris, cas
Version: unstableKeywords: backport
Hardware: all   
OS: Linux   

Description Nikolay Strelkov 2014-04-27 15:46:18 MSK
Let's assume for clarity that keyboard layout shortcut is set to <Ctrl+Shift>.
In previous versions of GNOME this key combination did not interfere with other
hotkey combinations. But nowadays it is broken.

- Set ctrl+shift as shortcut for switching keyboard layouts
- Try to use ctrl+shift+v, ctrl+shift+c in Terminal -- it doesn't work
(actually Terminal window loses focus when ctrl+shift is pressed, and layout is
switched)


Steps to Reproduce (S); Actual Results (AR); Expected Results (ER)

Test case No. 1:
(S): Open gnome-terminal, type some command, try to copy the command with
<Ctrl+Shift+C> and to paste it with <Ctrl+Shift+V>.
(ER): Text is copied and pasted, keyboard layout is not changed.
(AR): Text is not copied and not pasted, but keyboard layout is changed.

Test case No. 2:
(S): Open Firefox web-browser, open new tab, go to some site, close this tab,
try to recover tab with <Ctrl+Shift+T>
(ER): Recently closed tab is opened, keyboard layout is unchanged
(AR): Firefox opened new tab, keyboard layout is changed

Test case No. 3:
(S): Open any text editor (gedit libreoffice Writer), type some text with
several words, try to select some of that words with <Ctrl+Shift+Left Arrow> or
<Ctrl+Shift+Right Arrow>
(ER): Text is selected by words, keyboard layout is not changed
(AR): Text is not selected, keyboard layout is changed

Test case No. 4:
Open Blender (see
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1245473/comments/5
for details)

Test case No. 5:
(S): Try to make a screenshot of desired window region with
<Ctrl+Shift+PrintScreen>
(ER): Cursor is changed to cross, desired area is selected by user, screenshot
is copied to clipboard, keyboard layout is not changed
(AR): Whole screen screenshot is saved to clipboard, keyboard layout is changed

The aforementioned test-cases works as expected on previous versions of GNOME
(for example 3.4.2 in Ubuntu 12.04).

Reproducible: Always


This bug exists at least in Ubuntu (see
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1245473),
RedHat 7 (https://bugzilla.redhat.com/show_bug.cgi?id=1091631), OpenSuSE (https://bugzilla.novell.com/show_bug.cgi?id=875353), the bug is
reported to upstream (https://bugzilla.gnome.org/show_bug.cgi?id=712667) with
no luck.
Comment 1 Andrey Cherepanov 2014-04-28 10:06:08 MSK
On Sisyphus.
Comment 2 Nikolay Strelkov 2014-04-28 10:44:08 MSK
For your information: bug was discovered on ALT Linux p7 (Trientalis) with gnome-settings-daemon 3.8.6.1-alt0.M70P.1.

I'm ready to test a package from Sisyphus, when it will be ready.
Comment 3 Yuri N. Sedunov 2014-04-28 11:03:24 MSK
See https://bugzilla.altlinux.org/show_bug.cgi?id=29591
and corresponding gnome bug https://bugzilla.gnome.org/show_bug.cgi?id=712667
Comment 4 Nikolay Strelkov 2014-04-28 11:14:04 MSK
С разработчиками GNOME все последнее время понятно - они ломают всё к чему прикасаются и что работало годами.
 
Тем не менее еще 30 человек на ланчпаде эту проблему тоже видят. То есть это не выдумка, а реальная проблема.

А от Вашего проекта я такого не ожидал. Ведь у нас в России точно любят использовать сочетание Ctrl+Shift.
Comment 5 Andrey Cherepanov 2014-04-28 11:31:35 MSK
(В ответ на комментарий №4)
> А от Вашего проекта я такого не ожидал. Ведь у нас в России точно любят
> использовать сочетание Ctrl+Shift.
ALT Linux не ограничивается GNOME.
Comment 6 Vitaly Lipatov 2014-05-06 17:51:52 MSK
Бага не по адресу. Она связана с тем, что в Иксах раскладка переключается при _нажатии_ комбинации клавиш, а не при _отжатии_, как в Windows.
И решать надо именно в этой стороне, чтобы переключатель не влияет на ввод комбинаций клавиш.