Created attachment 188897 [details] Expanded example file from Writer This is a followup to bug 156554 When an image is deleted and an undo command reverts that, the A11Y sidebar now gets updated correctly. If all text is selected, deleted, undone, then it still does not. 1. Open attached document 2. Open the Accessibility sidebar - notice there are several different warnings 3. Ctrl - A 4. Delete/Backspace 5. Undo -> The Accessibility sidebar is empty Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: c2b8e86b96d8abfbf1758a2b4161fe29735d38de CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: threaded (with the patch from gerrit applied manually)
Created attachment 188898 [details] The document with several accessibility warnings
Created attachment 188899 [details] After undo of delete all You need to move the cursor around a bit, into a paragraph that contains some issues to to get the sidebar to update.
For me it looks like working with the bug doc on: Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 5c3e1239f4f71aaa0a81ff9e78157cf5d7ac9d98 CPU threads: 20; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: CL threaded
Created attachment 188978 [details] test video
(In reply to Balázs Varga (allotropia) from comment #4) > Created attachment 188978 [details] > test video This shows the issue as well, as in comment #3: you need to click into another paragraph (and not any one of them, but one with an a11y warning) to trigger the update. While for example deleting all content instantly clears the sidebar as well.
Reproduced in: Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 16d43b7c5396d6382926d514dc9ce10b3ce94cba CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded