Date   

Re: Basics

Nathaniel Schmidt
 

Hi Sam,

Glad to see you’re taking the plunge into the coding world. Not sure about your first question. The only thing that comes to mind is using something a bit sloppy like creating a script or event to utilise functionality of the review cursor, A bit like duplicating mouse functionality with the jaws cursor. But I can’t verify that this would serve your purposes unless you can elaborate with a more specific example of what you Are Actually trying to do. I think mostly I just don’t understand the nature of your query. What exactly do you mean by “another part of the screen”? maybe I’m just overthinking it but I don’t get what you mean.

Regarding your second query, something suggests to me that you might not yet be completely familiar with utilising inheritance. You can inherit the properties / attributes of another class by explicitly referencing the initial class between parentheses after naming your own new class. The initial class would then be considered to be the bass / super / parent class. Happy to try to talk you through this more privately, either via email or Messenger / Skype / WhatsApp but there woulD be other people on this list who know much more than I do. Maybe wait and see if you get some other responses first.



Nathaniel Schmidt

Sent from my iPhone 7

On 16 Apr 2020, at 12:43 am, Sam Byrne <sam.byrne.90@...> wrote:

Hi All,


First attempt at Python here so please keep that in mind when responding. But excited to make something better. In the app module I'm writing I just need to pass a simple tab keystroke to bring the focus object into the right area so I can then navigate up the tree to the correct parent. Or how else can I move the focus quickly into a different area of the screen? I've googled but not managed to find any example code or documentation that might help me. The api.setFocusObject doesn't seem to be quite what I need here.


Next, how do I convert or use the object references NVDAobject.object. How do I get its name or other properties? This doesn't appear to be covered in the Developer guide. Seems somewhat central to having a good understanding as an outsider? An example would be fantastic!


Lastly, is anything in the works to silence the statusbar in Thunderbird? Seems to be a recent update now actively tells me all actions which are being completed and constantly reports how many emails I have. Or will that be my next challenge perhaps?


Thanks all,

Sam



Re: Basics

Toni Barth
 

Am 15.04.2020 um 12:35 schrieb Sam Byrne:
Hi All,


First attempt at Python here so please keep that in mind when
responding. But excited to make something better. In the app module
I'm writing I just need to pass a simple tab keystroke to bring the
focus object into the right area so I can then navigate up the tree to
the correct parent. Or how else can I move the focus quickly into a
different area of the screen? I've googled but not managed to find any
example code or documentation that might help me. The
api.setFocusObject doesn't seem to be quite what I need here.


Next, how do I convert or use the object references NVDAobject.object.
How do I get its name or other properties? This doesn't appear to be
covered in the Developer guide. Seems somewhat central to having a
good understanding as an outsider? An example would be fantastic!


Lastly, is anything in the works to silence the statusbar in
Thunderbird? Seems to be a recent update now actively tells me all
actions which are being completed and constantly reports how many
emails I have. Or will that be my next challenge perhaps?

Easiest solution, although its not a NVDA-related one: turn the status
bar off by going into the View menu and disabling it under Symbols bar.


Best Regards.


Toni Barth


Thanks all,

Sam




Basics

Sam Byrne
 

Hi All,


First attempt at Python here so please keep that in mind when responding. But excited to make something better. In the app module I'm writing I just need to pass a simple tab keystroke to bring the focus object into the right area so I can then navigate up the tree to the correct parent. Or how else can I move the focus quickly into a different area of the screen? I've googled but not managed to find any example code or documentation that might help me. The api.setFocusObject doesn't seem to be quite what I need here.


Next, how do I convert or use the object references NVDAobject.object. How do I get its name or other properties? This doesn't appear to be covered in the Developer guide. Seems somewhat central to having a good understanding as an outsider? An example would be fantastic!


Lastly, is anything in the works to silence the statusbar in Thunderbird? Seems to be a recent update now actively tells me all actions which are being completed and constantly reports how many emails I have. Or will that be my next challenge perhaps?


Thanks all,

Sam


Accepting bug-fix / maintenance PR's only while addressing backlog

