Bug: All custom styles are missing from the style selection widget

Do you want to: Report a bug
For bug reports, provide the steps to reproduce and if possible a minimal demo of the problem.

When opening a document with custom style definitions, or creating one from a template, the custom styles are not visible in the style selection widget. However, OO does read the styles, because the styles can be updated from the context menu - just not assigned to new document elements.

Steps to reproduce:

  1. Download acsPageWide-MSW2010.dotx from here:

https://pubs.acs.org/page/jacsat/submission/jacsat_templates.html

  1. Open the file in OO. Observe that the styles widget only displays the built-in generic styles:

  1. The correct styles show up in the context menus:

(can’t attach the second screenshot due to posting limitations)

Expected behavior: all custom styles are available in the widget.

This bug might be the same as this: Bug: not all style templates are visible in home menu
However, my OS/OO versions are different

OS version: Fedora 42
App version: 9.0.0 (flathub)
Downloaded from: Flathub using Fedora’s GNOME software manager
Additional information: This happens with all ACS templates. I do have all the custom fonts installed as system fonts.