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 737457 - Esc key doesnt finish the alt + tab menu anymore [due to alternate tab extension]
Esc key doesnt finish the alt + tab menu anymore [due to alternate tab extens...
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
3.14.1
Depends on:
Blocks:
 
 
Reported: 2014-09-26 18:33 UTC by Juan Antonio
Modified: 2014-09-29 13:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
alternateTab: Fix Escape not dismissing popup (1.20 KB, patch)
2014-09-27 11:18 UTC, Florian Müllner
committed Details | Review
alternateTab: Remove _initialSelection injection (1.54 KB, patch)
2014-09-27 11:18 UTC, Florian Müllner
committed Details | Review
extension: Reuse original handler in keyPressHandler injection (2.69 KB, patch)
2014-09-27 11:18 UTC, Florian Müllner
committed Details | Review

Description Juan Antonio 2014-09-26 18:33:00 UTC
Pressing Escape key in alt + tab combined key doesn't exit from the app select menu. It did in earlyer gnome shell versions and it was really useful feature.
Comment 1 Matthias Clasen 2014-09-26 20:03:55 UTC
still works here. the right component for this is gnome-shell, where the alt-tab feature is implemented
Comment 2 Florian Müllner 2014-09-26 20:51:51 UTC
I can't reproduce the issue either - are you using any extensions that could interfere with the normal shell behavior? Maybe there's something useful in the logs (something like "journalctl _COMM=gnome-session -b" on systemd systems)?
Comment 3 Juan Antonio 2014-09-27 07:56:21 UTC
@Florian

You are right, it was an alternate tab issue. I have disabled it and esc key works again.

Thank you and sorry.
Comment 4 Juan Antonio 2014-09-27 07:57:38 UTC
Not a shell issue but alternate tab extension issue.
Comment 5 Florian Müllner 2014-09-27 10:12:32 UTC
(In reply to comment #4)
> Not a shell issue but alternate tab extension issue.

Not so quick - the alternate tab extension is in the set of extensions we support officially, so this *is* our bug. I've been able to reproduce the issue now, patch no its way ...
Comment 6 Florian Müllner 2014-09-27 11:18:42 UTC
Created attachment 287238 [details] [review]
alternateTab: Fix Escape not dismissing popup

Since shell commit dd85670f8b25, the handler got a return value to
determine whether Escape should be handled automatically; we do
want this for the window switcher, so add an appropriate return
value to restore the expected behavior.
Comment 7 Florian Müllner 2014-09-27 11:18:49 UTC
Created attachment 287239 [details] [review]
alternateTab: Remove _initialSelection injection

Since shell commit 2b1077aaa169, the implementation in the
SwitcherPopup base class already works as expected.
Comment 8 Florian Müllner 2014-09-27 11:18:56 UTC
Created attachment 287240 [details] [review]
extension: Reuse original handler in keyPressHandler injection

We do need to inject our own handler to treat application-switch
actions the same way as the corresponding window-switch ones;
we can actually express exactly this without re-implementing the
entire function, by calling the original handler with a tweaked
action parameter - the resulting code is not only more concise,
but should also be a bit more robust against changes in core.
Comment 9 Florian Müllner 2014-09-27 14:17:18 UTC
Comment on attachment 287238 [details] [review]
alternateTab: Fix Escape not dismissing popup

Attachment 287238 [details] pushed as 0dd5b52 - alternateTab: Fix Escape not dismissing popup

Pushing the actual fix, as it's straight-forward.
Comment 10 Florian Müllner 2014-09-27 14:17:52 UTC
Comment on attachment 287239 [details] [review]
alternateTab: Remove _initialSelection injection

Attachment 287239 [details] pushed as 687ea92 - alternateTab: Remove _initialSelection injection

... and so is this one
Comment 11 Juan Antonio 2014-09-27 17:40:01 UTC
Thank you very much. This is the only extension I used.
Comment 12 Rui Matos 2014-09-29 13:19:18 UTC
Review of attachment 287240 [details] [review]:

Looks much better.

What's the point of this extension though? People can achieve all this by changing shortcuts nowadays.
Comment 13 Florian Müllner 2014-09-29 13:27:06 UTC
(In reply to comment #12)
> What's the point of this extension though?

Classic mode :-(
Comment 14 Florian Müllner 2014-09-29 13:32:29 UTC
Attachment 287240 [details] pushed as d4ca2ae - extension: Reuse original handler in keyPressHandler injection