Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some theme issue: Probably broken. #341

Closed
Moltkex opened this issue Mar 11, 2022 · 15 comments · Fixed by #346
Closed

Some theme issue: Probably broken. #341

Moltkex opened this issue Mar 11, 2022 · 15 comments · Fixed by #346

Comments

@Moltkex
Copy link

Moltkex commented Mar 11, 2022

qBittorrent & operating system versions

Hi, I downloaded qBittorrent-Enhanced-Edition-4.4.1.10.AppImage and am having some issue with the theme; it looks ugly, while in previous one qBittorrent-Enhanced-Edition-4.4.0.10.AppImage theme looks fine. Here are some screenshots:

qBittorrent-Enhanced-Edition-4.4.1.10.AppImage:
qbittorrent-arch.png

qBittorrent-Enhanced-Edition-4.4.0.10.AppImage:
qbittorrent-arch2.png

This is on EndeavourOS with KDE 5.24.3. I should mention that I have KDE Neon(testing edition)in a separate partition, so I tried v4.4.1.10 there too, it doesn't look as ugly. Plasma's Neon version is the same, 5.24.3, frameworks version's different, tho, endeavour's 5.91.0 while neon's 5.92.0. Could that be the reason?

v4.4.1.10 in Neon:
ksnip-20220311-115750.png

Any help/advice is greatly appreciated. Thanks.

What is the problem?

qBittorrent-Enhanced-Edition-4.4.1.10.AppImage's theme looks ugly; might be broken or something.

Steps to reproduce

  1. Download qBittorrent-Enhanced-Edition-4.4.1.10.AppImage
  2. Make it executable.
  3. Launch qBittorrent-Enhanced-Edition-4.4.1.10.AppImage.

Additional context

Operating System: EndeavourOS
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Kernel Version: 5.16.13-arch1-1 (64-bit)
Graphics Platform: X11

Log(s) & preferences file(s)

No response

@abcfy2
Copy link

abcfy2 commented Mar 12, 2022

That's a known issue.

EndeavourOS does not bundle gtk2 engine by default. You should install the gtk2 theme engine.

You may use QT_DEBUG_PLUGINS=1 ./qBittorrent-Enhanced-Edition-4.4.1.10.AppImage run in terminal to check which file is required.

You may see

xxx.so no such file or directory

Then use pacman -F <xxx.so> to find which package provides this file.

Finally use sudo pacman -S <package> to fix this issue.

@abcfy2
Copy link

abcfy2 commented Mar 12, 2022

I found it.

qt6gtk required libgtk-x11-2.0.so.0, which provided by gtk2 package. You should install it:

sudo pacman -S gtk2

And dark theme should also be respected.

图片

@Moltkex
Copy link
Author

Moltkex commented Mar 12, 2022

I found it.

qt6gtk required libgtk-x11-2.0.so.0, which provided by gtk2 package. You should install it:

sudo pacman -S gtk2

And dark theme should also be respected.

图片

Thanks for your reply. Well, I tried your suggestion and got this:

sudo pacman -S gtk2
[sudo] password for moltke: 
warning: gtk2-2.24.33-2 is up to date -- reinstalling it.
resolving dependencies...
looking for conflicts between packages...

Package (1) Old Version New Version Net Difference

extra/gtk2 2.24.33-2 2.24.33-2 0.00 MiB

Total installation size: 36.30 MiB
Net size after upgrade: 0.00 MiB

Continue with the installation? [Y/n] 

I typed n since that doesn't seem to be the problem, and to be honest I'm not surprised, I mean, previous version doesn't have this issue, and I guess it too needs gtk2, doesn't it?. Also, I tried QT_DEBUG_PLUGINS=1 ./qBittorrent-Enhanced-Edition-4.4.1.10.AppImage and here's the output:

_DEBUG_PLUGINS=1 ./qBittorrent-Enhanced-Edition-4.4.1.10.AppImage
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_qBittoTFi57K/usr/plugins/platforms/libqxcb.so"
Found metadata in lib /tmp/.mount_qBittoTFi57K/usr/plugins/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "archreq": 0,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 393728
}


