Bug 156709 - Undo does not update the accessibility sidebar
Summary: Undo does not update the accessibility sidebar
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks: Accessibility-Check
  Show dependency treegraph
 
Reported: 2023-08-10 09:55 UTC by Gabor Kelemen (allotropia)
Modified: 2023-08-29 21:54 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Expanded example file from Writer (51.55 KB, application/vnd.oasis.opendocument.text)
2023-08-10 09:55 UTC, Gabor Kelemen (allotropia)
Details
The document with several accessibility warnings (102.59 KB, image/png)
2023-08-10 09:55 UTC, Gabor Kelemen (allotropia)
Details
After undo of delete all (105.67 KB, image/png)
2023-08-10 09:56 UTC, Gabor Kelemen (allotropia)
Details
test video (1.34 MB, video/x-matroska)
2023-08-15 10:01 UTC, Balázs Varga (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2023-08-10 09:55:05 UTC
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)
Comment 1 Gabor Kelemen (allotropia) 2023-08-10 09:55:49 UTC
Created attachment 188898 [details]
The document with several accessibility warnings
Comment 2 Gabor Kelemen (allotropia) 2023-08-10 09:56:51 UTC
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.
Comment 3 Balázs Varga (allotropia) 2023-08-15 10:00:23 UTC
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
Comment 4 Balázs Varga (allotropia) 2023-08-15 10:01:01 UTC
Created attachment 188978 [details]
test video
Comment 5 Gabor Kelemen (allotropia) 2023-08-23 15:09:13 UTC
(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.
Comment 6 Stéphane Guillou (stragu) 2023-08-29 21:54:38 UTC
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