eduard
Member
Posts: 20
Likes: 11
|
Post by eduard on Aug 22, 2023 13:53:36 GMT
Hi there!
I am tweaking the look of Bodhi / Moksha and apps on my computer. It's a Bodhi 6 machine and it's up to date. I am applying the application's theme and the icon set via LxAppearance and Qt5ct. Whilst the GTK apps (Synaptic, LibreOffice...) are following the settings perfectly, the Qt apps are showing a variety of glitches:
- Clementine 1.4 rc1 shows the set icon set as well as the theme's colors and the font. The option not to show icons in menus, though, is respected only if Clementine is running in the moment of setting it. After a Clementine restart the icons are shown. So this setting is not persitent for Clementine.
- XnView MP 1.4.5 64bit shows the correct colors and the font. The option not to show the icons in menus is respected, too (different to Clementine). But then in the icon bar and the main window do not show the correct icons. I have found the ones shown in the icon bar in /opt/XnView/UI/icons-48. Thus I could replace them with better icons if necessary or just hide the icon bar. The main window's icon I cannot find (e. g. the big yellow folder). Further more in the folder panel the icon is the correct one but XnView does colore it.
- Puddletag 2.2.0 doesn't respect any of the Qt5 settings except the color of the selection bar in the main window.
I found out that the font size can be set in the desktop file which creates the menu entry.
These glitches are the same no matter if I use a Themix/Oomox self made theme and icon set or one of the provided ones.
Synaptic and "qmake" in Terminology are stating that Qt 5.12.8 is running.
Could anyone help fixing these glitches please?
|
|
|
Post by thewaiter on Aug 22, 2023 14:36:38 GMT
sudo apt install qt5-style-plugins
That plugins follow GTK theme styles and colors
Good luck
Stefan
|
|
eduard
Member
Posts: 20
Likes: 11
|
Post by eduard on Aug 22, 2023 16:22:46 GMT
Hi Stefan!
Thanks a lot. This package wasn't installed so far but sadly adding it didn't change anything. I tried repeating the settings and restarting Moksha as well as the computer.
By the way I just remember that I needed to installed XnView via downloading the package "XnViewMP-linux-x64.deb" from xnview.com and Puddletag via Terminology with "sudo apt-get install python3-pip", "pip3 install puddletag" and "pip3 install --upgrade puddletag". Clementine I just installed via Synaptic. I think / hope that the installation methods shouldn't cause any Qt5 glitch!? I could install any furhter Qt5 app via Synaptic to check!?
|
|
|
Post by thewaiter on Aug 22, 2023 16:38:13 GMT
Let's try this: sudo apt update && sudo apt install qt5-style-plugins qt5-gtk2-platformtheme
echo "export QT_QPA_PLATFORMTHEME=gtk2" >> ~/.profile
Then reset PC
|
|
eduard
Member
Posts: 20
Likes: 11
|
Post by eduard on Aug 22, 2023 17:01:07 GMT
Sadly that did not do any changes, too
|
|
|
Post by thewaiter on Aug 22, 2023 17:10:55 GMT
OK, maybe not the best answer which you would hear but can you try BL7 version in live session and install Clementine with qt5-style-plugins to check if OK?
Stefan
|
|
eduard
Member
Posts: 20
Likes: 11
|
Post by eduard on Aug 22, 2023 18:13:37 GMT
well, it's better than no idea! I will try that tomorow. If it helps: I do have my former Bodhi 5 computer around, too. I could select a theme (and icon set) on this one which is not blueish and check the colors, menu's icons and fonts in these three apps, too.
|
|
eduard
Member
Posts: 20
Likes: 11
|
Post by eduard on Aug 24, 2023 12:19:54 GMT
Hi Stefan!
I did even install Bodhi 7 on my former notebook. I added qt5ct and the qt5-style-plugins (the latter was needed to get rid of a Qt5 error message stating there would be an environment variable "QT_STYLE_OVERRIDE=gtk2" set which wasn't to find in the Moksha settings panel > Advanced > §E). Furthermore the qt5-gtk2-platformtheme is installed, too. It just came with Qt5ct or the qt5-style-plugins. Of course I added Clementine (now 1.4 rc2) and I did add also Puddletag (now 2.0.1 and now installed via Synaptic).
At this point Clementine does even look a bit worse than on the Bodhi 6 machine: it still respects the Qt5 color and the font. The icons in menus behaive like they do on the Bodhi6 notebook: they blind out in the moment the Qt5 setting is done but after restarting Clementine they are back again. And additionally now the chosen icons are not respected.
Interesting is that Puddletag acts perfectly. It respects colors, fonts, icons and the "no icons in menu" option is persitent.
So far I did not try the "echo "export QT_QPA_PLATFORMTHEME=gtk2" >> ~/.profile". Is that necessary if I chose the Qt5 dialogs to be "standard" and not "gtk2"?
Many thanks for your help!
|
|