Got keys from plugin meta data QList("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/bin/platforms" ...
loaded library "/tmp/.mount_qBittoTFi57K/usr/plugins/platforms/libqxcb.so"
loaded library "Xcursor"
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/plugins/platformthemes" ...
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_qBittoTFi57K/usr/plugins/platformthemes/libqt6gtk2.so"
Found metadata in lib /tmp/.mount_qBittoTFi57K/usr/plugins/platformthemes/libqt6gtk2.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "qt5gtk2",
            "qt6gtk2"
        ]
    },
    "archreq": 0,
    "className": "Qt6Gtk2ThemePlugin",
    "debug": false,
    "version": 393728
}


Got keys from plugin meta data QList("qt5gtk2", "qt6gtk2")
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_qBittoTFi57K/usr/plugins/platformthemes/libqxdgdesktopportal.so"
Found metadata in lib /tmp/.mount_qBittoTFi57K/usr/plugins/platformthemes/libqxdgdesktopportal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "xdgdesktopportal",
            "flatpak",
            "snap"
        ]
    },
    "archreq": 0,
    "className": "QXdgDesktopPortalThemePlugin",
    "debug": false,
    "version": 393728
}


Got keys from plugin meta data QList("xdgdesktopportal", "flatpak", "snap")
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/bin/platformthemes" ...
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/plugins/platforminputcontexts" ...
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_qBittoTFi57K/usr/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
Found metadata in lib /tmp/.mount_qBittoTFi57K/usr/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "compose",
            "xim"
        ]
    },
    "archreq": 0,
    "className": "QComposePlatformInputContextPlugin",
    "debug": false,
    "version": 393728
}


Got keys from plugin meta data QList("compose", "xim")
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_qBittoTFi57K/usr/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so"
Found metadata in lib /tmp/.mount_qBittoTFi57K/usr/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "ibus"
        ]
    },
    "archreq": 0,
    "className": "QIbusPlatformInputContextPlugin",
    "debug": false,
    "version": 393728
}


Got keys from plugin meta data QList("ibus")
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/bin/platforminputcontexts" ...
loaded library "/tmp/.mount_qBittoTFi57K/usr/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/plugins/styles" ...
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_qBittoTFi57K/usr/plugins/styles/libqt6gtk2-style.so"
Found metadata in lib /tmp/.mount_qBittoTFi57K/usr/plugins/styles/libqt6gtk2-style.so, metadata=
{
    "IID": "org.qt-project.Qt.QStyleFactoryInterface",
    "MetaData": {
        "Keys": [
            "qt5gtk2",
            "qt6gtk2"
        ]
    },
    "archreq": 0,
    "className": "Qt6Gtk2StylePlugin",
    "debug": false,
    "version": 393728
}


Got keys from plugin meta data QList("qt5gtk2", "qt6gtk2")
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/bin/styles" ...
loaded library "/tmp/.mount_qBittoTFi57K/usr/plugins/styles/libqt6gtk2-style.so"
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/plugins/networkaccess" ...
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/bin/networkaccess" ...
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/plugins/sqldrivers" ...
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_qBittoTFi57K/usr/plugins/sqldrivers/libqsqlite.so"
Found metadata in lib /tmp/.mount_qBittoTFi57K/usr/plugins/sqldrivers/libqsqlite.so, metadata=
{
    "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
    "MetaData": {
        "Keys": [
            "QSQLITE"
        ]
    },
    "archreq": 0,
    "className": "QSQLiteDriverPlugin",
    "debug": false,
    "version": 393728
}


Got keys from plugin meta data QList("QSQLITE")
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/bin/sqldrivers" ...
loaded library "/tmp/.mount_qBittoTFi57K/usr/plugins/sqldrivers/libqsqlite.so"
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/plugins/tls" ...
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_qBittoTFi57K/usr/plugins/tls/libqcertonlybackend.so"
Found metadata in lib /tmp/.mount_qBittoTFi57K/usr/plugins/tls/libqcertonlybackend.so, metadata=
{
    "IID": "org.qt-project.Qt.QTlsBackend",
    "archreq": 0,
    "className": "QTlsBackendCertOnly",
    "debug": false,
    "version": 393728
}


Got keys from plugin meta data QList()
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_qBittoTFi57K/usr/plugins/tls/libqopensslbackend.so"
Found metadata in lib /tmp/.mount_qBittoTFi57K/usr/plugins/tls/libqopensslbackend.so, metadata=
{
    "IID": "org.qt-project.Qt.QTlsBackend",
    "archreq": 0,
    "className": "QTlsBackendOpenSSL",
    "debug": false,
    "version": 393728
}


