Closed Bug 880728 Opened 11 years ago Closed 10 years ago

Restore Session: Accelerator/shortcut keys for Close (Alt+C) and Restore (Alt+R) buttons have no effect

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

19 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 349943

People

(Reporter: jpehling, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:19.0) Gecko/20100101 Firefox/19.0 (Beta/Release)
Build ID: 20130307122853

Steps to reproduce:

Restarted Firefox, anytime after it was shutdown precipitously.
Saw Restore Session window.  Saw Close and Restore buttons on the bottom.
Close button has the C in close underlined, indicating an accelerator.
Hit Alt+C.
Hit Alt+R.


Actual results:

Neither Alt+C nor Alt+R do anything.


Expected results:

Alt+C places focus on the Close button and depresses it.
Alt+R does the same for the Restore button.

Workaround is tab over to the desired button and hit space.

Thank you.
Do you recall if Firefox had focus at the time, and if so, what part of Firefox was focused?
I just recreated a scenario that generated the Restore Session window, by killing Firefox while running (kill -9 <pid>).  In the reproduction case, Firefox definitely has the focus.

When the Restore Session window appears, the Restore button has the focus.  The problem, however, is focus independent.  It looks like the Restore Session window has 4 foci: the Close button, the Restore button, somewhere near the top of the window (can see the dotted line indicated focus, but not a box, and there is no obvious control element there), and the list of previously open Firefox windows.  In each location, the accelerator keys fail.
OK, thanks.  Moving to Core::Keyboard Navigation for further triage.
Component: Untriaged → Keyboard: Navigation
Product: Firefox → Core
Furthermore, in a pristine virgin session, one can do ALT+S to get into History, but then there is no underlined letter in the words 'Restore Previous Session'.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Component: Keyboard: Navigation → User events and focus handling
You need to log in before you can comment on or make changes to this bug.