Reef Turner
 

 

Hi everyone,

 

NV Access would like to kindly ask contributors to temporarily hold off on creating new Pull Requests (PR's) specifically for features or enhancements to NVDA. This will be a temporary arrangement to free us up while we go through the process of addressing the existing backlog of Pull Requests. Many of the outstanding PR's will require significant time to understand, update, test and review for merging. Given that many PR's were initially created long ago, it is easily understandable why many of these are out of date or the author no longer has time to work on them.

 

Why we think a large backlog of PR's is undesirable:

- Increased risk of missing important bug fixes.

- Harder to manage incoming PR's, they easily get out of date.

- Wastes time for contributors, keeping the PR up to date until we have a chance to consider it.

- It's a bad look for the project, it may give the impression the project is no longer active.

- Finally, it wastes time for NV Access, preventing us from getting to other important projects.

 

What the community can do:

- Contributors to please put your efforts towards existing PR's. Many need updating and testing. Effort to make these PR's as easy to understand as possible will significantly help to speed up this process.

- Look at issues linked to the existing PR's, see if the problems they describe are still reproducible.

- Continue to contribute (high priority) bug fixes or maintenance pull requests, we will continue to be accepted these. To avoid having your Pull Request closed, please contact us before starting work if you are uncertain how we will categorize it. To help understand our categorization, all existing PR's have been labelled as either bug, maintenance, enhancement, or feature.

 

A pinned issue has been created with the text from this message: https://github.com/nvaccess/nvda/issues/11006

 

Thanks for your patience.

 

Reef (NV Access)

 


Re: building accessible user interface with python #3030-advice

Toni Barth
 

Am 13.04.2020 um 12:36 schrieb UMIT ERDEM Yigitoglu:
Thank you to everyone,
sean, I was just thinking about what you said about labelling. I have read some introductory material on Pqt5 but there is not much information on labelling or other possible accessibility features on them. for example QLabel("hello") commend create a text "hello on the application but I can not reach it. should ı go through those introductory material and wait for more advance subjects to learn them or is there more accessibility oriented material you can recommend to me?  in short how did you learn gui tools?


Labels aren't ment to be navigated to usually. Labels are ment to be used in conjunction with other widgets to show what the widget is all about. For example, if you place a multi-line edit on the screen, even for sighted people, that widget is just a box with a cursor in it. By placing a label above or to the left of the box with the text 'Enter your program code here', sighted people will know what the edit is actually ment to do. The same goes for screen reading software. Whenever you place a widget and navigate to it with screen reading software like NVDA, this software will try to find a label which is positioned as closely to this widget as possible. I don't know if the order of creation programatically or the visual appearance is actually important here, but you'll be on the safe side if you try to keep both as close as possible. If a label is actually found, NVDA will automatically show the text displayed in the label as information when tabbing to the related widget.


You can try to strengthen the relationship between label and widget in Qt5 by using the buddy functionality, e.g. add the label as a buddy to the widget (widget.setBuddy(label)). I don't know if this is actually related in any way or another, but doing it didn't hurt my projects written with the help of PyQt5 yet.


Best Regards.


Toni Barth




Re: building accessible user interface with python #3030-advice

UMIT ERDEM Yigitoglu
 

Thank you to everyone,
sean, I was just thinking about what you said about labelling. I have read some introductory material on Pqt5 but there is not much information on labelling or other possible accessibility features on them. for example QLabel("hello") commend create a text "hello on the application but I can not reach it. should ı go through those introductory material and wait for more advance subjects to learn them or is there more accessibility oriented material you can recommend to me?  in short how did you learn gui tools?


IAHypertext property

Andy B.
 

Hi,

 

I develop Developer toolkit, an NVDA add-on that helps blind/VI user interface designers create visually appealing user interfaces. A feature I want to implement is the ability to obtain the underlying html for the currently focused object. Is there a way to do this? I see a property called IAHypertext, but have no clue what it is or how to use it. I tried external libraries, but there isn’t really a way to match the accessibility tree up to some structured source. Any guidance is appreciated.

 

 


Re: building accessible user interface with python #3030-advice

Sean
 

The accessibility of any application is related to the application's own APIs.

Nothing you can do with NVDA.

But if you write the programming language, library, UI kit and things you use here, we can share our experience.

For example, if you are using wxPython, don't forget to add text labels before components.

 

Sean

I’m student and programmer. I write often Python, sometimes Go and rare C++.
I can understand Turkish and English.

 

Kimden: nvda-devel@groups.io <nvda-devel@groups.io> Yerine UMIT ERDEM Yigitoglu
Tarih: Saturday, April 4, 2020 10:18 AM
Kime: nvda-devel@groups.io
Konu: [nvda-devel] building accessible user interface with python #3030-advice

 

Hello,
I'm trying to jump to programming world with python. 
I'm now in a stage where I am trying to learn about user interface "events models views). My question is where can ı find resources to make my UI accessible. I'm currently trying to use tkinter but non of my labels, messages are accessible with nvda. 
I have tried web for some information but it is very limited. 
I would appriciate any advice on how to continue and resource reccomandations. 
Best regards


Intermittent nvda lock ups

Brian's Mail list account
 

This is the stable version and no have not done exhaustive test, hence noo ticket created.
It involves the WEBIE podcatcher software, an sometimes whn looking for new podcasts by going to the list of a certain subscribed podcast, it will go completely silent and not even alt tab wiill get it back or going to desktop, indeed nothing works. You have to hit ESC, which is not reported, then do an nvda restart and then up it comes after some 20 seconds and the programs including wibie are still working.
Here is the log as it crashes. Obvioulsy watchdog os being triggered but it seems something else happens as often this gets terminated by the watcher, but not in this case. This is the current latest release version of nvd running on Windows 7pro.

IO - speech.speak (08:25:44.702) - MainThread (2616):
Speaking [LangChangeCommand ('en_GB'), 'infosound', '2 of 16']
IO - inputCore.InputManager.executeGesture (08:25:46.717) - winInputHook (3424):
Input: kb(desktop):upArrow
IO - speech.speak (08:25:46.725) - MainThread (2616):
Speaking [LangChangeCommand ('en_GB'), 'The Blind Side Podcast, with Jonathan Mosen', '1 of 16']
IO - inputCore.InputManager.executeGesture (08:25:50.069) - winInputHook (3424):
Input: kb(desktop):enter
IO - speech.speak (08:25:50.719) - MainThread (2616):
Speaking [LangChangeCommand ('en_GB'), 'Frame1']
IO - speech.speak (08:25:50.725) - MainThread (2616):
Speaking [LangChangeCommand ('en_GB'), 'Getting podcast, please wait.', '1 of 1']
IO - inputCore.InputManager.executeGesture (08:25:51.869) - winInputHook (3424):
Input: kb(desktop):end
IO - inputCore.InputManager.executeGesture (08:25:52.533) - winInputHook (3424):
Input: kb(desktop):upArrow
IO - inputCore.InputManager.executeGesture (08:25:53.157) - winInputHook (3424):
Input: kb(desktop):downArrow
IO - inputCore.InputManager.executeGesture (08:25:53.869) - winInputHook (3424):
Input: kb(desktop):upArrow
IO - inputCore.InputManager.executeGesture (08:25:54.565) - winInputHook (3424):
Input: kb(desktop):downArrow
IO - inputCore.InputManager.executeGesture (08:25:55.270) - winInputHook (3424):
Input: kb(desktop):upArrow
IO - inputCore.InputManager.executeGesture (08:25:55.726) - winInputHook (3424):
Input: kb(desktop):downArrow
DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (08:25:55.844) - MainThread (2616):
accRole failed: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None))
IO - inputCore.InputManager.executeGesture (08:25:57.038) - winInputHook (3424):
Input: kb(desktop):tab
IO - inputCore.InputManager.executeGesture (08:25:57.789) - winInputHook (3424):
Input: kb(desktop):upArrow
IO - inputCore.InputManager.executeGesture (08:25:58.253) - winInputHook (3424):
Input: kb(desktop):downArrow
IO - inputCore.InputManager.executeGesture (08:26:02.429) - winInputHook (3424):
Input: kb(desktop):upArrow
IO - inputCore.InputManager.executeGesture (08:26:02.805) - winInputHook (3424):
Input: kb(desktop):downArrow
DEBUGWARNING - watchdog._watcher (08:26:03.044) - watchdog (3508):
Trying to recover from freeze, core stack:
File "nvda.pyw", line 215, in <module>
File "core.pyc", line 545, in main
File "wx\core.pyc", line 2134, in MainLoop
File "gui\__init__.pyc", line 1030, in Notify
File "core.pyc", line 514, in run
File "IAccessibleHandler.pyc", line 912, in pumpAll
File "IAccessibleHandler.pyc", line 643, in processGenericWinEvent
File "eventHandler.pyc", line 39, in queueEvent

