Gnurou / tagainijisho

A free Japanese dictionary and learning assistant
http://www.tagaini.net
GNU General Public License v3.0
364 stars 51 forks source link

Issue with dark themes in linux mint 21.1 #260

Open kaduHonorato opened 1 year ago

kaduHonorato commented 1 year ago

If I use a dark theme in linux mint 21.1 some contents become impossible to read.

Captura de tela de 2023-01-07 15-16-15

ravener commented 1 year ago

same issue here on Ubuntu MATE 22.04, using any dark theme makes those info unreadable.

This is generally a pain of using Linux, where the distribution's native toolkit is GTK and then using Qt apps. By default the theme is set to a gtk2 theme trying it's best to mimic the native gtk themes but it's not perfect. The theme is set in QT_QPA_PLATFORMTHEME environment variable.

I find that it's atleast better to revert to the original qt theme e.g:

env QT_QPA_PLATFORMTHEME=Fusion tagainijisho

Launches the app with the default qt theme, that'll atleast get those text readable but it no longer blends with your OS theme.

This is just a start, you can now dive into stuff like qt5ct and install and change to different Qt themes till you are satisfied.

I'm not sure if this is something fixable from tagainijisho's side, it may just be all related to theming or there may still be a way to make it behave better, I don't have too much experience with Qt so let's wait for a dev response.

ravener commented 1 year ago

Related #226

laserbeak commented 1 year ago

I don't see an option for dark themes in windows 11. is this possible?