Closed Bug 390761 Opened 17 years ago Closed 17 years ago

Using DOM Inspector to view accessnode will load atk-bridge, libgail when Gnome a11y is off

Categories

(Core :: Disability Access APIs, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: ginnchen+exoracle, Assigned: ginnchen+exoracle)

Details

Attachments

(1 file, 1 obsolete file)

Turn off "Enable assistive technologies" in AT Preference. Open Firefox, open DOM Inspector, check view->Show Accessible Node. You'll see GTK Accessibility Module initialized WARNING **: AT_SPI_REGISTRY was not started at session startup. WARNING **: IOR not set. WARNING **: Could not locate registry.
Aaron, I suggest we add a method in nsIAccessibilityService to getIsGnomeAccessibilityEnabled. We can move these code to this method. http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/widget/src/gtk2/nsWindow.cpp&rev=1.225&mark=3097-3119#3097 Then we can do the check in atk/nsAppRootAcessible.cpp
It doesn't work. Because we do InitAccessibility() in GetAccessibilityService(). I don't know where to put the hunk now.
Attached patch patch (obsolete) — Splinter Review
At this time, the safest way is to copy the code.
Attachment #275579 - Flags: review?(aaronleventhal)
Attachment #275579 - Flags: review?(aaronleventhal) → review?(surkov.alexander)
(In reply to comment #3) > Created an attachment (id=275579) [details] > patch > > At this time, the safest way is to copy the code. > Ok, please add XXX section then. Also why do we need g_type_class_unref(g_type_class_ref(MAI_TYPE_UTIL)); ?
Attached patch patchSplinter Review
my fault, in this case, we need MAI_TYPE_ATK_OBJECT, don't need MAI_TYPE_UTIL
Attachment #275579 - Attachment is obsolete: true
Attachment #275736 - Flags: review?(surkov.alexander)
Attachment #275579 - Flags: review?(surkov.alexander)
Attachment #275736 - Attachment is patch: true
Attachment #275736 - Attachment mime type: text/x-patch → text/plain
Attachment #275736 - Flags: review?(surkov.alexander) → review+
Attachment #275736 - Flags: review?
Attachment #275736 - Flags: review? → approval1.9?
Attachment #275736 - Flags: approval1.9? → approval1.9+
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Summary: Using DOM Inspector to view accessnode with load atk-bridge, libgail when Gnome a11y is off → Using DOM Inspector to view accessnode will load atk-bridge, libgail when Gnome a11y is off
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: