New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve status bar search #8

Closed
nvaccessAuto opened this Issue Jan 1, 2010 · 3 comments

Comments

Projects
None yet
2 participants
@nvaccessAuto

nvaccessAuto commented Jan 1, 2010

Reported by tvalusek on 2007-06-04 07:21
The search for a status bar, as used by the reportStatusLine script, currently fails in many cases, including Mozilla products. This search should be improved so that it works in as many cases as possible.

@nvaccessAuto

This comment has been minimized.

nvaccessAuto commented Jan 1, 2010

Comment 1 by jteh on 2008-02-04 00:35
There are two possibilities:

  • Just search the hierarchy for an object with a role of status bar.
    • This could be quite slow, but we need to investigate this.
    • If more than one status bar, which do we choose? Probably just the first.
  • We might be able to try getting the object at the coordinates of the bottom of the foreground window. From there, we can move up the hierarchy looking for a status bar.
    • What coordinates do we use: bottom left of window?
    • The status bar may not be at the bottom of the window.
    • How often would this work?
@nvaccessAuto

This comment has been minimized.

nvaccessAuto commented Jan 1, 2010

Comment 2 by jteh on 2008-03-25 10:46
Changes:
Changed title from "Status bar in Mozilla product: Not found" to "Improve status bar search"
Milestone changed from None to 0.6

@nvaccessAuto

This comment has been minimized.

nvaccessAuto commented Jan 1, 2010

Comment 4 by jteh on 2008-04-03 02:04
Implemented in r1875. I went for the second approach above; i.e. using the object at the bottom left in terms of screen coordinates. Please comment if reportStatusLine now fails in any cases where it used to work. Note that this still won't work in applications that do not expose accessible status bars; e.g. Microsoft Office 2000.
Changes:
State: closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment