Skip to content
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

appModules should have a way to override the logic to retrieve status bar text in api.getStatusBar #2125

Closed
nvaccessAuto opened this issue Feb 23, 2012 · 2 comments · Fixed by #9792

Comments

@nvaccessAuto
Copy link

nvaccessAuto commented Feb 23, 2012

Reported by ragb on 2012-02-23 14:26
Currently api.getStatusbar() tries to retrieve the statusbar object from the botom left corner of the foreground window. In some windows such as WiNdows Live messenger the statusbar is not dectected. In the case of windows messenger the statusbar has no statusbar role either but can be customized in the appModule as it is the history Window.

The idea is to provide some method on the appModule class to get the statusbar object. If the module does not implement that method, or returns, None (or some other way to report that it can't find the status bar) the current logic is used.

Is this suitable for inclusion? If yes, shall I write a patch?

@leonardder
Copy link
Collaborator

leonardder commented Jul 5, 2017

On #6769, @feerrenrut posted some relevant tickets for this:

  • Unable to find status bar in Visual Studio Ref bug #5618
  • Unable to find status bar in Office aplications #649
  • Status bar handling does not work with Java Access Bridge applications #5674

@leonardder
Copy link
Collaborator

leonardder commented Jul 15, 2017

Closing as duplicate of #4640. Even though this issue is older, #4640 contains more discussion.

@leonardder leonardder marked this as a duplicate of #4640 Jul 15, 2017
feerrenrut pushed a commit that referenced this issue Apr 30, 2020
…9792)

Add at AppModule level:
-  _get_statusBar : For use by api.getStatusBar to retrieve a custom object
-  _get_statusBarTextInfo : For use by GlobalCommands.script_reportStatusLine when resorting to flat review.

Fixes #2125
Fixes #4640
@nvaccessAuto nvaccessAuto modified the milestone: 2020.1 Apr 30, 2020
@feerrenrut feerrenrut modified the milestones: 2020.1, 2020.2 Apr 30, 2020
@feerrenrut feerrenrut added this to To do in [Project] Status Bar Improvements via automation May 8, 2020
@feerrenrut feerrenrut moved this from To do to Done in [Project] Status Bar Improvements May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

3 participants