nvaccess / nvda

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

NVDA repeats column contents infinitely in Recycle Bin for deleted files originally downloaded from the internet #15983

Open XLTechie opened 10 months ago

XLTechie commented 10 months ago

Steps to reproduce:

  1. Download any file from the internet. I tried this with executables from NVDA pull requests, zip files, pdfs, and even a text file.
  2. After the file is stored locally, delete it.
  3. Open Recycle Bin.
  4. On the recycled file, move to any of the columns other than the filename, such as "Original location" or "Date deleted".

Actual behavior:

NVDA continuously repeats the column name and its contents, constantly cutting itself off so that the contents are never actually heard. This will continue until the column is changed.

Expected behavior:

Column name and contents are only read once, as is done for other deleted files.

NVDA logs, crash dumps and other attachments:

nvda-log-of-repeats.txt

System configuration

NVDA installed/portable/running from source:

Tried in both installed and portable copies.

NVDA version:

2024.1 beta1

Windows version:

11 Home 23H2

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

MS Windows Recycle Bin interface

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?

Yes

Adriani90 commented 10 months ago

I cannot reproduce your issue, see my log attached. I am on the same Windows 11 23 H2 with NVDA last alpha. Are you sure all your addons are disabled? I see that some addons that are incompatible are disabled in your log, but some incompatible addons are not. Did you overwrite the incompatible state? For example easy table navigator or something like that? I suspect the NVDA restart dialog provides a "restart NVDA with addons disabled" but not sure if disabble overwritten incompatible addons are considered when restarting NVDA with addons disabled. Could you check manually in the addon store if these are really disabled? columns not repeated.txt

XLTechie commented 10 months ago

@Adriani90 please look at line 195 of the original log I uploaded. It clearly shows the info message indicating that NVDA was started with add-ons disabled.

If you think, as your comment indicates, that there is a failure mode wherein NVDA can be started with add-ons disabled, but compatibility overridden add-ons run anyway, I respectfully ask you to consider testing this yourself, and raising an issue for it, before calling into question other testers' issue details with a potentially serious concern that may be baseless.

For the sake of defending the validity of my original log, below is another log. It shows the same details as before, but with two additions:

  1. If the info message on line 193 is insufficient: on exit, you can read the speech from the exit dialog on line 464, noting that add-ons are disabled.
  2. I attempt to use the Say Product Name and Version add-on's keystroke (line 454). In this version, that is an enablement overridden incompatible add-on. You will be able to see what happens when I do so from the log (hint: not much).

nvda-log-of-more-repeats-in-recycle-bin.txt

XLTechie commented 10 months ago

@Adriani90 With regards to your inability to replicate this: I have done further research and updated the STR. It appears that this is only effective for files downloaded from the internet, implying a Microsoft Security notification or alert is potentially at play. I did not make that connection when first reporting this, because the first file I tested it on was not obviously a downloaded file originally, although it likely was in hindsight.

Adriani90 commented 5 months ago

@XLTechie I guess that notification would also appear when you store the file in any folder? Or is there a reason why that should only apply to recycle bin?

XLTechie commented 5 months ago

@Adriani90 I don't know the reason, but no: it only applies to recycle bin.

Here is a log showing first examining the file in regular Explorer then deleting it (lines 364-390); followed by examining the now deleted file in Recycle Bin (lines 439-501). You will note all of the repeated speech instances in the second section: none of those are ever completed; they cancel each other before any one of them finishes. nvda-old.txt

XLTechie commented 5 months ago

Here is a log fragment, with event logging and other advanced logging categories turned on. It shows what happens just in Recycle Bin, and just for right-arrowing a couple times on the same file. Warning, it is ridiculously long. I suggest starting on line 15,810, where the first right arrow is performed. start at line 15,810.txt

Adriani90 commented 4 months ago

I think this might be related to live events being reported by NVDA everytime when they apprea even though their content didn't change. This might be related to #16836.