Closed Bug 244677 Opened 20 years ago Closed 20 years ago

Window-Eyes saying "loading page" and "load done" for non-visible documents

Categories

(Core :: Disability Access APIs, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: aaronlev, Assigned: aaronlev)

Details

(Keywords: access)

Attachments

(1 file)

If you load a tab in the background, Window-Eyes should not try to grab the MSAA
tree for it. It should also ignore the spurious about:blank load when Mozilla is
first launched.

Steps:
1. Run Window-Eyes
2. Run Mozilla, hear "loading page" "load done" twice
3. When focused on a link, hit Shift+insert to load link in backgroud - hear
"loading page" "load done" and notice that you can't navigate the current page
anymore.

What should happen:
For step 2 - Should only say "loading page" "load done" once
For step 3 - Shouldn't load a page unless it's visible on the screen
Attachment #149299 - Flags: superreview?(Henry.Jia)
Attachment #149299 - Flags: review?(kyle.yuan)
Comment on attachment 149299 [details] [diff] [review]
1) Implement STATE_INVISIBLE for docs. 2) Don't fire state change for  doc load finished unless doc is visible, 3) Use delay before attempting to fire doc load finished event

r=kyle, just one question: (no new patch needed)

>+  if (shell) {
>+    shell->GetDocument(getter_AddRefs(mDocument));

why do you re-get the document here? mDocument is already set in the
constructor.
Attachment #149299 - Flags: review?(kyle.yuan) → review+
Right, Kyle, thanks. I'll remove the unnecessary line.
Attachment #149299 - Flags: superreview?(Henry.Jia) → superreview+
Checking in nsDocAccessible.cpp;
/cvsroot/mozilla/accessible/src/base/nsDocAccessible.cpp,v  <--  nsDocAccessible.cpp
new revision: 1.38; previous revision: 1.37
done
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: