Dark mode on Gnome interferes with UI
On Fedora 40 with Gnome 46, if system default is set to dark mode, the buttons in Jupii are difficult to read. The white icons in the drawer are also barely visible.
Otherwise I'm enjoy Jupii a lot :)
I'm not an expert but I'd look at using @FedoraQt/adwaita-qt styling to improve the UI/UX.
Thanks for reporting this issue.
This might be unsolvable problem. UI written in Kirigami and QtQuick Controls 2 is having trouble with Dark themes when used on desktop environments other than KDE Plasma. Under KDE Plasma the Dark theme works flawlessly and app looks great. The problems start when you use any other DEs. On GNOME Dark theme only partially works and "partially" means that some parts of UI are rendered in Light theme and some in dark which makes the unreadable :/
I'm not sure what's causing this problem, but I think Flatpak is a problem here. It looks like other KDE apps on Flathub have similar issues when running under GNOME in Dark theme mode. I suspect that "isolation" provided by Flatpak's sandboxing somehow breaks theming.
I will try to find a workaround fro this problem.
Well, I doubt that Flatpak's sanboxing is to blame here. I found a quick woraround for the moment:
I used Flatseal and changed the exported env variable as QT_QUICK_CONTROLS_STYLE=fusion ./app
Everything is explained below Theming in the official documentation.
It's all about the xdg-desktop-portal backend on user's host.
I don't see Jupii talking to GNOME's backend.
Thanks for the QT_QUICK_CONTROLS_STYLE idea!
If this is not a problem, would you be able to test also "org.kde.breeze" style?
This "org.kde.breeze" seems to be the most consistent and error-free. The downside is that in GNOME it is only the "Light" style, regardless of whether the Dark or Light theme is enabled on the system. "Fusion" is fine as well but I've noticed that under Dark theme, toast notifications are unreadable (white text on white background).
My plan is to make "org.kde.desktop" the default style on KDE Plasma and "org.kde.breeze" on any other DE. Additionally there will be an option to force any style that is installed.
Above feature is included in v2.15.0.
For the best "dark theme under GNOME" experience, the Fusion style seems to be the right choice.