commit/StationPlaylist: josephsl: Window styles (6.0-dev): Studio 5.0x window style found, fixing a rare bug where NVDA did not recognize Studio track item.

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Sun, 23 Aug 2015 02:40:41 -0000

1 new commit in StationPlaylist:

https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/9e4958a1f68f/
Changeset: 9e4958a1f68f
Branch: 6.0/windowStyle
User: josephsl
Date: 2015-08-23 02:40:36+00:00
Summary: Window styles (6.0-dev): Studio 5.0x window style found, fixing a
rare bug where NVDA did not recognize Studio track item.

Apparently Studio 5.0x uses a different window style (hope it stays that way).
As of this commit, a rare bug where NVDA would not allow track commands to be
performed after closing an NVDA dialog or switching to Studio has been
corrected.

Affected #: 1 file

diff --git a/addon/appModules/splstudio/__init__.py
b/addon/appModules/splstudio/__init__.py
index a34ee61..2225b79 100755
--- a/addon/appModules/splstudio/__init__.py
+++ b/addon/appModules/splstudio/__init__.py
@@ -311,7 +311,7 @@ class AppModule(appModuleHandler.AppModule):
windowStyle = obj.windowStyle
if obj.windowClassName == "TTntListView.UnicodeClass" and role
== controlTypes.ROLE_LISTITEM and windowStyle == 1443991625:
clsList.insert(0, SPL510TrackItem)
- elif obj.windowClassName == "TListView" and role in
(controlTypes.ROLE_CHECKBOX, controlTypes.ROLE_LISTITEM) and windowStyle ==
1443991625:
+ elif obj.windowClassName == "TListView" and role in
(controlTypes.ROLE_CHECKBOX, controlTypes.ROLE_LISTITEM) and windowStyle ==
1442938953:
clsList.insert(0, SPLTrackItem)

# Keep an eye on library scans in insert tracks window.

Repository URL: https://bitbucket.org/nvdaaddonteam/stationplaylist/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.

Other related posts:

  • » commit/StationPlaylist: josephsl: Window styles (6.0-dev): Studio 5.0x window style found, fixing a rare bug where NVDA did not recognize Studio track item. - commits-noreply