Closed
Bug 650241
Opened 14 years ago
Closed 13 years ago
Location returned by accessibles sometimes incorrect when page zoomed
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
mozilla13
People
(Reporter: Jamie, Assigned: surkov)
References
(Blocks 1 open bug)
Details
(Keywords: access, regression)
Attachments
(3 files, 1 obsolete file)
|
98 bytes,
text/html
|
Details | |
|
9.88 KB,
patch
|
MarcoZ
:
review+
|
Details | Diff | Splinter Review |
|
7.55 KB,
patch
|
MarcoZ
:
review+
|
Details | Diff | Splinter Review |
Sometimes, the screen location returned by accessible objects seems to be incorrect.
Str:
1. Open Google Calendar.
2. Open the Create Event page.
3. Press alt+d to move to the Location Bar, then tab a few times until focus lands on the "Mail" link.
4. Press alt+d to move to the location bar, then shift+tab a few times until focus lands on the Discard button.
5. Check the location returned by the focused accessible.
Expected: The location returned should be the location of the button on screen (inside the browser window).
Actual: The location returned is outside the browser window.
I've seen this issue in quite a few other places and it makes routing the mouse to and/or clicking these elements impossible, which is sometimes necessary. It has made some nasty sites literally unusable for me with NVDA. The example above is the easiest and most reliable to reproduce. Unfortunately, I have no idea at all what is causing this, so I haven't been able to come up with a simple, isolated test case.
This works fine in Firefox 3.6.
Comment 1•14 years ago
|
||
Jamie, can you re-test this with latest nightlies? We just recently got a bug fix in that fixes a few child/deepest child at certain locations issues.
| Reporter | ||
Comment 2•14 years ago
|
||
I can still reproduce as described using Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0a1) Gecko/20110502 Firefox/6.0a1
Comment 3•14 years ago
|
||
Thanks, so bug 650235 didn't fix this one.
| Assignee | ||
Comment 4•14 years ago
|
||
Can't reproduce with accprobe on trunk, it shows red rectangle around discard button after I do steps to reproduce. Any idea, how else I can try to see a bug?
| Assignee | ||
Updated•14 years ago
|
Blocks: boundsa11y
Comment 5•14 years ago
|
||
Again the question: Is this maybe fixed by bug 656089?
| Assignee | ||
Comment 6•14 years ago
|
||
(In reply to comment #5)
> Again the question: Is this maybe fixed by bug 656089?
I have doubts because bug 656089 is about caret rect, this one is about accessible object rect, they are calculated independently.
| Reporter | ||
Comment 7•14 years ago
|
||
Okay. Finally figured out what's causing this particular case.
1. Open the attached test case.
2. Press control+0 to reset page zoom.
3. Check the top left of the location reported for the first paragraph accessible.
Result (correct): The point is within the paragraph.
4. Press control+= (control+equals) twice to zoom the page in.
5. Check the top left of the location reported for the first paragraph accessible.
Expected: The point should be the top left of the paragraph.
Actual: The point is in the top part of the browser chrome.
| Reporter | ||
Updated•14 years ago
|
Summary: Location returned by accessibles sometimes incorrect → Location returned by accessibles sometimes incorrect when page zoomed
| Assignee | ||
Comment 8•13 years ago
|
||
regression from bug 528796, lack of testsuite, again.
Assignee: nobody → surkov.alexander
Depends on: 528796
| Assignee | ||
Updated•13 years ago
|
| Assignee | ||
Comment 9•13 years ago
|
||
Attachment #599142 -
Flags: review?(marco.zehe)
Comment 10•13 years ago
|
||
Comment on attachment 599142 [details] [diff] [review]
patch
r=me with just one nit:
>+ * Return the accessible coordinates and size relative the screen.
"relative to the screen"
Attachment #599142 -
Flags: review?(marco.zehe) → review+
| Assignee | ||
Comment 11•13 years ago
|
||
| Assignee | ||
Comment 12•13 years ago
|
||
Attachment #599495 -
Flags: review?(marco.zehe)
| Assignee | ||
Comment 13•13 years ago
|
||
updated to trunk
Attachment #599495 -
Attachment is obsolete: true
Attachment #599495 -
Flags: review?(marco.zehe)
Attachment #599506 -
Flags: review?(marco.zehe)
Comment 14•13 years ago
|
||
Comment on attachment 599506 [details] [diff] [review]
improve testing v2
r=me, veeery nice!
Attachment #599506 -
Flags: review?(marco.zehe) → review+
| Assignee | ||
Comment 15•13 years ago
|
||
Comment 16•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/bde8c5a15988
(Leaving open for test to merge)
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla13
Comment 17•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 18•13 years ago
|
||
I'm confused, there was another cset with this bug number (comment 17), but it's not the test.
Reopening; suspect wrong bug number in commit message for one of them - can I leave you to sort please?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 19•13 years ago
|
||
(In reply to Ed Morley [:edmorley] from comment #18)
> I'm confused, there was another cset with this bug number (comment 17), but
> it's not the test.
>
> Reopening; suspect wrong bug number in commit message for one of them - can
> I leave you to sort please?
there are three landings here
1) original patch + mochitest (central)
2) disabled test because mochitest of original patch failed (central)
3) improved test (inbound)
so this changeset was #2 (no patch is attached here).
Comment 20•13 years ago
|
||
(In reply to alexander :surkov from comment #19)
> (no patch is attached here).
Ah - thank you :-)
https://hg.mozilla.org/mozilla-central/rev/499846502bf3
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•