DEBUGWARNING - RPC process 2016 (dwm.exe) (08:26:15.738) - Dummy-20 (2700):
Thread 2964, build\x86_64\remote\injection.cpp, inproc_winEventCallback, 66:
SetWindowsHookEx with WH_GETMESSAGE failed, GetLastError returned 5

DEBUGWARNING - RPC process 2016 (dwm.exe) (08:26:15.739) - Dummy-20 (2700):
Thread 2964, build\x86_64\remote\injection.cpp, inproc_winEventCallback, 69:
SetWindowsHookEx with WH_CALLWNDPROC failed, GetLastError returned 5

WARNING - watchdog._watcher (08:26:18.045) - watchdog (3508):
Core frozen in stack:
File "nvda.pyw", line 215, in <module>
File "core.pyc", line 545, in main
File "wx\core.pyc", line 2134, in MainLoop
File "gui\__init__.pyc", line 1030, in Notify
File "core.pyc", line 514, in run
File "IAccessibleHandler.pyc", line 912, in pumpAll
File "IAccessibleHandler.pyc", line 643, in processGenericWinEvent
File "eventHandler.pyc", line 39, in queueEvent



bglists@...
Sent via blueyonder.
Please address personal E-mail to:-
briang1@..., putting 'Brian Gaff'
in the display name field.
Newsgroup monitored: alt.comp.blind-users


