commit/wintenApps: 4 new changesets

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Sat, 14 Jan 2017 16:36:22 -0000

4 new commits in wintenApps:

https://bitbucket.org/nvdaaddonteam/wintenapps/commits/855856695f2f/
Changeset:   855856695f2f
Branch:      None
User:        josephsl
Date:        2017-01-14 16:21:51+00:00
Summary:     Windows Store: recognize the new app module as the official 
version.

Affected #:  2 files

diff --git a/addon/appModules/winstore_app.py b/addon/appModules/winstore_app.py
index 48acf38..17f0a61 100755
--- a/addon/appModules/winstore_app.py
+++ b/addon/appModules/winstore_app.py
@@ -3,6 +3,15 @@
 # Copyright 2016 Joseph Lee, released under GPL
 
 # Enhancements to support Windows Store.
-# New app module as of November 2016.
 
-from winstore_mobile import *
+import appModuleHandler
+import ui
+import controlTypes
+from NVDAObjects.UIA import UIA
+
+class AppModule(appModuleHandler.AppModule):
+
+       def event_NVDAObject_init(self, obj):
+               # Extraneous information announced when going through apps to 
be updated/installed, so use a grandchild's name.
+               if isinstance(obj, UIA) and obj.role == 
controlTypes.ROLE_LISTITEM and obj.firstChild and 
obj.firstChild.UIAElement.cachedAutomationID == "InstallControl":
+                       obj.name = obj.firstChild.firstChild.name

diff --git a/addon/appModules/winstore_mobile.py 
b/addon/appModules/winstore_mobile.py
index 17f0a61..b453960 100755
--- a/addon/appModules/winstore_mobile.py
+++ b/addon/appModules/winstore_mobile.py
@@ -3,15 +3,6 @@
 # Copyright 2016 Joseph Lee, released under GPL
 
 # Enhancements to support Windows Store.
+# Old app module as of November 2016.
 
-import appModuleHandler
-import ui
-import controlTypes
-from NVDAObjects.UIA import UIA
-
-class AppModule(appModuleHandler.AppModule):
-
-       def event_NVDAObject_init(self, obj):
-               # Extraneous information announced when going through apps to 
be updated/installed, so use a grandchild's name.
-               if isinstance(obj, UIA) and obj.role == 
controlTypes.ROLE_LISTITEM and obj.firstChild and 
obj.firstChild.UIAElement.cachedAutomationID == "InstallControl":
-                       obj.name = obj.firstChild.firstChild.name
+from winstore_app import *


https://bitbucket.org/nvdaaddonteam/wintenapps/commits/a0ffadc91a4f/
Changeset:   a0ffadc91a4f
Branch:      None
User:        josephsl
Date:        2017-01-14 16:22:26+00:00
Summary:     Windows Store: recognize controller for event for recent Store 
updates.

A feedback was sent regarding lack of controller for event when search results 
are shown. This has been fixed in recent Store versions, so incorporate NvDA's 
response (provide controller for event, and this time, let the app module 
derive the overlay class from the global plugin).

Affected #:  1 file

diff --git a/addon/appModules/winstore_app.py b/addon/appModules/winstore_app.py
index 17f0a61..a27e2d2 100755
--- a/addon/appModules/winstore_app.py
+++ b/addon/appModules/winstore_app.py
@@ -15,3 +15,8 @@ class AppModule(appModuleHandler.AppModule):
                # Extraneous information announced when going through apps to 
be updated/installed, so use a grandchild's name.
                if isinstance(obj, UIA) and obj.role == 
controlTypes.ROLE_LISTITEM and obj.firstChild and 
obj.firstChild.UIAElement.cachedAutomationID == "InstallControl":
                        obj.name = obj.firstChild.firstChild.name
+
+       def chooseNVDAObjectOverlayClasses(self, obj, clsList):
+               if isinstance(obj, UIA) and obj.UIAElement.cachedAutomationID 
== "SearchTextBox":
+                       import globalPlugins.wintenObjs
+                       clsList.insert(0, globalPlugins.wintenObjs.SearchField)


https://bitbucket.org/nvdaaddonteam/wintenapps/commits/84878cc2108d/
Changeset:   84878cc2108d
Branch:      None
User:        josephsl
Date:        2017-01-14 16:23:12+00:00
Summary:     Settings app: allow NVDA to recognize group names when moving 
through controls via object navigation.

For groupings, a specific string is part of UIA Automation ID (hopefully this 
should not change), thus NVDA can now detect and recognize them as groupings.

Affected #:  1 file

diff --git a/addon/appModules/systemsettings.py 
b/addon/appModules/systemsettings.py
index b64fa00..23c79ee 100755
--- a/addon/appModules/systemsettings.py
+++ b/addon/appModules/systemsettings.py
@@ -14,9 +14,12 @@ class AppModule(appModuleHandler.AppModule):
        def event_NVDAObject_init(self, obj):
                if isinstance(obj, UIA):
                        # Despite repeated feedback, there's at least one 