Got keys from plugin meta data QList()
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/bin/tls" ...
loaded library "/tmp/.mount_qBittoTFi57K/usr/plugins/tls/libqcertonlybackend.so"
loaded library "/tmp/.mount_qBittoTFi57K/usr/plugins/tls/libqopensslbackend.so"
loaded library "libresolv.so.2"
loaded library "libdbus-1"
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/plugins/iconengines" ...
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_qBittoTFi57K/usr/plugins/iconengines/libqsvgicon.so"
Found metadata in lib /tmp/.mount_qBittoTFi57K/usr/plugins/iconengines/libqsvgicon.so, metadata=
{
    "IID": "org.qt-project.Qt.QIconEngineFactoryInterface",
    "MetaData": {
        "Keys": [
            "svg",
            "svgz",
            "svg.gz"
        ]
    },
    "archreq": 0,
    "className": "QSvgIconPlugin",
    "debug": false,
    "version": 393728
}


Got keys from plugin meta data QList("svg", "svgz", "svg.gz")
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/bin/iconengines" ...
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/plugins/imageformats" ...
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_qBittoTFi57K/usr/plugins/imageformats/libqgif.so"
Found metadata in lib /tmp/.mount_qBittoTFi57K/usr/plugins/imageformats/libqgif.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "gif"
        ],
        "MimeTypes": [
            "image/gif"
        ]
    },
    "archreq": 0,
    "className": "QGifPlugin",
    "debug": false,
    "version": 393728
}


Got keys from plugin meta data QList("gif")
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_qBittoTFi57K/usr/plugins/imageformats/libqico.so"
Found metadata in lib /tmp/.mount_qBittoTFi57K/usr/plugins/imageformats/libqico.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "ico",
            "cur"
        ],
        "MimeTypes": [
            "image/vnd.microsoft.icon",
            "image/vnd.microsoft.icon"
        ]
    },
    "archreq": 0,
    "className": "QICOPlugin",
    "debug": false,
    "version": 393728
}


Got keys from plugin meta data QList("ico", "cur")
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_qBittoTFi57K/usr/plugins/imageformats/libqjpeg.so"
Found metadata in lib /tmp/.mount_qBittoTFi57K/usr/plugins/imageformats/libqjpeg.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "jpg",
            "jpeg"
        ],
        "MimeTypes": [
            "image/jpeg",
            "image/jpeg"
        ]
    },
    "archreq": 0,
    "className": "QJpegPlugin",
    "debug": false,
    "version": 393728
}


Got keys from plugin meta data QList("jpg", "jpeg")
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_qBittoTFi57K/usr/plugins/imageformats/libqsvg.so"
Found metadata in lib /tmp/.mount_qBittoTFi57K/usr/plugins/imageformats/libqsvg.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "svg",
            "svgz"
        ],
        "MimeTypes": [
            "image/svg+xml",
            "image/svg+xml-compressed"
        ]
    },
    "archreq": 0,
    "className": "QSvgPlugin",
    "debug": false,
    "version": 393728
}