Re: building accessible user interface with python #3030-advice

Travis Siegel
 

The python QT5 library makes accessible GUIs? That's interesting, because I've never been able to get QT5 to do anything useful over the years in my various attempts. I finally gave up, and just use the windows api calls to build my gui programs. It's a bit of a hassle, but it gets the job done.
This is interesting news, I'll have to do some playing around now.
Thanks for the info.


Re: building accessible user interface with python #3030-advice

Toni Barth
 

Hi,

Am 04.04.2020 um 19:18 schrieb UMIT ERDEM Yigitoglu:
Hello,
I'm trying to jump to programming world with python. 
I'm now in a stage where I am trying to learn about user interface "events models views). My question is where can ı find resources to make my UI accessible. I'm currently trying to use tkinter but non of my labels, messages are accessible with nvda. 
I have tried web for some information but it is very limited. 


I myself noticed that Tkinter doesn't seem to be accessible. For developing accessible UIs, stick with WxPython, which can get a bit tricky sometimes, or PyQt5, which is pretty easy to work with.


Best Regards.


Toni


I would appriciate any advice on how to continue and resource reccomandations. 
Best regards



building accessible user interface with python #3030-advice

UMIT ERDEM Yigitoglu
 

Hello,
I'm trying to jump to programming world with python. 
I'm now in a stage where I am trying to learn about user interface "events models views). My question is where can ı find resources to make my UI accessible. I'm currently trying to use tkinter but non of my labels, messages are accessible with nvda. 
I have tried web for some information but it is very limited. 
I would appriciate any advice on how to continue and resource reccomandations. 
Best regards


Re: Bug in Chromium and Electron apps, can something be done about this taking in to account current circumstances?

mohammad suliman
 

