After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 697008 - status/keyboard: Switch input source on special modifiers accelerator
status/keyboard: Switch input source on special modifiers accelerator
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 689839 693858 696685 697161 698543 700325 (view as bug list)
Depends on: 697002
Blocks: 697009
 
 
Reported: 2013-03-31 22:46 UTC by Rui Matos
Modified: 2013-05-29 19:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
status/keyboard: Switch input source on special modifiers accelerator (2.03 KB, patch)
2013-03-31 22:46 UTC, Rui Matos
none Details | Review
status/keyboard: Switch input source on special modifiers accelerator (2.06 KB, patch)
2013-05-10 13:51 UTC, Rui Matos
committed Details | Review

Description Rui Matos 2013-03-31 22:46:16 UTC
.
Comment 1 Rui Matos 2013-03-31 22:46:18 UTC
Created attachment 240267 [details] [review]
status/keyboard: Switch input source on special modifiers accelerator

This simply mimics the X server's layout switching behavior by
advancing to the next input source and wrapping around.
Comment 2 Rui Matos 2013-04-02 08:06:28 UTC
*** Bug 689839 has been marked as a duplicate of this bug. ***
Comment 3 Rui Matos 2013-04-02 22:47:05 UTC
*** Bug 696685 has been marked as a duplicate of this bug. ***
Comment 4 Rui Matos 2013-04-02 22:54:09 UTC
*** Bug 693858 has been marked as a duplicate of this bug. ***
Comment 5 Rui Matos 2013-04-03 13:00:12 UTC
*** Bug 697161 has been marked as a duplicate of this bug. ***
Comment 6 Rui Matos 2013-04-22 09:17:23 UTC
*** Bug 698543 has been marked as a duplicate of this bug. ***
Comment 7 Igor Gnatenko 2013-04-27 09:03:54 UTC
You patch breaks gnome-shell 3.8.1 =(
Comment 8 Florian Müllner 2013-04-27 10:59:56 UTC
This is not a standalone patch - there are dependencies on other shell, mutter and gsd patches from different bug reports. I've tested the set only yesterday, and there is it does certainly not break gnome-shell, so I reckon you missed some patches. The plan is to have this working in 3.8.2 which is due in about two weeks, so the easiest approach for you would be to show some patience.
Comment 9 Igor Gnatenko 2013-04-27 11:45:57 UTC
(In reply to comment #8)
> This is not a standalone patch - there are dependencies on other shell, mutter
> and gsd patches from different bug reports. I've tested the set only yesterday,
> and there is it does certainly not break gnome-shell, so I reckon you missed
> some patches. The plan is to have this working in 3.8.2 which is due in about
> two weeks, so the easiest approach for you would be to show some patience.
Florian, thx.
Comment 10 Rui Matos 2013-05-10 13:51:45 UTC
Created attachment 243784 [details] [review]
status/keyboard: Switch input source on special modifiers accelerator

--

Of course, I forgot to update the signal handler after
https://bugzilla.gnome.org/show_bug.cgi?id=697002#c12
Comment 11 Florian Müllner 2013-05-13 13:19:00 UTC
Review of attachment 243784 [details] [review]:

LGTM
Comment 12 Igor Gnatenko 2013-05-14 16:10:14 UTC
(In reply to comment #8)
> This is not a standalone patch - there are dependencies on other shell, mutter
> and gsd patches from different bug reports. I've tested the set only yesterday,
> and there is it does certainly not break gnome-shell, so I reckon you missed
> some patches. The plan is to have this working in 3.8.2 which is due in about
> two weeks, so the easiest approach for you would be to show some patience.
In 3.8.2 not fixed. In overview modifiers-only not change language.
Comment 13 Florian Müllner 2013-05-14 16:21:04 UTC
(In reply to comment #12)
> In 3.8.2 not fixed. In overview modifiers-only not change language.

Thanks, but if we thought the bug *was* fixed, the report's status would have been changed to RESOLVED FIXED. It's not a trivial issue which involves patches to gnome-settings-daemon, mutter, gnome-shell and gnome-control-center. All patches for the former three modules are ready to land, but the latter is still missing, so we decided to postpone the whole set to a later release - otherwise we'd end up with a UI to set modifier-only shortcuts that does nothing and modifiers-only shortcuts that need to be set from the command line (e.g. for most users, those shortcuts wouldn't work in any case, not "only" inside the overview).
We are aware that this is a major limitations for users of multiple keyboard layouts, but leaving snarky comments on bugzilla won't speed up fixing anything.
Comment 14 Daniel Korostil 2013-05-14 17:21:38 UTC
Hi Florian,

Should we wait for the next major release (3.10.*) or minor (3.8.3). Or the progress timeline is unknown yet? I wonder because the bug is pretty annoying.
Comment 15 Florian Müllner 2013-05-14 17:48:07 UTC
There are no more officially scheduled 3.8.x releases, but we are indeed planning to roll a 3.8.3 release with these changes once everything is ready.
Comment 16 Igor Gnatenko 2013-05-14 18:01:34 UTC
(In reply to comment #15)
> There are no more officially scheduled 3.8.x releases, but we are indeed
> planning to roll a 3.8.3 release with these changes once everything is ready.
Thx for the answers. Believe!
Comment 17 Florian Müllner 2013-05-14 18:26:44 UTC
*** Bug 700325 has been marked as a duplicate of this bug. ***
Comment 18 Rui Matos 2013-05-24 22:19:42 UTC
Attachment 243784 [details] pushed as d45ab6f - status/keyboard: Switch input source on special modifiers accelerator
Comment 19 Arkady L. Shane 2013-05-27 17:56:44 UTC
Hm. I have built today last snapshot of gnome-shell and apply all patches on g-s-d and mutter. Yes, Win+Space switch layout in message tray (chat window), but modifier-only switch stop working everywhere.

Maybe I must patch something else? Please test 'modifier-only switch' before release again.
Comment 20 Florian Müllner 2013-05-27 17:59:35 UTC
(In reply to comment #19)
> Hm. I have built today last snapshot of gnome-shell and apply all patches on
> g-s-d and mutter.

Which branch? The necessary patches have landed on the gnome-3-8 branches of g-s-d, g-c-c, mutter and g-s, but not yet on master (not a fan of that, but I trust Rui will get to it) ...
Comment 21 Rui Matos 2013-05-27 18:00:52 UTC
Everything is on master already.

Arkady, you also need the gnome-3-8 branch of g-c-c and then set the shortcut there.
Comment 22 Arkady L. Shane 2013-05-27 18:02:27 UTC
Thanks, Rui, I will build g-c-c also, test it and write here the result.
Comment 23 Florian Müllner 2013-05-27 18:04:05 UTC
(In reply to comment #21)
> Everything is on master already.

Ah, great! It wasn't when I checked a couple of hours ago :-)
Comment 24 Alexey 2013-05-28 14:26:42 UTC
Work only once with latest Fedora 19 update: 
* switch to message tray
* press super+space - layout switched
* press super+space again - layout doesn't switch
Comment 25 Arkady L. Shane 2013-05-28 14:28:14 UTC
For me it works fine. Win+Space and other modifiers.
Comment 26 Florian Müllner 2013-05-28 14:29:29 UTC
(In reply to comment #24)
> Work only once with latest Fedora 19 update: 

None of these patches are in any versions of Fedora yet (either 19 or rawhide).
Comment 27 Arkady L. Shane 2013-05-28 14:31:09 UTC
I've built last snapshots here: http://koji.russianfedora.pro/koji/ for F19.
Comment 28 Alexey 2013-05-28 14:34:30 UTC
I have update for a few hours ago and the layout can switch in message tray(g-c-c+g-s-d+gnome-shell+mutter, all of version 3.8.3). Moreover, now it can switch every time(super+space any times I want). I'll try to find the case where it doesn't work or, maybe, wait for new patches to test
Comment 29 Florian Müllner 2013-05-28 14:37:53 UTC
(In reply to comment #28)
> I have update for a few hours ago and the layout can switch in message
> tray(g-c-c+g-s-d+gnome-shell+mutter, all of version 3.8.3).

Not sure where you got those versions from, but none of those modules actually have had a 3.8.3 release yet - latest (stable) upstream version is 3.8.2 for all of them.
Comment 30 Alexey 2013-05-28 14:38:44 UTC
Found the case:
* close all apps(you should see the clear desktop)
* press super + M
* press super + space(layout switched)
* press super + space(nothing happened)
Comment 31 Alexey 2013-05-28 14:41:09 UTC
I'm using Russian Fedora 19. Maybe, it is this distro-specific versions. I don't know
Comment 32 Arkady L. Shane 2013-05-28 14:43:57 UTC
Yes, I confirm Alexey report.

Florian I think that 3.8.3 packages what Alexey use are my builded last snapshots (link below) from gnome-3-8 branch.
Comment 33 Florian Müllner 2013-05-28 14:58:21 UTC
Mmh, I can reproduce this now>

(In reply to comment #30)
> Found the case:
> * close all apps(you should see the clear desktop)

Or just switch to an empty workspace.
> * press super + M

Or super to go to the overview. Or alt-f2. Or ...

> * press super + space(layout switched)
> * press super + space(nothing happened)

This affects *all* shortcuts - the keyboard stops working entirely.

Please file a new bug report for this.
Comment 34 Rui Matos 2013-05-29 19:51:04 UTC
The issue reported in comment 30 has been fixed now. See bug 701219.