Closed
Bug 574353
Opened 14 years ago
Closed 14 years ago
Cannot focus location bar with Cmd-L after viewing the customize sheet
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: phiw2, Assigned: asaf)
References
(Depends on 1 open bug)
Details
(Keywords: regression)
Attachments
(2 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
str:
1. choose View > Toolbars > Customize… (or right click in the main toolbar)
2. close the customize sheet (fails from the keyboard !).
3. try to focus the location bar from the keyboard (Cmd-L)
AR: nothing happens
ER: focus the location bar
(many) other keyboard shortcuts that fail equally.
this is broken since Gecko/20100422 Minefield/3.7a5pre (20100421 works fine)
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=cdc8bf25220e&tochange=ab4c6ba5ff70
possibly bug 355375 ?
Reporter | ||
Updated•14 years ago
|
blocking2.0: --- → ?
Comment 1•14 years ago
|
||
Updated•14 years ago
|
blocking2.0: ? → final+
Updated•14 years ago
|
Assignee: nobody → joshmoz
See also bug 577963 comment 2; perhaps these are related?
Comment 3•14 years ago
|
||
I changed the focus behavior on bug 544277, but I assumed that the change affects only for tab key navigation between documents...
Assignee: joshmoz → masayuki
Component: Widget: Cocoa → Event Handling
QA Contact: cocoa → events
Hardware: x86 → All
Comment 4•14 years ago
|
||
I backed out the patch of bug 544277 manually, but I can still reproduce this bug.
Assignee | ||
Comment 5•14 years ago
|
||
This is technically a regression from bug 418521, but the underlying issue might not be a new regression.
When the sheet opens, the iframe in which the sheet lives receives focus, but no element is focused (focusedWindow is customizeToolbar.xul, focusedElement is null). Then, when the "Done" button is clicked, the iframe gets hidden and the focus state doesn't change (the focusedWindow is still the iframe and there's no focusedElement).
Prior to the behavior change done in bug 418521, the "Done" button received focus when it was clicked, and after the iframe got hidden, the "Done" button lost focus, and the browser window received the focus.
I filed bug 584329 for the underlying issue.
Blocks: 418521
Assignee | ||
Comment 6•14 years ago
|
||
Workaround patch coming.
Assignee: nobody → mano
Status: NEW → ASSIGNED
Assignee | ||
Comment 7•14 years ago
|
||
Gavin: I think the test belongs to the underlying but. However, if you think this bug is worth its own test, let me know.
Attachment #462745 -
Flags: review?(gavin.sharp)
Reporter | ||
Comment 8•14 years ago
|
||
Mano, do you happen to know if there is a bug about the 'Done' button, which by default should react to 'enter/return' and 'esc', but doesn't ?
Assignee | ||
Comment 9•14 years ago
|
||
I cannot recall. It used to work long ago, as far as I remember. If you find a bug on that, or if you file one, please CC me and I'll look into that. Thanks!
Reporter | ||
Comment 10•14 years ago
|
||
(In reply to comment #9)
> I cannot recall. It used to work long ago, as far as I remember. If you find
> a bug on that, or if you file one, please CC me and I'll look into that.
> Thanks!
Filed bug 584336 for that.
Assignee | ||
Comment 11•14 years ago
|
||
Gavin, are you going to review this patch?
Comment 12•14 years ago
|
||
I can't reproduce this bug (mac trunk nightly). Am I missing something, or is it intermittent?
Comment 13•14 years ago
|
||
I was not able to reproduce on Fx4b4. I tried Linux and Mac.
Reporter | ||
Comment 14•14 years ago
|
||
still doesn't work here
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b5pre) Gecko/20100823 Minefield/4.0b4pre
http://hg.mozilla.org/mozilla-central/rev/34cfe33b865f
(I tried with a fresh profile, for good measure)
Comment 15•14 years ago
|
||
Apparently this is 10.6-only. Any ideas why that would be?
Reporter | ||
Comment 16•14 years ago
|
||
after a short chat with gavin on irc:
I tested this on 10.5 and indeed, on that OS, it works correctly.
My original tests have all been on 10.6
(I also verified tabs on top ON/OFF - it does not make a difference)
Comment 17•14 years ago
|
||
Comment on attachment 462745 [details] [diff] [review]
the workaround
Fine as a work around, I guess.
Attachment #462745 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Updated•14 years ago
|
Attachment #462745 -
Flags: approval2.0?
Assignee | ||
Comment 18•14 years ago
|
||
One thing that could impact is full keyboard access being on. For that reason you also cannot reproduce on Linux, the "Done" button is always focusable there.
Gavin, can you tab to the Done button on 10.5?
Comment 19•14 years ago
|
||
No, I tried with full keyboard access off and on - makes no difference.
Comment 20•14 years ago
|
||
Comment on attachment 462745 [details] [diff] [review]
the workaround
blocker, doesn't need approval
Attachment #462745 -
Flags: approval2.0?
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Comment 21•14 years ago
|
||
(In reply to comment #5)
> I filed bug 584329 for the underlying issue.
That bug blocking2.0 as well -- should we still take this patch?
Assignee | ||
Comment 22•14 years ago
|
||
I think we should either way (this isn't the kind of workaround I would back-out afterwards)
Comment 24•14 years ago
|
||
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•