Hello guys,

Thanks for your replies!
Happy to know that Google is releasing the new Chrome soon. I thought it will take longer than that.
Yes, for chrome the work around is not hard to perform, not so convenient to do so especially if that happens again and again in the same setion, but we need to live with that.
For Electron and Microsoft teams for example, I found that changing the window size (from maximized to restored or vice versa) will solve the issue. Again not sure how much this is convenient to do this every time you minimize Teams and get back to it.

Have a great week!
Mohammad

On Fri, 3 Apr 2020 at 19:22, Toni Barth via groups.io <hihohaia=googlemail.com@groups.io> wrote:
Google already announced that Chrome 81 will be released early to mid of
April, so they just delayed their usual release cycle for about a month.
It can also be tested that Chrome 81 fixes this bug Chrome-side. I don't
know how Electron will handle things, but as far as I understand it, its
still a bug that isn't related to NVDA in special, so it would be a
"feature" that would be totally irrelevant as soon as the bug gets
fixed, so a bit of wasted time.

Best Regards.

Toni Barth

Am 03.04.2020 um 18:07 schrieb Travis Siegel:
> This is a bug for sure, I've actually been wondering if anyone else
> was having this problem.  At the moment, the only solution I've found
> is to alt-tab away, then back to the chrome process, then NVDA reads
> the updated page just fine.  No idea why this broke when chrome
> updated, they're obviously doing something different in the latest
> release, though what that is, Ihaven't a clue.  But, at least there's
> a work around until it gets fixed.
>
> On Fri, 3 Apr 2020, mohammad suliman wrote:
>
>> Hello dear NVDA developers,Hope you are doing well!
>>
>> Wanted to ask about the bug in Chrome, in which the user isn't
>> notified when
>> the page refreshes. Is the bug a com error like this:
>> DEBUGWARNING -
>> NVDAObjects.IAccessible.IA2TextTextInfo._getFormatFieldAndOffsets
>> (07:10:33.128) - MainThread (18676):
>> could not get attributes
>> Traceback (most recent call last):
>>   File "NVDAObjects\IAccessible\__init__.pyc", line 233, in
>> _getFormatFieldAndOffsets
>>   File "comtypes\__init__.pyc", line 857, in __call__
>>   File "comtypesMonkeyPatches.pyc", line 26, in __call__
>> _ctypes.COMError: (-2147467263, 'Not implemented', (None, None, None, 0,
>> None))
>>
>> If this is the case, I saw now this bug in Microsoft Teams after I
>> minimize
>> the window and then get back to it. Whatsapp on the desktop has a
>> similar issue, not sure the same underlying error is also present
>> there. I
>> can check if this is interesting.
>> Now, as I' have heard that Chrome 81 witch addresses this issue won't be
>> released now due to COVID19, and I am also not sure that Electron
>> framework
>> will get the fix, and taking in to account that Electron apps and
>> Chrome is
>> widely used, I wonder if something can be done to ease those issues.
>> I have
>> noticed that Narrator don't have the Teams issue, not sure about the
>> others.
>> I mean to say that it seams that a work around is available? Is that
>> correct?
>> I am ready to help with code as much as I can.
>>
>> Waiting for your response!
>> keep up the excellent work you are doing!
>> Mohammad
>>
>>
>>
>
>
>





Important add-ons community announcement: addition of translations for add-ons are suspended, effective April 6, 2020

 

Hello NVDA community,

 

I’m Joseph Lee, one of the code contributors and community add-on authors and reviewers for NVDA screen reader project. First, at this difficult time, please stay safe and healthy, and support one another.

 

This is to inform you that, effective April 6, 2020, addition of translations for add-ons (new and existing add-ons) will be suspended. Although it is possible to add new add-ons for translations up to some point, there are certain processes that require intervention from community reviewers that involve access to the server used by NV Access. For security reasons, access to the server infrastructure will be limited to NV Access staff only.

 

