Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving by word broken in Python Console output control when line starts with a space #4473

Closed
nvaccessAuto opened this issue Sep 21, 2014 · 8 comments

Comments

@nvaccessAuto
Copy link

Reported by vgjh2005 on 2014-09-21 01:51
Hi:
type "help(file)"in python console, press nvda+4 to jump to the content EditBox. Press numpad9 to find " | file(name[mode, buffering]) -> file object". Press numpad6 to read by word continually.
Thanks!

@nvaccessAuto
Copy link
Author

Comment 1 by jteh on 2014-09-24 03:45
Confirmed. Actually, it's more general than that. It seems that the first word is broken if the line starts with one or more spaces.

Oddly, this doesn't happen in Wordpad, which seems to use the same control.
Changes:
Changed title from "numpad6 cannot be used to over | in python console." to "Moving by word broken in Python Console output control when line starts with a space"

@nvaccessAuto
Copy link
Author

Comment 2 by vgjh2005 on 2014-09-24 12:27
Hi:
This EditBox has the same issue:
Developer info for navigator object:
name: u'\u6d88\u606f'
role: ROLE_EDITABLETEXT
states: STATE_READONLY, STATE_EDITABLE, STATE_FOCUSED
isFocusable: False
hasFocus: True
Python object: <NVDAObjects.Dynamic_EditableTextWithAutoSelectDetectionIAccessible object at 0x05D4A810>
Python class mro: (<class 'NVDAObjects.Dynamic_EditableTextWithAutoSelectDetectionIAccessible'>, <class 'NVDAObjects.behaviors.EditableTextWithAutoSelectDetection'>, <class 'NVDAObjects.behaviors.EditableText'>, <class 'editableText.EditableText'>, <class 'NVDAObjects.IAccessible.IAccessible'>, <class 'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class 'baseObject.AutoPropertyObject'>, <type 'object'>)
description: None
location: (529, 331, 439, 285)
value: u'\ufffc\r\ufffc'
appModule: <'appModuleHandler' (appName u'qq', process ID 4240) at address 59b6570>
appModule.productName: u'\u817e\u8bafQQ'
appModule.productVersion: u'6.4.12490.0'
TextInfo: <class 'NVDAObjects.IAccessible.IA2TextTextInfo'>
windowHandle: 4064714L
windowClassName: u'TXGuiFoundation'
windowControlID: 0
windowStyle: -1777401856
windowThreadID: 4244
windowText: u'\u5434\u5b66\u658c\u7b498\u4e2a\u4f1a\u8bdd'
displayText: u''
IAccessibleObject: <POINTER(IAccessible2) ptr=0x9ac3ae4 at 5eeaa80>
IAccessibleChildID: 0
IAccessible event parameters: windowHandle=4064714, objectID=2162894, childID=0
IAccessible accName: u'\u6d88\u606f'
IAccessible accRole: ROLE_SYSTEM_TEXT
IAccessible accState: STATE_SYSTEM_READONLY, STATE_SYSTEM_FOCUSED, STATE_SYSTEM_VALID (68)
IAccessible accDescription: None
IAccessible accValue: u'\ufffc\r\ufffc'
IAccessible2 windowHandle: 4064714
IAccessible2 uniqueID: exception: (-2147467263, '\xc9\xd0\xce\xb4\xca\xb5\xcf\xd6', (None, None, None, 0, None))
IAccessible2 role: ROLE_SYSTEM_TEXT
IAccessible2 states: IA2_STATE_EDITABLE (8)
IAccessible2 attributes: exception: (-2147467263, '\xc9\xd0\xce\xb4\xca\xb5\xcf\xd6', (None, None, None, 0, None))

@nvaccessAuto
Copy link
Author

Comment 3 by jteh (in reply to comment 2) on 2014-09-24 22:15
Replying to vgjh2005:

This EditBox has the same issue:

That one is an IA2 editable text control, so if it's broken, it should be fixed in the application. Alternatively, someone can try to hack around the bug in an app module.

@bhavyashah
Copy link

@jcsteh wrote in #4473 (comment) "Oddly, this doesn't happen in Wordpad, which seems to use the same control." It might be worth investigating this discrepency so as to better track down the cause of the reported bug as a whole.

@Adriani90
Copy link
Collaborator

@vgjh2005, @derekriemer could someone test please if this issue is still reproducible? Thanks!

@Adriani90
Copy link
Collaborator

cc: @codeofdusk

@JulienCochuyt
Copy link
Collaborator

I do not reproduce in NVDA 2020.1 on Windows 10

@Adriani90
Copy link
Collaborator

I am closing as works for me, i cannot reproduce it either. Feel free to comment on this if you are still having this issue and we can reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants