nvaccess / nvda

NVDA, the free and open source Screen Reader for Microsoft Windows
https://www.nvaccess.org/
Other
2.09k stars 630 forks source link

error executing script in thunderbird write message window when braille is tethered to focus #16314

Closed burmancomp closed 2 months ago

burmancomp commented 6 months ago

Steps to reproduce:

System configuration

NVDA installed/portable/running from source:

running from source

NVDA version:

Windows version:

windows 10 22h2

Name and version of other software in use when reproducing the issue:

thunderbird 115.11.0 64-bit

Other information about your system:

Other questions

Does the issue still occur after restarting your computer?

yes

Have you tried any other versions of NVDA? If so, please report their behaviors.

If NVDA add-ons are disabled, is your problem still occurring?

yes

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

burmancomp commented 6 months ago

@irrah68 you could not reproduce this in Windows 11 23h2.

burmancomp commented 6 months ago

It seems that there is something in my thunderbird profile which causes this issue. I tried with new profile, and issue did not occur.

seanbudd commented 6 months ago

which NVDA version is this occurring in? this was missed in the template. Do you know if this is a regression in 2024.1 or 2024.2?

Jykke67 commented 6 months ago

I tested this in Thunderbird 115.7.0 (64-bit) and Windows 11 Version 23H2, and no error occured. The message was written in plain text.

Adriani90 commented 6 months ago

@burmancomp could you test with Thunderbird last beta version? https://www.thunderbird.net/en-US/thunderbird/124.0beta/releasenotes/ I thought it was solved in Beta 117 but not sure if all of those changes were merged into the 115 stable release.

burmancomp commented 6 months ago

@burmancomp could you test with Thunderbird last beta version?

I read release notes from 116 to 124. On the basis of release notes I am unsure if this was fixed (I could not find any reference to this problem unless I have missed something). @Jykke67 and @irrah68 have w11, and they have not this problem with thunderbird 115. I have w10. It would be interesting if somebody using w10 would test this.

seanbudd commented 5 months ago

@burmancomp - can you investigate which config items that cause this? you can do this by comparing the profiles.

When uploading logs, please provide the full log file. When logging at debug level, it includes the config being loaded, which means we can debug what config is causing this.

burmancomp commented 5 months ago

@burmancomp - can you investigate which config items that cause this? you can do this by comparing the profiles.

This should happen with Windows 10 and when using plain text when composing message (see steps to reproduce (comment).

I am unsure what I should do.

seanbudd commented 4 months ago

@burmancomp - please upload a full log file with debug logging enabled as requested earlier

burmancomp commented 4 months ago

Here is log file:

nvda.log

There is also (I guess separate) issue with speech - I copy some lines from attached file to point it out. But I feel that it is not of thunderbird write window merely (I am writing this comment with firefox 125.0.3 and I just noticed similar situation).

Input: kb(laptop):downArrow DEBUG - editableText.EditableText._hasCaretMoved (22:21:46.440) - MainThread (10348): Caret didn't move before timeout. Elapsed: 0.102995 sec DEBUGWARNING - NVDAObjects.IAccessible.normalizeIA2TextFormatField (22:21:46.447) - MainThread (10348): Unsupported value for text-align attribute: "start" IO - speech.speech.speak (22:21:46.447) - MainThread (10348): Speaking ['line 1\n'] DEBUGWARNING - NVDAObjects.IAccessible.normalizeIA2TextFormatField (22:21:46.468) - MainThread (10348): Unsupported value for text-align attribute: "start" IO - braille.BrailleBuffer.update (22:21:46.468) - MainThread (10348): Braille regions text: ['line 2 ']

burmancomp commented 4 months ago

After writing previous comment I tried to increase caret movement timeout to solve "Caret didn't move before timeout." problem. With very quick testing increasing timeout to 300 ms did not solve issue completely.