unlabeled toggle button in Settings app.
-                       # One particular case is Settings/Update/Developer Mode 
with USB/LAN discovery toggle button in Redstone.
+                       # One particular case is Settings/Update/Developer Mode 
with USB/LAN discovery toggle button in Redstone (fixed in build 14986).
                        if obj.name == "" and obj.role == 
controlTypes.ROLE_TOGGLEBUTTON:
                                obj.name = obj.previous.name
+                       # Recognize groups of controls for contextual output 
(more prominent in Redstone 2).
+                       elif 
obj.UIAElement.cachedAutomationID.endswith("GroupTitleTextBlock"):
+                               obj.role = controlTypes.ROLE_GROUPING
 
        # Live region changed event is treated as a name change for now.
        # Sometimes, the same text is announced, so consult this cache.


https://bitbucket.org/nvdaaddonteam/wintenapps/commits/d38193a862e9/
Changeset:   d38193a862e9
Branch:      stable
User:        josephsl
Date:        2017-01-14 16:35:57+00:00
Summary:     WinTenApps 17.01, minor fixes and enhancements

Signed-off-by: Joseph Lee <joseph.lee22590@xxxxxxxxx>

Affected #:  2 files

diff --git a/buildVars.py b/buildVars.py
index af32e01..2d3b798 100755
--- a/buildVars.py
+++ b/buildVars.py
@@ -19,7 +19,7 @@ addon_info = {
        # Translators: Long description to be shown for this add-on on add-on 
information from add-ons manager
        "addon_description" : _("""A collection of app modules for various 
Windows 10 apps"""),
        # version
-       "addon_version" : "16.12.2",
+       "addon_version" : "17.01",
        # Author(s)
        "addon_author" : u"Joseph Lee <joseph.lee22590@xxxxxxxxx>, Derek Riemer 
<driemer.riemer@xxxxxxxxx> and others",
        # URL for the add-on documentation support

diff --git a/readme.md b/readme.md
index 5633201..c7fc5a8 100755
--- a/readme.md
+++ b/readme.md
@@ -23,7 +23,7 @@ The following app modules or support modules for some apps 
are included (see eac
 * Twitter.
 * TeamViewer Touch.
 * Weather.
-* Windows Defender UWP (Creators Update and later)
+* Windows Defender Security Center (Creators Update and later)
 * Miscellaneous modules for controls such as Start Menu tiles.
 
 Note: this add-on requires Windows 10 Version 1511 (build 10586) or later and 
NVDA 2016.3 or later. For best results, use the add-on with latest stable build 
(build 14393).
@@ -33,7 +33,7 @@ Note: this add-on requires Windows 10 Version 1511 (build 
10586) or later and NV
 * In context menus for Start Menu tiles, submenus are properly recognized.
 * When minimizing windows (Windows+M), "pane" is no longer announced 
(noticeable if using Insider Preview builds).
 * Certain dialogs are now recognized as proper dialogs. This include Insider 
Preview dialog (settings app) and new-style UAC dialog in build 14328 and later 
for NvDA 2016.2.1 or earlier.
-* Appearance/close of suggestions for certain search fields (notably Settings 
app) is announced via sounds and/or brailled.
+* Appearance/close of suggestions for certain search fields (notably Settings 
and Store apps) is announced via sounds and/or brailled.
 * In certain context menus (such as in Edge), position information (e.g. 1 of 
2) is no longer announced.
 * The following UIA events are recognized: Controller for, live region changed 
(handled by name change event).
 
@@ -73,6 +73,7 @@ Note: this add-on requires Windows 10 Version 1511 (build 
10586) or later and NV
 * Certain information such as Windows Update progress is now reported 
automatically.
 * Progress bar values and other information are no longer announced twice.
 * If it takes a while to search for settings, NVDA will announce "searching" 
and search result status such as if a setting cannot be found.
+* Settings groups are recognized when using object navigation to navigate 
between controls.
 
 ## Skype Preview
 
@@ -84,16 +85,17 @@ Note: this add-on requires Windows 10 Version 1511 (build 
10586) or later and NV
 ## Store
 
 * After checking for app updates, app names in list of apps to be updated are 
correctly labeled.
+* Appearance of search suggestions are now announced.
 
 ## TeamViewer Touch
 
 * Labels for radio buttons are announced.
 * Lables for buttons are announced.
 
-## Bank of America/Twitter/Windows Defender UWP
+## Bank of America/Twitter/Windows Defender Security Center
 
 * Button labels are now announced.
-* Windows Defender universal app is included in build 14986 and later and 
support for this app from this add-on is subject to change.
+* Windows Defender Security Center (universal app) is included in build 14986 
and later and support for this app from this add-on is subject to change.
 
 ## Weather

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

--

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: