nana-4 / materia-theme

A Material Design theme for GNOME/GTK based desktop environments
GNU General Public License v2.0
3.42k stars 255 forks source link

LibreOffice doesn't look good #122

Open nana-4 opened 7 years ago

nana-4 commented 7 years ago

Screenshot from #88 image

Unfortunately, LibreOffice using GTK3 doesn't render widgets correctly (especially drop shadow).

Also it seems not easy to apply style changes to LibreOffice without affecting other apps.

brunolpsousa commented 5 years ago

Captura de tela de 2019-07-16 10-55-50 Hi, I have this problem with LibreOffice 6.2.4.2.0 and materia, characters of style, font and size are overlapping each other. It also happens in Calc and Impress. Captura de tela de 2019-07-16 11-09-58 It seems it doesn't matter which variant (compact, light, dark). Choosing another theme fixes it, and changing back to materia makes it look like this again. Using Manjaro Cinnamon (4.2.0) and latest materia-gtk-theme from distro's official repository (20190315-1).

0xf00f commented 5 years ago

I have the same issue in Libreoffice.

If it helps, it seems to me that in the combo list boxes for selecting font, style and size the background is not cleared before redrawing, so that list elements and list selection overlap are not cleared and new selections are drawn over the older ones.

Using Ubuntu Studio latest, and have tried with various releases of materia theme.

codic12 commented 4 years ago

Same issue - how to fix? I need this change in my own theme based on materia

codic12 commented 4 years ago

@nana-4 is it because of rounded corners?

nana-4 commented 4 years ago

Sorry for the late reply, I didn't have enough time to check it.

It's because we introduced a translucent background-color to the entries. (Plus, LibreOffice's poor integration with GTK, of course.) Apparently LibreOffice apps draw text even under the entries.

For now, the best workaround (I think) is to apply a different theme only to LibreOffice apps, as introduced here.

Here is the command lines that do it all at once:

# A theme applied to LibreOffice apps.
# You can specify a different theme such as "Adwaita-dark".
GTK_THEME="Adwaita"

# Copy the original "libreoffice-*.desktop" files to the local directory.
find /usr/share/applications -name libreoffice* | xargs -i cp {} ~/.local/share/applications

# Insert "env GTK_THEME=foo " into the each copied files.
find ~/.local/share/applications -name libreoffice* | xargs sed -i "s/Exec=/Exec=env GTK_THEME=$GTK_THEME /g"
codic12 commented 4 years ago

Thanks! I do know how to change the individual application's theme, using a lot of methods. However, is there a possibility that this will be fixed soon? To be honest, I really like my own theme: https://codeberg.org/gsbhasin84/Materiav2 and I really want to use it with LibreOffice. Do you know of any material based themes that don't have this problem so that I can use it as my fallback for LO until this issue is fixed? Also would the kde or qt backends for LO work? I don't have access to my PC so I can't check right now, unfortunately. However if you can, that would be great @nana-4

xsrvmy commented 2 years ago

Is this going to be fixed any time soon? As an aside, if you have KDE, Breeze is a better override after changing the plasma color scheme to materia light KDE.

jwhendy commented 2 years ago

Sorry for the late reply, I didn't have enough time to check it.

If this project is essentially dead (defined as no time across multiple years to keep up to date with breaking changes), could that be updated on the README? I love this theme, and have no hard feelings, it's just one thing to have folks think this is active and hold out hope, google around for workarounds, follow related links, etc... and another to just mark it dead until it resurrects, which saves a lot of time and back and forth on github issues.

NathanC commented 1 year ago

This can be closed, likely. The latest version of LibreOffice has been updated, and looks great with this theme.