flathub / com.prusa3d.PrusaSlicer

https://flathub.org/apps/details/com.prusa3d.PrusaSlicer
7 stars 14 forks source link

not inheriting system color scheme #67

Closed kinghat closed 1 year ago

kinghat commented 1 year ago

i have my system theme in dark mode but it doesnt carry to prusaslicer.

Operating System: Fedora Linux 37 KDE Plasma Version: 5.27.3 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Kernel Version: 6.2.8-200.fc37.x86_64 (64-bit) Graphics Platform: Wayland

this is the env var set from flatseal:

image

eliadevito commented 1 year ago

Currently PrusaSlicer doesn't handle dark/light theme switch automatically.

To enable dark theme you have to set PRUSA_SLICER_DARK_THEME to true

kinghat commented 1 year ago

Currently PrusaSlicer doesn't handle dark/light theme switch automatically.

To enable dark theme you have to set PRUSA_SLICER_DARK_THEME to true

the prusa docs say here: https://help.prusa3d.com/article/dark-mode_258977

PrusaSlicer supports dark mode on OSX and Linux natively. If you have dark mode enabled in your system settings, PrusaSlicer should automatically start in dark mode as well.

do you know how that is being set on other systems? when i asked in discord, they said theirs was set automatically. im guessing they were on win/mac.

xarbit commented 1 year ago

in flatpak it will not get automatically detected, PrusaSlicer is not a native Gtk app. The workaround we created that uses an internal PRUSA_SLICER_DARK_THEME flag is currently the only way to get it dark using FlatPak.