Last modified: 2014-03-18 17:16:02 UTC
Steps to reproduce (on Chrome 33/Ubuntu 13 with Unity): 1. open lightbox 2. press and hold Alt 3. press Esc 4. release Alt Expected result: Task selection OS interface appears when pressing Alt+Tab, disappears when pressing Esc (which is the normal way of exiting the task selection interface without actually selecting a different task). Lightbox is undisturbed. Actual result: Task selection interface works as expected, but the lightbox is also closed.
This one is by design (// Close the interface all the way if the user pressed 'esc'). However, I agree that bug: 62578 -- "exit fullscreen by clicking the link provided by the browser" -- should be fixed.
This is definitely not by design. Pressing Esc should close the lightbox when the user presses it with that intent; it should not close the lightbox when it is pressed as part of some completely different interaction which is not even related to the browser. Granted, this is really a bug in Unity (that Esc press should not pass through to the browser in the first place), but it is an easy fix, just check for any modifier keys. Note that the "Close the interface all the way if the user pressed 'esc'" comment refers to closing the lightbox when it is fullscreen mode and the user presses Esc (the browser default would be to just un-fullscreen). IMO that is a bug too, as it is contrary to user expectations and standard browser behavior, but that is related to bug 62578. This bug is not related to fullscreen at all.
Ugh, I left out a reproduction step, no wonder it does not make sense. This is the correct version: Steps to reproduce (on Chrome 33/Ubuntu 13 with Unity): 1. open lightbox 2. press and hold Alt 3. press Tab (opens task selection interface of the OS/window manager) 4. press Esc 5. release Alt
Ohhh I'm so sorry. I misread.
Change 119128 had a related patch set uploaded by Gergő Tisza: Fix navigation issue with alt+esc on Ubuntu/Unity. https://gerrit.wikimedia.org/r/119128
Change 119128 merged by jenkins-bot: Fix navigation issue with alt+esc on Ubuntu/Unity. https://gerrit.wikimedia.org/r/119128
Needs a mingle card
https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/365