Closed
Bug 307153
Opened 20 years ago
Closed 20 years ago
since 20050817: After closing a modal-dialog, focus isn't restored to the right element
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.8beta4
People
(Reporter: asaf, Assigned: aaronlev)
References
Details
(Keywords: access, regression, verified1.8)
Attachments
(1 file)
|
3.28 KB,
patch
|
bryner
:
review+
bryner
:
superreview+
mtschrep
:
approval1.8b4+
|
Details | Diff | Splinter Review |
Regression: In the bookmarks manager, after closing a sub-(modal?)-dialog, focus
isn't restored to the right element, the result is a unresponsive toolbar
button set.
STR:
1. Open BM, choose an item in the right three.
2. Click Properties.
3. Click Ok.
--> The toolbar buttons do nothing unless you refocus the right tree.
| Reporter | ||
Updated•20 years ago
|
Flags: blocking1.8b5?
| Reporter | ||
Comment 1•20 years ago
|
||
Actually, this is larger problem, try this in a browser window:
1. Focus the content area
2. Open the about dialog (Windows/Linux) or the Add Bookmark Dialog (mac).
3. Close it
--> The content area isn't focused (arrow keys, etc. don't work).
Flags: blocking1.8b4?
Summary: Regression: In the bookmarks manager, focus isn't restored after closing a sub-dialog → Regression: After closing a modal-dialog, focus isn't restored to the right element
Comment 2•20 years ago
|
||
Confirmed regression using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050904
Firefox/1.0+
OS: MacOS X → All
Hardware: Macintosh → All
Comment 3•20 years ago
|
||
can you guys put together a regression window on this for us?
| Reporter | ||
Comment 4•20 years ago
|
||
WFM in:
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050816
Firefox/1.0+
Broken in:
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050817
Firefox/1.0+
Summary: Regression: After closing a modal-dialog, focus isn't restored to the right element → since 20050817: After closing a modal-dialog, focus isn't restored to the right element
| Reporter | ||
Updated•20 years ago
|
Component: Bookmarks → Event Handling
Product: Firefox → Core
Target Milestone: --- → mozilla1.8beta4
Version: 1.5 Branch → 1.8 Branch
Comment 5•20 years ago
|
||
Confirming this regression is from bug 258285, specifically it's from the
"Window Switch" focus suppressions that was removed. I have updated my patch
in bug 306076 to address this issue as well (i.e. bring them back, but add a
matching unsuppress).
Assignee: aaronleventhal → mats.palmgren
Depends on: 306076
| Assignee | ||
Comment 6•20 years ago
|
||
I have a fix for this which is not risky. It leaves in the original code but
adds a couple of null window checks. The null windows were causing the focus
suppression to misfire. So it fixes this bug without regressing any of the
testcase from the fix for bug 258285.
Assignee: mats.palmgren → aaronleventhal
| Assignee | ||
Comment 7•20 years ago
|
||
Attachment #195018 -
Flags: superreview?(bryner)
Attachment #195018 -
Flags: review?(mats.palmgren)
Comment 8•20 years ago
|
||
Comment on attachment 195018 [details] [diff] [review]
Reverse part of bug 258153, but add null checks so that it doesn't misfire when there is no window yet during tab switching
Looks ok, but can you fix the spelling of "suppress" in the comment while
you're here?
Attachment #195018 -
Flags: superreview?(bryner) → superreview+
Updated•20 years ago
|
Flags: blocking1.8b4? → blocking1.8b4+
Comment 9•20 years ago
|
||
Comment on attachment 195018 [details] [diff] [review]
Reverse part of bug 258153, but add null checks so that it doesn't misfire when there is no window yet during tab switching
a=schrep - per phone discussion fix is low-risk and critical - land on branch
and trunk
Attachment #195018 -
Flags: approval1.8b4+
Updated•20 years ago
|
Attachment #195018 -
Flags: review?(mats.palmgren) → review+
| Assignee | ||
Updated•20 years ago
|
| Reporter | ||
Updated•20 years ago
|
Flags: blocking1.8b5?
| Reporter | ||
Comment 10•20 years ago
|
||
verified on:
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050906
Firefox/1.4
Keywords: fixed1.8 → verified1.8
Updated•7 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
•