nvaccess / nvda

NVDA, the free and open source Screen Reader for Microsoft Windows
Other
2.08k stars 628 forks source link

Support edit fields in MS Access #769

Closed nvaccessAuto closed 6 years ago

nvaccessAuto commented 14 years ago

Reported by briang1 on 2010-07-19 13:56 In a few MS Access applications and databases I have, although its possible to use them in the main, even in Access 2002, the edit fields do not act correctly when cursored or deleted, acting as if they are in fact blank. Also, sometimes when something is typed it remains and when you come back it is spoken but its in fact not there at all.

In order to help at least with the main problem, I'm hopefully attaching a very small application with one edit field that changes system date. It does show the editable problem. The nvda f1 reports as follows. INFO - appModules._default.AppModule.script_navigatorObject_devInfo (14:46:03): Developer info for navigator object: name: u'Change System Date to' role: ROLE_EDITABLETEXT states: STATE_FOCUSABLE, STATE_FOCUSED Python object: <NVDAObjects.IAccessible.IAccessible object at 0x022F0E50> Python class mro: (<class 'NVDAObjects.IAccessible.IAccessible'>, <class 'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class 'baseObject.AutoPropertyObject'>, <type 'object'>) description: u'' location: (230, 216, 100, 15) value: u'' appModule: <_default (appName msaccess, process ID 1072) at address 2372510> TextInfo: <class 'NVDAObjects.NVDAObjectTextInfo'> windowHandle: 394006 windowClassName: u'OForm' windowControlID: 1041 windowStyle: 1456406528 windowThreadID: 600 windowText: u'System Date Form : Form\x00' IAccessibleObject: <POINTER(IAccessible) ptr=0x1c18f0 at 2313490> IAccessibleChildID: 0 IAccessible event parameters: windowHandle=394006, objectID=3, childID=0 IAccessible accRole: ROLE_SYSTEM_TEXT IAccessible accState: STATE_SYSTEM_FOCUSED, STATE_SYSTEM_FOCUSABLE, STATE_SYSTEM_VALID (1048580)

nvaccessAuto commented 14 years ago

Attachment System Date.mdb (System Date.zip) added by briang1 on 2010-07-19 14:00 Description: Small access app with macros shows eddit prob. Update: File added from Trac

nvaccessAuto commented 14 years ago

Comment 1 by jteh on 2010-09-24 06:59 Tried to get this working with display model. Unfortunately, although our display model code can retrieve the text, it can't seem to find the caret. This is very low demand and probably very hard to fix.

Technical info for reference:

nvaccessAuto commented 11 years ago

Comment 2 by briang1 on 2013-04-11 17:32 I tried a runtime version of Access 2010 and the issue still occurs in xp as far as I can tell.

nvaccessAuto commented 10 years ago

Comment 3 by briang1 on 2013-11-13 10:39 Obviously in XP I cannot try Access 2013, but have been told the app crashes when nvda is run in windows 8.

nvaccessAuto commented 10 years ago

Comment 4 by nvdakor on 2013-11-18 07:51 Hi, Interestingly, in Access 2010, if I press backspace, I can tell that the obj.name changes. Technical (for Access 2010 under Windows 8.x):

LeonarddeR commented 7 years ago

@brian1gaff: Could you provide a status update for this issue?

Adriani90 commented 6 years ago

@Brian1Gaff could you please give us an update regarding this issue? Could someone upload the attachment? I want to try it with newest NVDA and MS Access version. Thanks.

ehollig commented 6 years ago

@Adriani90, I have edited the original comment with the attachment.

Adriani90 commented 6 years ago

I have tested this in MS Access. This attachment is not working properly after a security updated from MS made in June 2017. I guess this application has been created with a really really old MS Access version (maybe MS Access 2000). I get runtime error 13 when trying to delete the content in the field. That means that types are not consistent because they are using different programming sets. I also get runtime error 70 when typing the new system date and press enter. This is a permission restriction introduced by the new security update for very old MS Access files.

Adriani90 commented 6 years ago

In any case, when i type something in the "change system date to", it is spoken by NVDA. When I press tab twice I land on the change date field and the content is being reported as it should be.

Adriani90 commented 6 years ago

This issue cannot be reproduced peroperly, I suggest closing it. @Brian1Gaff, please open a new issue with current MS Access file (preferably MS Access 2007 or higher).

josephsl commented 6 years ago

Hi,

Actually, with Office 2010 and higher. Closing. Thanks.