Skip to content

soffice: Use default logic for editable combobox value change

Call base class implementation for LibreOffice's Utilities.isAutoTextEvent for descendants of editable comboboxes rather than just returning False.

Together with LibreOffice commit [1]

commit 9f078ed7b625e86182d64d5ccfbb410cdd38081c
Author: Michael Weghorn <m.weghorn@posteo.de>
Date:   Tue May 7 10:04:16 2024 +0200

    tdf#160971 gtk3 a11y: Set role for custom editable combobox

(contained in LibreOffice >= 24.8), this makes announcement of new values in editable comboboxes like the "Font Name" combobox in Writer's formatting toolbar work when changing the value using the up/down keys while the collapsed combobox has focus.

Announcement of new values for collapsed comboboxes currently no longer works once the combobox popup has been shown once. This is due to incorrect active-descendant-changed events being sent for the treeview in the popup (s.a. related comment at [2]), but that's a separate LibreOffice or GTK issue that will be further investigated in the context of LibreOffice bug tdf#160971 [3].

[1] https://git.libreoffice.org/core/commit/9f078ed7b625e86182d64d5ccfbb410cdd38081c [2] https://bugs.documentfoundation.org/show_bug.cgi?id=160806#c11 [3] https://bugs.documentfoundation.org/show_bug.cgi?id=160971

Merge request reports