Got keys from plugin meta data QList("svg", "svgz")
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/bin/imageformats" ...
loaded library "/tmp/.mount_qBittoTFi57K/usr/plugins/imageformats/libqgif.so"
loaded library "/tmp/.mount_qBittoTFi57K/usr/plugins/imageformats/libqico.so"
loaded library "/tmp/.mount_qBittoTFi57K/usr/plugins/imageformats/libqjpeg.so"
loaded library "/tmp/.mount_qBittoTFi57K/usr/plugins/imageformats/libqsvg.so"
loaded library "/tmp/.mount_qBittoTFi57K/usr/plugins/iconengines/libqsvgicon.so"
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/plugins/accessible" ...
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/bin/accessible" ...
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/plugins/xcbglintegrations" ...
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_qBittoTFi57K/usr/bin/xcbglintegrations" ...
QLibraryPrivate::unload succeeded on "libdbus-1" 
QLibraryPrivate::unload succeeded on "/tmp/.mount_qBittoTFi57K/usr/plugins/iconengines/libqsvgicon.so" (faked)
QLibraryPrivate::unload succeeded on "/tmp/.mount_qBittoTFi57K/usr/plugins/imageformats/libqgif.so" (faked)
QLibraryPrivate::unload succeeded on "/tmp/.mount_qBittoTFi57K/usr/plugins/imageformats/libqico.so" (faked)
QLibraryPrivate::unload succeeded on "/tmp/.mount_qBittoTFi57K/usr/plugins/imageformats/libqjpeg.so" (faked)
QLibraryPrivate::unload succeeded on "/tmp/.mount_qBittoTFi57K/usr/plugins/imageformats/libqsvg.so" (faked)
QLibraryPrivate::unload succeeded on "/tmp/.mount_qBittoTFi57K/usr/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so" (faked)
QLibraryPrivate::unload succeeded on "/tmp/.mount_qBittoTFi57K/usr/plugins/platforms/libqxcb.so" (faked)
QLibraryPrivate::unload succeeded on "/tmp/.mount_qBittoTFi57K/usr/plugins/sqldrivers/libqsqlite.so" (faked)
QLibraryPrivate::unload succeeded on "/tmp/.mount_qBittoTFi57K/usr/plugins/styles/libqt6gtk2-style.so" (faked)
QLibraryPrivate::unload succeeded on "/tmp/.mount_qBittoTFi57K/usr/plugins/tls/libqcertonlybackend.so" (faked)
QLibraryPrivate::unload succeeded on "/tmp/.mount_qBittoTFi57K/usr/plugins/tls/libqopensslbackend.so" (faked)
QLibraryPrivate::unload succeeded on "Xcursor" (faked)
QLibraryPrivate::unload succeeded on "libresolv.so.2" (faked)

I don't see any errors or any other "unusual" message, but you might see something I didn't. Thanks again for your help, much appreciated. I'll just keep on using v4.4.0.10 until manage to fix this. 😁

@Moltkex
Copy link
Author

Moltkex commented Mar 12, 2022

I just downloaded qbittorrent-4.4.1_x86_64.AppImage https://www.qbittorrent.org/download.php just to see if the issue occurred in that one too, and it didn't.

ksnip-20220312-175558.png

So far, only v4.4.1.10 has that, while v4.4.0.10 doesn't and neither does the official app. 🤷

@Moltkex
Copy link
Author

Moltkex commented Mar 12, 2022

I launched the 2 versions: 4.4.0.10, 4.4.1.10, and added QT_DEBUG_PLUGINS=1 before in konsole, then compared the outputs, not sure, but I did find what I think might be the root of the problem. I took some screenshots:
v4.4.0.10 vs v4.4.1.10

4-4-0-10vs4-4-1-10.png

I did the same with v4.4.1(official) and 4.4.0.10
ksnip-20220312-184114.png

I'm not expert and not sure what I'm seeing, but I noticed both v4.4.1(official) and v4.4.0.10 call QGtk3ThemePlugin, while v4.4.1.10 only calls Qt6Gtk2ThemePlugin This is missing in v4.4.1.10

"IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "gtk3"
        ]
    },
    "archreq": 0,
    "className": "QGtk3ThemePlugin",
    "debug": false,
    "version": 393728
}

@abcfy2
Copy link

abcfy2 commented Mar 13, 2022

I launched the 2 versions: 4.4.0.10, 4.4.1.10, and added QT_DEBUG_PLUGINS=1 before in konsole, then compared the outputs, not sure, but I did find what I think might be the root of the problem. I took some screenshots: v4.4.0.10 vs v4.4.1.10

4-4-0-10vs4-4-1-10.png

I did the same with v4.4.1(official) and 4.4.0.10 ksnip-20220312-184114.png

I'm not expert and not sure what I'm seeing, but I noticed both v4.4.1(official) and v4.4.0.10 call QGtk3ThemePlugin, while v4.4.1.10 only calls Qt6Gtk2ThemePlugin This is missing in v4.4.1.10

"IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "gtk3"
        ]
    },
    "archreq": 0,
    "className": "QGtk3ThemePlugin",
    "debug": false,
    "version": 393728
}

That's expected. I force set QT_QPA_PLATFORMTHEME=qt6gtk2 because qt6gtk2 expect it. And if you use gtk3, will cause dark theme not working, and font DPI no affect. You can confirm this by using official qbittorrent AppImage. And 4.4.0.10 does not force set these environment variables.

