commit/wintenApps: 6 new changesets

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Tue, 06 Sep 2016 03:45:56 -0000

6 new commits in wintenApps:

https://bitbucket.org/nvdaaddonteam/wintenapps/commits/3d9c3c4e6043/
Changeset:   3d9c3c4e6043
Branch:      None
User:        josephsl
Date:        2016-08-31 07:51:56+00:00
Summary:     Bing Maps: IAccessible AttributeError handling. fixes #6

Never trust controls fully - there are IAccessible controls in various 
universal apps (inclluding Bing Maps). This issue caused:
* Error tones were heard and exception was logged.
* Users could not navigate past location button when using the keyboard.

Affected #:  1 file

diff --git a/addon/appModules/maps.py b/addon/appModules/maps.py
index 537f487..33bad9c 100755
--- a/addon/appModules/maps.py
+++ b/addon/appModules/maps.py
@@ -36,5 +36,8 @@ class AppModule(appModuleHandler.AppModule):
 
        def chooseNVDAObjectOverlayClasses(self, obj, clsList):
                if isinstance(obj, UIA):
-                       if obj.role in (controlTypes.ROLE_STATICTEXT, 
controlTypes.ROLE_BUTTON) and obj.parent.parent.UIAElement.cachedClassName == 
"Map":
-                               clsList.insert(0, MapLocation)
+                       try:
+                               if obj.role in (controlTypes.ROLE_STATICTEXT, 
controlTypes.ROLE_BUTTON) and obj.parent.parent.UIAElement.cachedClassName == 
"Map":
+                                       clsList.insert(0, MapLocation)
+                       except AttributeError:
+                               pass


https://bitbucket.org/nvdaaddonteam/wintenapps/commits/9df07da82243/
Changeset:   9df07da82243
Branch:      None
User:        josephsl
Date:        2016-09-03 01:58:49+00:00
Summary:     Mail: suppress read-only state announcement. re #7

NVDA Core's Edge RS1 branch fixes this, but for those who'll not be running 
these builds, a temporary workaround will be provided. This will be gone once 
Edge RS1 makes its way to master branch.

Affected #:  1 file

diff --git a/addon/appModules/hxmail.py b/addon/appModules/hxmail.py
new file mode 100755
index 0000000..c99e15a
--- /dev/null
+++ b/addon/appModules/hxmail.py
@@ -0,0 +1,25 @@
+# WinTenApps/hxmail.py
+# Part of Windows 10 App Essentials collection
+# Copyright 2016 Joseph Lee, released under GPL.
+
+# Fixes for certain issues with Windows 10 Mail app (based on Outlook 2016).
+
+import appModuleHandler
+import controlTypes
+from NVDAObjects.UIA import UIA
+
+# Suppress read-only state announcement (quite anoying).
+class MessageBody(UIA):
+
+       def _get_states(self):
+               states = super(MessageBody, self).states
+               states.discard(controlTypes.STATE_READONLY)
+               return states
+
+class AppModule(appModuleHandler.AppModule):
+
+       def chooseNVDAObjectOverlayClasses(self, obj, clsList):
+               if isinstance(obj, UIA):
+                       # Very redundant to say "read-only" when we do know 
messages are read-only.
+                       if obj.UIAElement.cachedAutomationID == "Body":
+                                       clsList.insert(0, MessageBody)


https://bitbucket.org/nvdaaddonteam/wintenapps/commits/43d1cced9087/
Changeset:   43d1cced9087
Branch:      None
User:        josephsl
Date:        2016-09-03 07:50:18+00:00
Summary:     Calendar: suppress read-only state from appointment subject.

A variant of Mail app: appointment subject exposes anoying read-only state, 
thus suppress it as well.

Affected #:  1 file

diff --git a/addon/appModules/hxcalendarappimm.py 
b/addon/appModules/hxcalendarappimm.py
new file mode 100755
index 0000000..9bf3755
--- /dev/null
+++ b/addon/appModules/hxcalendarappimm.py
@@ -0,0 +1,25 @@
+# WinTenApps/hxcalendarappimm.py
+# Part of Windows 10 App Essentials collection
+# Copyright 2016 Joseph Lee, released under GPL.
+
+# Fixes for certain issues with Windows 10 Calendar app (based on Outlook 
2016).
+
+import appModuleHandler
+import controlTypes
+from NVDAObjects.UIA import UIA
+
+# Suppress read-only state announcement (quite anoying).
+class AppointmentSubject(UIA):
+
+       def _get_states(self):
+               states = super(AppointmentSubject, self).states
+               states.discard(controlTypes.STATE_READONLY)
+               return states
+
+class AppModule(appModuleHandler.AppModule):
+
+       def chooseNVDAObjectOverlayClasses(self, obj, clsList):
+               if isinstance(obj, UIA):
+                       # Very redundant to say "read-only" when we do know 
messages are read-only.
+                       if obj.UIAElement.cachedAutomationID == 
"QuickItemSubject":
+                                       clsList.insert(0, AppointmentSubject)


https://bitbucket.org/nvdaaddonteam/wintenapps/commits/5226c1b08e97/
Changeset:   5226c1b08e97
Branch:      None
User:        josephsl
Date:        2016-09-03 08:06:14+00:00
Summary:     Search field: announce suggestion appearance via braille

Affected #:  1 file