This means the following requests will no longer be honored from the date noted above:

  • Translating newly reviewed add-ons.
  • Adding a new language to add-on translation if the language isn’t already a part of NVDA translations workflow.
  • Resolving conflicts with add-on data that cannot be resolved through automated workflow.

 

These requests might be honored again in the future.

 

Thank you.

Cheers,

Joseph


Re: Bug in Chromium and Electron apps, can something be done about this taking in to account current circumstances?

Toni Barth
 

Google already announced that Chrome 81 will be released early to mid of
April, so they just delayed their usual release cycle for about a month.
It can also be tested that Chrome 81 fixes this bug Chrome-side. I don't
know how Electron will handle things, but as far as I understand it, its
still a bug that isn't related to NVDA in special, so it would be a
"feature" that would be totally irrelevant as soon as the bug gets
fixed, so a bit of wasted time.

Best Regards.

Toni Barth

Am 03.04.2020 um 18:07 schrieb Travis Siegel:

This is a bug for sure, I've actually been wondering if anyone else
was having this problem.  At the moment, the only solution I've found
is to alt-tab away, then back to the chrome process, then NVDA reads
the updated page just fine.  No idea why this broke when chrome
updated, they're obviously doing something different in the latest
release, though what that is, Ihaven't a clue.  But, at least there's
a work around until it gets fixed.

On Fri, 3 Apr 2020, mohammad suliman wrote:

Hello dear NVDA developers,Hope you are doing well!

Wanted to ask about the bug in Chrome, in which the user isn't
notified when
the page refreshes. Is the bug a com error like this:
DEBUGWARNING -
NVDAObjects.IAccessible.IA2TextTextInfo._getFormatFieldAndOffsets
(07:10:33.128) - MainThread (18676):
could not get attributes
Traceback (most recent call last):
  File "NVDAObjects\IAccessible\__init__.pyc", line 233, in
_getFormatFieldAndOffsets
  File "comtypes\__init__.pyc", line 857, in __call__
  File "comtypesMonkeyPatches.pyc", line 26, in __call__
_ctypes.COMError: (-2147467263, 'Not implemented', (None, None, None, 0,
None))

If this is the case, I saw now this bug in Microsoft Teams after I
minimize
the window and then get back to it. Whatsapp on the desktop has a
similar issue, not sure the same underlying error is also present
there. I
can check if this is interesting.
Now, as I' have heard that Chrome 81 witch addresses this issue won't be
released now due to COVID19, and I am also not sure that Electron
framework
will get the fix, and taking in to account that Electron apps and
Chrome is
widely used, I wonder if something can be done to ease those issues.
I have
noticed that Narrator don't have the Teams issue, not sure about the
others.
I mean to say that it seams that a work around is available? Is that
correct?
I am ready to help with code as much as I can.

Waiting for your response!
keep up the excellent work you are doing!
Mohammad




Re: Bug in Chromium and Electron apps, can something be done about this taking in to account current circumstances?

Travis Siegel
 

This is a bug for sure, I've actually been wondering if anyone else was having this problem. At the moment, the only solution I've found is to alt-tab away, then back to the chrome process, then NVDA reads the updated page just fine. No idea why this broke when chrome updated, they're obviously doing something different in the latest release, though what that is, Ihaven't a clue. But, at least there's a work around until it gets fixed.

On Fri, 3 Apr 2020, mohammad suliman wrote:

Hello dear NVDA developers,Hope you are doing well!
Wanted to ask about the bug in Chrome, in which the user isn't notified when
the page refreshes. Is the bug a com error like this:
DEBUGWARNING -
NVDAObjects.IAccessible.IA2TextTextInfo._getFormatFieldAndOffsets
(07:10:33.128) - MainThread (18676):
could not get attributes
Traceback (most recent call last):
  File "NVDAObjects\IAccessible\__init__.pyc", line 233, in
_getFormatFieldAndOffsets
  File "comtypes\__init__.pyc", line 857, in __call__
  File "comtypesMonkeyPatches.pyc", line 26, in __call__
