linuxmint / mintupgrade

41 stars 16 forks source link

Why is `qt5ct` removed on upgrade to Mint 22? (causes system theme not applied anymore to QT applications) #110

Closed schorschii closed 2 weeks ago

schorschii commented 2 weeks ago

The removal of qt5ct causes QT applications to not be displayed in the theme set by the user. This includes the popular VLC media player and is especially annoying when using the dark mode. The qt5ct can be re-installed on Mint 22 without any issue. So why is it removed on the upgrade? @clefebvre ?

https://github.com/linuxmint/mintupgrade/blob/b9eb67680583aac6ed7145e7f1e4b199546d9c4f/usr/lib/linuxmint/mintupgrade/constants_mint.py#L56

Introduced with commit: https://github.com/linuxmint/mintupgrade/commit/f239cde908288b8c250f938e7311c7ffbc16bd59

After the upgrade without qt5ct: Bildschirmfoto vom 2024-08-26 15-47-46

After installing qt5ct again: Bildschirmfoto vom 2024-08-26 15-44-30


If there is a reason why qt5ct is removed, there are other possibilities to achieve the system theme on QT applications:

It would be nice to implement one of these possibilities to get a consistent look again over all applications.

clefebvre commented 2 weeks ago

Hi @schorschii,

Many of the apps in 22 moved to QT6 (qt6ct also is available there). Long term and as part of Xapp we want Qt to integrate better within our GTK desktops but short term it made little sense to ship with incomplete Qt6 support or to ship with Qt5ct and not Qt6ct. It's already a little bit weird for users to have this by default in their menu.. it's really something that should work ootb rather than for a configuration tool like this one to be provided.

The removal of qt5ct in the upgrade reflects the removal of it from the default selection for fresh installations.