diff --git a/addon/globalPlugins/wintenObjs.py 
b/addon/globalPlugins/wintenObjs.py
index a32b86b..13f6b2a 100755
--- a/addon/globalPlugins/wintenObjs.py
+++ b/addon/globalPlugins/wintenObjs.py
@@ -15,6 +15,7 @@ from NVDAObjects.UIA import UIA
 from NVDAObjects.behaviors import Dialog
 import api
 import speech
+import braille
 import nvwave
 
 # Until NVDA Core ticket 5323 is implemented, have our own find app mod from 
PID handy.
@@ -63,6 +64,8 @@ class SearchField(UIA):
                focusControllerFor = focus.controllerFor
                if len(focusControllerFor)>0:
                        
nvwave.playWaveFile(os.path.join(os.path.dirname(__file__), "suggestion.wav"))
+                       # For deaf-blind users
+                       braille.handler.message("suggestions")
                else:
                        # Manually locate live region until NVDA Core 
implements this.
                        obj = focus


https://bitbucket.org/nvdaaddonteam/wintenapps/commits/6855cccb780e/
Changeset:   6855cccb780e
Branch:      None
User:        josephsl
Date:        2016-09-04 07:03:11+00:00
Summary:     Calendar: Forget description text if it's the same as the control 
label.

Quite anoying to hear the same thing for control name and desc, so forget the 
desc and move on.

Affected #:  1 file

diff --git a/addon/appModules/hxcalendarappimm.py 
b/addon/appModules/hxcalendarappimm.py
index 9bf3755..e0be059 100755
--- a/addon/appModules/hxcalendarappimm.py
+++ b/addon/appModules/hxcalendarappimm.py
@@ -18,6 +18,11 @@ class AppointmentSubject(UIA):
 
 class AppModule(appModuleHandler.AppModule):
 
+       def event_NVDAObject_init(self, obj):
+               # It is quite anoying to hear the same text for name and 
description, so forget the description.
+               if obj.name != "" and obj.description == obj.name:
+                       obj.description = None
+
        def chooseNVDAObjectOverlayClasses(self, obj, clsList):
                if isinstance(obj, UIA):
                        # Very redundant to say "read-only" when we do know 
messages are read-only.


https://bitbucket.org/nvdaaddonteam/wintenapps/commits/46ad592752d4/
Changeset:   46ad592752d4
Branch:      stable
User:        josephsl
Date:        2016-09-06 03:45:09+00:00
Summary:     Windows 10 App Essentials 16.09.1

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

Affected #:  2 files

diff --git a/buildVars.py b/buildVars.py
index 51915bd..ef6ec01 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.09",
+       "addon_version" : "16.09.1",
        # 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 8f7eb3a..749c09d 100755
--- a/readme.md
+++ b/readme.md
@@ -10,9 +10,12 @@ The following app modules or support modules for some apps 
are included (see eac
 
 * Alarms and Clock.
 * Bank of America
+* Calendar
 * Calculator (modern).
 * Cortana
 * Insider Hub/Feedback Hub (Windows Insiders only).
+* Mail
+* Maps
 * Microsoft Edge
 * Settings (system settings, Windows+I).
 * Skype Preview
@@ -21,18 +24,24 @@ The following app modules or support modules for some apps 
are included (see eac
 * Weather.
 * Miscellaneous modules for controls such as Start Menu tiles.
 
+Note: this add-on requires Windows 10 Version 1507 (build 10240) or later and 
NVDA 2015.4 or later.
+
 ## General
 
 * 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.
+* 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.
 * Time picker announcement works in non-English locales.
-* Appearance/close of suggestions for certain search fields (notably Settings 
app) is announced via sounds.
+* Appearance/close of suggestions for certain search fields (notably Settings 
app) is announced via sounds and/or brailled.
 
 ## Alarms and clock
 
 * Time picker values are now announced. This also affects the control used to 
select when to restart to finish installing Windows updates.
 
+* Calendar and Mail
+
+* NVDA no longer announces "read-only" for appointment subject in Calendar and 
message content in Mail.
+
 ## Calculator
 
 * When ENTER is pressed, NVDA announces calculation results.
@@ -40,6 +49,7 @@ The following app modules or support modules for some apps 
are included (see eac
 ## Cortana
 
 * Textual responses from Cortana are announced in most situations (if it 
doesn't, reopen Start menu and try searching again).
+* For better experience when talking to Cortana, press Cortana listening mode 
hotkey (Windows+C on Versions 1507 and 1511, Windows+Shift+C in version 1607).
 
 ## Insider/Feedback Hub and TeamViewer Touch
 
@@ -47,6 +57,10 @@ The following app modules or support modules for some apps 
are included (see eac
 * Labels for radio buttons are announced.
 * TeamViewer Touch: Lables for buttons are announced.
 
+## Maps
+
+* NVDA plays location beep for map locations.
+
 ## Microsoft Edge
 
 * Notifications such as file downloads are now announced.
@@ -60,7 +74,7 @@ The following app modules or support modules for some apps 
are included (see eac
 ## Skype Preview
 
 * Typing indicator text is announced just like Skype for Desktop client.
-* Partial return of Control+NvDA+number row commands to read recent chat 
history.
+* Partial return of Control+NvDA+number row commands to read recent chat 
history and to move navigator object to chat entries just like Skype for 
Desktop.
 
 ## Bank of America/Twitter

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: