AntiMicroX / antimicrox

Graphical program used to map keyboard buttons and mouse controls to a gamepad. Useful for playing games with no gamepad support.
GNU General Public License v3.0
2.37k stars 140 forks source link

.deb version does not have dark theme #1009

Closed rexendevar closed 1 month ago

rexendevar commented 1 month ago

Is there an existing issue for this?

Current Behavior

the Flatpak version correctly inherits system dark theme, but the .deb version does not. Neither has any option anywhere for theming. This is on Gnome.

Expected Behavior

No response

Steps To Reproduce

No response

Environment

Flatpak version:

Program Version 3.4.0
Compiled from packaging: flatpak
Built Against SDL 2.28.5
Running With SDL 2.28.5
Using Qt 5.15.10
Using Event Handler: XTest
Compositor type: x11
Host OS: org.kde.Platform Version: 5.15-23.08 Architecture: x86_64

.deb version:

Program Version 3.4.0
Compiled from packaging: GitHub Release
Built Against SDL 2.0.20
Running With SDL 2.0.20
Using Qt 5.15.3
Using Event Handler: XTest
Compositor type: x11
Host OS: pop Version: 22.04 Architecture: x86_64

Anything else?

No response


Upvote & Fund

Fund with Polar

rexendevar commented 1 month ago

On further review, I've discovered that even manually adding a theme setting to the config file does nothing. I attempted to check the config file for the flatpak version, but there is none, as far as I can see.

pktiuk commented 1 month ago

Could you collect some logs when this issue happens?

AntimicroX logs detected theme and informs about things like loaded icons.

rexendevar commented 1 month ago

log for the .deb version log for the flatpak version

pktiuk commented 1 month ago

In both cases package detects properly system theme (at least for icons).
But in this case this seems to be an issue with host system and environment in general. (in your case POP OS)
Some enviroments are configured properly (like flatpak sandboxes).

There was already similar issue in Pop OS repo: https://github.com/pop-os/iso/issues/30

Workaround can be found there: https://www.linuxuprising.com/2018/05/get-qt5-apps-to-use-native-gtk-style-in.html