You are not logged in.

#1 2021-03-14 10:41:07

xafnir
Member
Registered: 2019-08-01
Posts: 14

Qt6 colors with strawberry under Xfce

Under xfce I tried to change the colors to a darker one with qt6ct-git from AUR.
But in strawberry its broken:
When strawberry starts, for a half a second the colors are the right darker one. But the UI is refreshed and the colors are broken.
Some parts of the UI has dark colors and some not.

I'm not sure, if it is a more a strawberry or a qt6ct problem? Do you know?

Offline

#2 2021-03-14 13:17:20

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,301

Re: Qt6 colors with strawberry under Xfce

Works for me. Can you post a screenshot?

Online

#3 2021-03-14 19:13:13

xafnir
Member
Registered: 2019-08-01
Posts: 14

Re: Qt6 colors with strawberry under Xfce

Hope you can see the image: https://ibb.co/BLH2PbK


However, i also tried to use kvantum but it only works with qt5 applications like vlc.

Last edited by xafnir (2021-03-14 19:14:01)

Offline

#4 2021-03-15 21:19:51

Annoyingduck
Member
Registered: 2016-08-02
Posts: 179

Re: Qt6 colors with strawberry under Xfce

This is driving me absolutely nuts. I use gtk based XFCE with dark themes. Strawberry moved to qt6, so it's installed with the latest updates. Everything else runs on qt5, which I have the qt5 styleplugin to handle. Now with qt6, the only option we seem to have is qt6 configuration tool, which gives theme options, all of which I cannot get to work. In strawberry there are new qt engine options, all of which I cannot get to work with the qt6 configuration tool. I just want the evil bright white to go away and for strawberry to run a dark theme. It seems we need some external script theme files to load.

Last edited by Annoyingduck (2021-03-15 21:43:27)

Offline

#5 2021-05-21 22:39:33

xafnir
Member
Registered: 2019-08-01
Posts: 14

Re: Qt6 colors with strawberry under Xfce

Hey @Annoyingduck,
i found a (ugly) solution, but it works for me. You need to use qt6ct and create a new qss in the last tab.
I just overwrite the colors for all QWidgets big_smile

QWidget {
    background-color: #222;
    alternate-background-color: #333;
    selection-color: #aaa;
    selection-background-color: #555;
    color: #aaa;
}

This solved the problem a little bit for me.

I found it on https://doc.qt.io/qt-6/qwidget.html >  "When using style sheets, the palette of a widget can be customized using the "color", "background-color", "selection-color", "selection-background-color" and "alternate-background-color"."

Maybe there are better solutions, but this is the first which is OK  for me.

Offline

Board footer

Powered by FluxBB