It seems your KDE theme does not bundle gtk2 theme, other Linux distros which use KDE as default DE (such as Manjaro KDE, Deepin, KDE neno and so on) no affect because they provide gtk2 themes by default.

I'll install a EndeavourOS with KDE to test. Wait.

@abcfy2
Copy link

abcfy2 commented Mar 13, 2022

I can't reproduce your issue. I install a fresh EndeavourOS with KDE.
VirtualBox_endeavouros_13_03_2022_10_29_23

I do not change any default settings.

Would you please show your application style and GTK application style ? Here is my default:

图片
图片

@abcfy2
Copy link

abcfy2 commented Mar 13, 2022

Oh I know. Seems your GTK application style set to Emacs ?

图片

If so, you should change to other GTK themes that provide gtk2 style like default Breeze.

@abcfy2
Copy link

abcfy2 commented Mar 13, 2022

Oh I find qt6gtk2 update its code and modify README:

export QT_QPA_PLATFORMTHEME=gtk2
Attention! Environment variable QT_STYLE_OVERRIDE should be removed before usage.

I'll commit a PR to fix this issue. Thanks.

@Moltkex
Copy link
Author

Moltkex commented Mar 13, 2022

Oh I know. Seems your GTK application style set to Emacs ?

图片

If so, you should change to other GTK themes that provide gtk2 style like default Breeze.

I've been using breeze-gtk for gnome/gtk apps, it didn't occur to me that it might affect qbittorrent (isn't it built with qt?) I just changed it to breeze, launched v4.4.1.10 and it looks better:

ksnip-20220312-233623.png

However, I tried then with Arc, and it looks even better:

ksnip-20220312-234422.png

Looking forward to the fix and possibly be able to use gtk3. Thanks for all your help! 👍

EDIT: Wow! Thank you so much! Changing that actually made the way a couple of gtk apps like gimp to now look much better! 🥇

@abcfy2
Copy link

abcfy2 commented Mar 13, 2022

Looking forward to the fix and possibly be able to use gtk3. Thanks for all your help! +1

You may vote this issue: trialuser02/qt6gtk2#2

(isn't it built with qt?)

Correct. But bundle qt theme into AppImage is so hard. You may check this issue for details: AppImageCommunity/pkg2appimage#88

So most qt applications in AppImage will bundle qt gtk plugins for supporting GTK themes. And luckily most artists will design themes for both qt and gtk, thus makes similar experience for both qt and gtk applications.

If you're using KDE, in addition to set a plasma theme, you should also set a similar GTK theme.

@Moltkex
Copy link
Author

Moltkex commented Mar 13, 2022

Looking forward to the fix and possibly be able to use gtk3. Thanks for all your help! +1

You may vote this issue: trialuser02/qt6gtk2#2

I'm not sure what you mean with "vote this issue". I don't see any "vote" button, and actually I can't even "like" the post.

(isn't it built with qt?)

Correct. But bundle qt theme into AppImage is so hard. You may check this issue for details: AppImage/pkg2appimage#88

So most qt applications in AppImage will bundle qt gtk plugins for support GTK themes.

Ah, I see. Thanks for the clarifying. 😁

@abcfy2
Copy link

abcfy2 commented Mar 13, 2022

Seems current settings are correct. I try to test with Ubuntu 20.04.

With export QT_STYLE_OVERRIDE=qt6gtk2, the font DPI and theme correct:
VirtualBox_ubuntu-20

But unset QT_STYLE_OVERRIDE, the font size is wrong, and theme does not respect system settings.
VirtualBox_ubuntu-21

So I think I should keep current settings.

@Moltkex
Copy link
Author

Moltkex commented Mar 13, 2022

I don't know if it is because of language being Chinese(I don't know Chinese), but apart from the dark and light theme, I see no difference between your screenshots lol

So I think I should keep current settings.

Oh, well, changing the theme for gnome/gtk apps in plasma systemsettings, kind of fixed it for me: v4.4.1.10 looks much better now. So, I don't know, you may close this if you want to.

@abcfy2
Copy link

abcfy2 commented Mar 13, 2022

but apart from the dark and light theme

And color is not for system theme either.

you may close this if you want to.

I can't do it. You have to close yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants