Steps to reproduce:
- Download openTween login into Twitter with it.
- Download and install openTween add-on from http://dlee.org/tween/py3/opentween.nvda-addon
- Try to navigate the list of tweets.
Actual behavior:
The error sound is played, and the following is in the log
ERROR - eventHandler.executeEvent (19:19:47.368) - MainThread (5964):
error executing event: gainFocus on <nvdaBuiltin.appModules.tween.TweetListItem object at 0x0B65DCF0> with extra args of {}
Traceback (most recent call last):
File "eventHandler.py", line 155, in executeEvent
EventExecuter(eventName,obj,kwargs)
File "eventHandler.py", line 92, in init
self.next()
File "eventHandler.py", line 100, in next
return func(*args, **self.kwargs)
File "NVDAObjects_init.py", line 1102, in event_gainFocus
self.reportFocus()
File "NVDAObjects\behaviors.py", line 611, in reportFocus
return super(RowWithFakeNavigation, self).reportFocus()
File "NVDAObjects_init_.py", line 988, in reportFocus
speech.speakObject(self,reason=controlTypes.REASON_FOCUS)
File "speech_init_.py", line 450, in speakObject
prefixSpeechCommand,
File "speech_init.py", line 491, in getObjectSpeech
**allowProperties
File "speech_init_.py", line 358, in getObjectPropertiesSpeech
newPropertyValues[name]=getattr(obj,tryName)
File "baseObject.py", line 42, in get
return instance._getPropertyViaCache(self.fget)
File "baseObject.py", line 145, in _getPropertyViaCache
val=getterMethod(self)
File "appModules\tween.py", line 26, in _get_name
return super(TweetListItem, self).name
File "baseObject.py", line 42, in get
return instance._getPropertyViaCache(self.fget)
File "baseObject.py", line 145, in _getPropertyViaCache
val=getterMethod(self)
File "NVDAObjects\IAccessible\sysListView32.py", line 438, in _get_name
content = self._getColumnContent(col)
File "NVDAObjects\IAccessible\sysListView32.py", line 382, in _getColumnContent
return self._getColumnContentRaw(self.parent._columnOrderArray[column - 1])
File "appModules\tween.py", line 44, in _getColumnContentRaw
locationHelper.RectLTRB(left, top, left + width, top + height)).text
File "displayModel.py", line 292, in init
super(DisplayModelTextInfo, self).init(obj, position)
File "textInfos\offsets.py", line 458, in init
self._endOffset=self._getStoryLength()
File "displayModel.py", line 422, in _getStoryLength
lineEndOffsets=self._storyFieldsAndRects[2]
File "baseObject.py", line 42, in get
return instance._getPropertyViaCache(self.fget)
File "baseObject.py", line 145, in _getPropertyViaCache
val=getterMethod(self)
File "displayModel.py", line 312, in _get__storyFieldsAndRects
location = location.toLogical(self.obj.windowHandle)
AttributeError: 'tuple' object has no attribute 'toLogical'
Expected behavior:
List of tweets should be navigable
System configuration
NVDA installed/portable/running from source:
Tried with portable and from source
NVDA version:
Latest Alpha
Windows version:
Windows 7 x64
Name and version of other software in use when reproducing the issue:
OpenTween 2.4.3
Other information about your system:
N/A
Other questions
Does the issue still occur after restarting your PC?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
This has been introduced in #9269 so 2019.3 is not affected.
cc @LeonarddeR
Steps to reproduce:
Actual behavior:
The error sound is played, and the following is in the log
ERROR - eventHandler.executeEvent (19:19:47.368) - MainThread (5964):
error executing event: gainFocus on <nvdaBuiltin.appModules.tween.TweetListItem object at 0x0B65DCF0> with extra args of {}
Traceback (most recent call last):
File "eventHandler.py", line 155, in executeEvent
EventExecuter(eventName,obj,kwargs)
File "eventHandler.py", line 92, in init
self.next()
File "eventHandler.py", line 100, in next
return func(*args, **self.kwargs)
File "NVDAObjects_init.py", line 1102, in event_gainFocus
self.reportFocus()
File "NVDAObjects\behaviors.py", line 611, in reportFocus
return super(RowWithFakeNavigation, self).reportFocus()
File "NVDAObjects_init_.py", line 988, in reportFocus
speech.speakObject(self,reason=controlTypes.REASON_FOCUS)
File "speech_init_.py", line 450, in speakObject
prefixSpeechCommand,
File "speech_init.py", line 491, in getObjectSpeech
**allowProperties
File "speech_init_.py", line 358, in getObjectPropertiesSpeech
newPropertyValues[name]=getattr(obj,tryName)
File "baseObject.py", line 42, in get
return instance._getPropertyViaCache(self.fget)
File "baseObject.py", line 145, in _getPropertyViaCache
val=getterMethod(self)
File "appModules\tween.py", line 26, in _get_name
return super(TweetListItem, self).name
File "baseObject.py", line 42, in get
return instance._getPropertyViaCache(self.fget)
File "baseObject.py", line 145, in _getPropertyViaCache
val=getterMethod(self)
File "NVDAObjects\IAccessible\sysListView32.py", line 438, in _get_name
content = self._getColumnContent(col)
File "NVDAObjects\IAccessible\sysListView32.py", line 382, in _getColumnContent
return self._getColumnContentRaw(self.parent._columnOrderArray[column - 1])
File "appModules\tween.py", line 44, in _getColumnContentRaw
locationHelper.RectLTRB(left, top, left + width, top + height)).text
File "displayModel.py", line 292, in init
super(DisplayModelTextInfo, self).init(obj, position)
File "textInfos\offsets.py", line 458, in init
self._endOffset=self._getStoryLength()
File "displayModel.py", line 422, in _getStoryLength
lineEndOffsets=self._storyFieldsAndRects[2]
File "baseObject.py", line 42, in get
return instance._getPropertyViaCache(self.fget)
File "baseObject.py", line 145, in _getPropertyViaCache
val=getterMethod(self)
File "displayModel.py", line 312, in _get__storyFieldsAndRects
location = location.toLogical(self.obj.windowHandle)
AttributeError: 'tuple' object has no attribute 'toLogical'
Expected behavior:
List of tweets should be navigable
System configuration
NVDA installed/portable/running from source:
Tried with portable and from source
NVDA version:
Latest Alpha
Windows version:
Windows 7 x64
Name and version of other software in use when reproducing the issue:
OpenTween 2.4.3
Other information about your system:
N/A
Other questions
Does the issue still occur after restarting your PC?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
This has been introduced in #9269 so 2019.3 is not affected.
cc @LeonarddeR