_ctypes.COMError: (-2147467263, 'Not implemented', (None, None, None, 0,
None))
If this is the case, I saw now this bug in Microsoft Teams after I minimize
the window and then get back to it. Whatsapp on the desktop has a
similar issue, not sure the same underlying error is also present there. I
can check if this is interesting.
Now, as I' have heard that Chrome 81 witch addresses this issue won't be
released now due to COVID19, and I am also not sure that Electron framework
will get the fix, and taking in to account that Electron apps and Chrome is
widely used, I wonder if something can be done to ease those issues. I have
noticed that Narrator don't have the Teams issue, not sure about the others.
I mean to say that it seams that a work around is available? Is that
correct?
I am ready to help with code as much as I can.
Waiting for your response!
keep up the excellent work you are doing!
Mohammad


Bug in Chromium and Electron apps, can something be done about this taking in to account current circumstances?

mohammad suliman
 

Hello dear NVDA developers,
Hope you are doing well!

Wanted to ask about the bug in Chrome, in which the user isn't notified when the page refreshes. Is the bug a com error like this:
DEBUGWARNING - NVDAObjects.IAccessible.IA2TextTextInfo._getFormatFieldAndOffsets (07:10:33.128) - MainThread (18676):
could not get attributes
Traceback (most recent call last):
  File "NVDAObjects\IAccessible\__init__.pyc", line 233, in _getFormatFieldAndOffsets
  File "comtypes\__init__.pyc", line 857, in __call__
  File "comtypesMonkeyPatches.pyc", line 26, in __call__
_ctypes.COMError: (-2147467263, 'Not implemented', (None, None, None, 0, None))

If this is the case, I saw now this bug in Microsoft Teams after I minimize the window and then get back to it. Whatsapp on the desktop has a similar issue, not sure the same underlying error is also present there. I can check if this is interesting.
Now, as I' have heard that Chrome 81 witch addresses this issue won't be released now due to COVID19, and I am also not sure that Electron framework will get the fix, and taking in to account that Electron apps and Chrome is widely used, I wonder if something can be done to ease those issues. I have noticed that Narrator don't have the Teams issue, not sure about the others. I mean to say that it seams that a work around is available? Is that correct?
I am ready to help with code as much as I can.

Waiting for your response!
keep up the excellent work you are doing!
Mohammad


Re: Configuration directories

Andy B.
 

If I do the following at the NVDA interactive Python prompt:

>>>import config
>>>config.getUsersInstalledConfigPath()
['C:\\Users\\a_bor\\AppData\\Roming\\nvda']
>>>import addonHandler
>>>addonHandler._getDefaultAddonPaths()
[C:\\Users\\a_bor\\AppData\\Roming\\nvda\\addons']

I am interested in creating a settings packaging system sort of like the one found in JAWS. To allow users the choice of what kind of settings to backup/restore, I need to know where the system holds these files, and the config/addon system looked like a good option.


Re: Configuration directories

James Scholes
 

I might be misunderstanding your question, but if you have the user's config directory path, you can just use os.path.join with that as the first part, and profiles, speechDicts, etc. as the second. Or are you trying to accomplish something else? These names shouldn't differ system to system, because if they do, NVDA just won't be able to load data from them.

keep in mind that synth drivers should really be packaged as add-ons these days, so there's not going to be a single directory which contains them all.

Regards,

James Scholes

On 30/03/2020 at 2:27 pm, Andy B. wrote:
Hi,
I am attempting to access configuration directories from inside an add-on. So far, NVDA has given me the user's installed config path, the system config path, the add-ons install folder, the scratchpad folder. It hasn't managed to give me speech synths, profiles, or speech dictionaries. Does anyone know how to get the paths for these extra components? I need to have the function name or python dict that has these because each user's system is different.


Configuration directories

Andy B.
 

Hi,

I am attempting to access configuration directories from inside an add-on. So far, NVDA has given me the user's installed config path, the system config path, the add-ons install folder, the scratchpad folder. It hasn't managed to give me speech synths, profiles, or speech dictionaries. Does anyone know how to get the paths for these extra components? I need to have the function name or python dict that has these because each user's system is different.