benjamimgois / goverlay

GOverlay is an opensource project that aims to create a Graphical UI to help manage Linux overlays.
GNU General Public License v3.0
518 stars 41 forks source link

Very Weird Colors #84

Open Teddy-Kun opened 6 months ago

Teddy-Kun commented 6 months ago

The UI has some weird colors making some of the text hard or impossible to read.

20240114_16h47m35s_grim 20240114_16h47m41s_grim 20240114_16h47m48s_grim 20240114_16h47m54s_grim

I am running Hyprland (Wayland) on Arch Linux and I installed it from the official repos (latest release). The behavior is also consistent when forcing it to run in XWayland.

Terminal Output: https://pastebin.com/6JWGGAkw

benjamimgois commented 6 months ago

Hi @Teddy-Kun , thanks for reporting. This is a old problem that i think is related to qt5pas, i think it will be fixed in the next lazarus release that will use qt6pas. The next goverlay update will already be based on it.

Cardiacman13 commented 3 months ago

Hi,

Distro : Silverblue 40 Goverlay version : 1.1.1 qt6pas version : 6.2.7-30201.fc40

Workaround :

image

image

Xdavius commented 3 months ago

Hi @Teddy-Kun , thanks for reporting. This is a old problem that i think is related to qt5pas, i think it will be fixed in the next lazarus release that will use qt6pas. The next goverlay update will already be based on it.

Commenting here : qt6pas dosen't solve the issue, built from source, using archlinux method, on Debian. Will have a look on Cardiac's solution

Xdavius commented 3 months ago

@Cardiacman13 Tested. This change the whole configuration of qt6.

qt6ct default dark theme is named darker

we can just do this as a temporaly workaroud I guess :

export QT_QPA_PLATFORMTHEME=qt6ct set theme as darker in qt6ct...

@benjamimgois I suppose you don't use qt with his defaults value (maybe a distro conf ?), so you don't have the problem. I don't know if you can just force a theme while launching the application on your side, maybe without to have to add qt6ct as dep (but not sure)