Bug 167119 - A11Y sidebar shows lots of empty space with document containing many issues (GTK3)
Summary: A11Y sidebar shows lots of empty space with document containing many issues (...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.0.3 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, implementationError
Depends on:
Blocks: Accessibility-Check
  Show dependency treegraph
 
Reported: 2025-06-19 19:43 UTC by Gabor Kelemen (allotropia)
Modified: 2025-06-19 19:43 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of the issue with GTK3 backend (240.41 KB, image/png)
2025-06-19 19:43 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) 2025-06-19 19:43:39 UTC
Created attachment 201358 [details]
Screenshot of the issue with GTK3 backend

Found while testing the patch to bug 161710

When a file contains a lot of A11Y warnings, the sidebar is initialized incorrectly and can be scrolled down to show a lot of empty space.

1. Open attachment 123123 [details] (just some random file I had at hand)
2. Open the accessibility sidebar
3. Open the Formatting and then the Direct formatting categories (these are collapsed by default)
4. Grab the scroller in the scroll bar of the sidebar and scroll down
-> about half way down the content of the sidebar is over and it becomes empty, but you can continue scrolling the empty space

Resizing the width of the sidebar or hiding/showing it "fixes" the issue.

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8a6dd9e68b3a1fd4eea95fffbd70ae603a4223c1
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded

This happens only with the GTK3 backend, gen, qt5 and windows all work.

Seems to have started in 24.2 with commit:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=ee8405d7567c35ae240e014fe1da289b4bb1abe2

author	Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>	2023-06-05 14:20:37 +0200
committer	Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>	2023-06-08 07:56:16 +0200
commit ee8405d7567c35ae240e014fe1da289b4bb1abe2 (patch)

tdf#155505 Group issues by type in a11y sidebar panel

Before this the list was not collapsible and scrolling was fine.