LibreOffice has some black on black UI components, making them unreadable (since upgrade to 21.10)

THe problem is due to the Materia-compact Gnome Theme used:

see https://github.com/nana-4/materia-theme/issues/560

Workarounds are:

  1. use another theme alltogether

  2. use another theme for LibreOffice only:

    GTK_THEME="Adwaita"    
    find /usr/share/applications -name libreoffice* | xargs -i cp {} ~/.local/share/applications    
    find ~/.local/share/applications -name libreoffice* | xargs sed -i "s/Exec=/Exec=env GTK_THEME=$GTK_THEME /g"
    

Now, LibreOffice uses adwaita theme (but the window title bar still uses materia-compact, so it does not feel weird).