Skip to content

Commit

Permalink
When focus moves to a new itemn in tree views in the Eclipse IDE, if …
Browse files Browse the repository at this point in the history
…the previously focused item is a check box, it is no longer incorrectly announced.

Fixes #4586.
  • Loading branch information
ragb authored and jcsteh committed Dec 3, 2014
1 parent 2fcf0fc commit 79161cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion source/appModules/eclipse.py
Expand Up @@ -20,7 +20,7 @@ def event_valueChange(self):
class AppModule(appModuleHandler.AppModule):

def event_NVDAObject_init(self, obj):
if obj.windowClassName == "SysTreeView32" and obj.role == controlTypes.ROLE_TREEVIEWITEM and controlTypes.STATE_FOCUSED not in obj.states:
if obj.windowClassName == "SysTreeView32" and obj.role in (controlTypes.ROLE_TREEVIEWITEM, controlTypes.ROLE_CHECKBOX) and controlTypes.STATE_FOCUSED not in obj.states:
# Eclipse tree views seem to fire a focus event on the previously focused item before firing focus on the new item (EclipseBug:315339).
# Try to filter this out.
obj.shouldAllowIAccessibleFocusEvent = False
Expand Down
1 change: 1 addition & 0 deletions user_docs/en/changes.t2t
Expand Up @@ -15,6 +15,7 @@
- When editing the content of a text box in Microsoft PowerPoint 2003, NVDA will correctly report the content of each line. Previously lines would increasingly be off by one character for each new paragraph. (#4619)
- All of NVDA's dialogs are now centred on the screen, improving visual presentation and usability. (#3148)
- In Skype for desktop, when entering an introductory message to add a contact, entering and moving through the text now works correctly. (#3661)
- When focus moves to a new itemn in tree views in the Eclipse IDE, if the previously focused item is a check box, it is no longer incorrectly announced. (#4586)


= 2014.4 =
Expand Down

0 comments on commit 79161cb

Please sign in to comment.