https://bugs.documentfoundation.org/show_bug.cgi?id=164791
--- Comment #9 from Michael Weghorn <[email protected]> --- (In reply to Noel Grandin from comment #6) > On Linux, we have the tradiontal performance problem in > vcl/unx/gtk3/a11y/atklistener.cxx, where the ATK code wants to iterate the > entire list of children of complex shapes and attach listeners to them. > When we have very complex shapes, that can take a very very long time. Summary of related discussion on IRC last week: Attaching listeners is needed due to the way that LO's a11y event mechanism currently works. It may be worth reconsidering this. I would see first deduplicating XAccessibleEventBroadcaster (and possibly XAccessibleEventListener) implementations as an important step in that direction (to be able to change things in one place rather than many). The latter is something I have started working on, but which will likely take some time still. If considered critical, a workaround could be to (at least temporarily) introduce an env variable that when set, disables a11y (events) to some extent for those cases where a11y support isn't actually needed. With that said, a11y doesn't seem to be the only reason for slowness on Linux, as I can reproduce slowness and unresponsiveness with the gen VCL plugin as well, which doesn't have any a11y bridge (takes ~03:20 min until I can start interacting with the doc, then switching to a different sheet triggers unresponsiveness again for quite a while, and at some point it even crashed.) So I'd suggest to consider the a11y slowness (while it should be looked into) as something separate from this ticket. Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: fbdfde26391730216bae230cd6f228a6ae6ee89c CPU threads: 32; OS: Linux 6.12; UI render: default; VCL: x11 Locale: en-GB (en_GB.UTF-8); UI: en-US Calc: threaded -- You are receiving this mail because: You are the assignee for the bug.
