Closed
Bug 507382
Opened 15 years ago
Closed 15 years ago
focus is fired earlier than root accessible name is changed when switching between tabs
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
VERIFIED
FIXED
mozilla1.9.3a1
Tracking | Status | |
---|---|---|
status1.9.2 | --- | beta1-fixed |
People
(Reporter: surkov, Assigned: surkov)
References
(Blocks 1 open bug)
Details
(Keywords: access, verified1.9.2)
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
davidb
:
review+
neil
:
superreview+
benjamin
:
approval1.9.2+
dveditz
:
approval1.9.1.6-
|
Details | Diff | Splinter Review |
focus is fired earlier than root accessible name is changed when switching between tabs of tabbrowser
Assignee | ||
Comment 1•15 years ago
|
||
So DOM events are fired in correct order, select and then focus. When we get focus then @title attribute is updated already. But accessible name might be not updated yet. I guess problem is in nsIBaseWindow::GetTitle which is used in nsRootAccessible::GetName().
Assignee | ||
Comment 2•15 years ago
|
||
This mochitest doesn't demonstrate the bug if events debug dump is disabled. Probably timing issue.
Attachment #391579 -
Attachment is obsolete: true
Assignee | ||
Comment 3•15 years ago
|
||
Ttile is changed on async event, see http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsDocument.cpp#4977. That's the problem.
Assignee | ||
Comment 4•15 years ago
|
||
Note, getting name from title and title caching in nsXULWindow.cpp has been introduced in bug 257739.
Assignee | ||
Comment 5•15 years ago
|
||
I wonder if nsDocument::GetTitle will work for us (keeping in mind SVG since it updates document title as well, see http://mxr.mozilla.org/mozilla-central/source/content/svg/content/src/nsSVGTitleElement.cpp#192).
If it is then should we remove the code of nsXULWindow.cpp introduced in bug 257739?
CC'ing Neil since he took a part in discussion of the bug 257739.
Comment 6•15 years ago
|
||
(In reply to comment #5)
> should we remove the code of nsXULWindow.cpp introduced in bug 257739?
Since that code implemented previously unimplemented interface methods I don't quite see the point of unimplementing them again...
Assignee | ||
Comment 7•15 years ago
|
||
changing blocking since there is nothing wrong with a11y events here.
Assignee | ||
Comment 8•15 years ago
|
||
Assignee: nobody → surkov.alexander
Attachment #391592 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #391778 -
Flags: superreview?(neil)
Attachment #391778 -
Flags: review?
Comment 9•15 years ago
|
||
Comment on attachment 391778 [details] [diff] [review]
patch
I doubt that your code change is big enough to merit superreview ;-)
Attachment #391778 -
Flags: superreview?(neil) → superreview+
Assignee | ||
Updated•15 years ago
|
Attachment #391778 -
Flags: review? → review?(bolterbugz)
Assignee | ||
Comment 10•15 years ago
|
||
(In reply to comment #9)
> (From update of attachment 391778 [details] [diff] [review])
> I doubt that your code change is big enough to merit superreview ;-)
Ah, just to ensure nsIDOMNSDocument::GetTitle is all we look for :)
Comment 11•15 years ago
|
||
Comment on attachment 391778 [details] [diff] [review]
patch
>+ <a target="_blank"
>+ href="https://bugzilla.mozilla.org/show_bug.cgi?id="
>+ title="">
>+ Mozilla Bug
>+ </a>
This looks incomplete to me.
Also, what's the chmod change for relations.js in this patch?
Comment 12•15 years ago
|
||
Comment on attachment 391778 [details] [diff] [review]
patch
r=me thanks!
Attachment #391778 -
Flags: review?(bolterbugz) → review+
Assignee | ||
Comment 13•15 years ago
|
||
checked in with Marco's comments addressed on 1.9.3 - http://hg.mozilla.org/mozilla-central/rev/adb5151a10eb
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•15 years ago
|
Attachment #391778 -
Flags: approval1.9.2?
Assignee | ||
Comment 14•15 years ago
|
||
Comment on attachment 391778 [details] [diff] [review]
patch
it's urgent for AT users to hear correct page name when they are switched between tabs. Simple fix.
Assignee | ||
Updated•15 years ago
|
Flags: in-testsuite+
Comment 15•15 years ago
|
||
Verified fixed in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a1pre) Gecko/20090822 Minefield/3.7a1pre (.NET CLR 3.5.30729)
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Attachment #391778 -
Flags: approval1.9.2? → approval1.9.2+
Assignee | ||
Comment 16•15 years ago
|
||
landed on 1.9.2 - http://hg.mozilla.org/releases/mozilla-1.9.2/rev/8f632ea6e803
Assignee | ||
Comment 17•15 years ago
|
||
Comment on attachment 391778 [details] [diff] [review]
patch
originally bug was reported under 3.5 firefox version, important for AT users, simple fix.
Attachment #391778 -
Flags: approval1.9.1.4?
Assignee | ||
Updated•15 years ago
|
status1.9.2:
--- → beta1-fixed
Comment 18•15 years ago
|
||
Comment on attachment 391778 [details] [diff] [review]
patch
Approved for 1.9.1.4, a=dveditz -- but must be landed by Tuesday (sept 22).
Attachment #391778 -
Flags: approval1.9.1.4? → approval1.9.1.4+
Comment 19•15 years ago
|
||
Alex, can you take care of landing this? This is using portions of our events testing which we haven't backported to 1.9.1 yet.
Comment 20•15 years ago
|
||
Comment on attachment 391778 [details] [diff] [review]
patch
Oops, forgot that Alex is attending a conference this week and won't be able to complete this in time. Deferring it to 1.9.1.5 since the 1.9.1 version of this patch needs some delicate porting.
Attachment #391778 -
Flags: approval1.9.1.4+ → approval1.9.1.5?
Comment 21•15 years ago
|
||
Verified fixed on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2b1pre) Gecko/20090922 Namoroka/3.6b1pre (.NET CLR 3.5.30729)
Keywords: verified1.9.2
Comment 22•15 years ago
|
||
Comment on attachment 391778 [details] [diff] [review]
patch
"delicate porting" doesn't instill us will confidence, but in any case indicates this is definitely not the patch you mean to request approval on.
Attachment #391778 -
Flags: approval1.9.1.5? → approval1.9.1.5-
Assignee | ||
Comment 23•15 years ago
|
||
Daniel, sorry, I didn't get your point. Why do you think this patch shouldn't be landed on 1.9.1?
Comment 24•15 years ago
|
||
comment 20 says we need a different patch for 1.9.1.
I interpreted "delicate" as "tricky", but maybe it means "minor"? Either way, get us a patch that applies to 1.9.1 (that you've tested builds on 1.9.1 and fixes the bug there) before requesting approval on it.
Since this is not
1) a security fix
2) a top crash fix, or
3) fixing a regression from an earlier stable-branch patch
the presumption is that we're not taking it for a stable branch release.
https://wiki.mozilla.org/TreeStatus#mozilla-1.9.1_-_1.9.1_Branch_.28Firefox_3.5.x.2C_Gecko_1.9.1_work.29
Assignee | ||
Comment 25•15 years ago
|
||
If I'll update patch to 1.9.1 and test it then can I ask approval again even if this patch is not security fix and etc? Because this patch makes AT user life easier when they switch between tabs, otherwise they won't know which tab they chose.
Updated•15 years ago
|
Target Milestone: --- → mozilla1.9.3a1
Version: unspecified → Trunk
You need to log in
before you can comment on or make changes to this bug.
Description
•