Bug 156554 - Undo deleting an image does not update a11y sidebar
Summary: Undo deleting an image does not update a11y sidebar
Status: RESOLVED FIXED
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: target:24.2.0 target:7.6.1
Keywords: accessibility
Depends on:
Blocks: Accessibility-Check
  Show dependency treegraph
 
Reported: 2023-07-31 14:10 UTC by Gabor Kelemen (allotropia)
Modified: 2023-08-14 09:21 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
The sidebar after undoing image deletion (163.66 KB, image/png)
2023-07-31 14:10 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2023-07-31 14:10:14 UTC
Created attachment 188678 [details]
The sidebar after undoing image deletion

This is continuation of bug 156553

If the image is deleted from attachment 188675 [details] and the sidebar is made to update, then undoing the image deletion does not update the accessibility sidebar, so the otherwise valid warning is not visible.

1. Open attachment 188675 [details] 
2. Open the accessibility check sidebar, it shows the "Missing alternative or description text" warning.
3. Delete the image
4. Add two empty paragraphs, so that the accessibility sidebar is updated, the missing alt description warning disappears.
5. Ctrl-U until the image returns
-> The accessibility sidebar is not updated, even by clicking into another paragraph or typing, so the former "Missing alternative or description text" warning is not visible again.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d4653fa961b1aa1cd4bf568e7d1fe50ae97df484
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: hu-HU
Calc: threaded
Comment 1 Commit Notification 2023-08-10 07:55:58 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/0d2fc6c053cad80c685755d030c6b57202f78d50

tdf#156553 tdf#156554 A11Y: fix issue update after image deletion

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 2 Commit Notification 2023-08-10 08:57:13 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/6980f69c559861aba7279d5b90ae09f0347fa4d4

tdf#156553 tdf#156554 A11Y: fix issue update after image deletion

It will be available in 7.6.1.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.