I have been having issues with the context menus in some QT6 applications.
qBittorrent:
Dolphin Emu:
I suspect this could be related to my theming. I have tried with/without picom and the result is the same.
I use Kvantum to theme applications and use the materia theme. Both qt5ct and qt6ct are set to use kvantum.
In Kvantum and lxappearance, the theme is set to MateriaDark. /etc/environment:
# QT theme and KDE apps plugins
#QT_STYLE_OVERRIDE=kvantum
QT_QPA_PLATFORMTHEME=qt5ct
QT_PLUGIN_PATH=/home/user/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/
# Other
GTK_USE_PORTAL=1
Before I had last updated the system, this issue was bypassed by added the following stylesheet to qt5ct or qt6ct:
QMenu {
border: none;
}
But this does not look as it should.
Something else which may be of note is that the password prompt which is spawned when using pkexec does not have the correct theming applied:
This was also not the case before the last update.
Note that the QT_QPA_PLATFORMTHEME entry is commented out. After that, you can set your themes with kvantummanager or by editing the config file ( ~/.config/Kvantum/kvantum.kvconfig) directly.
I’ve watched the anime. I liked it. Unfortunately, I think it was discontinued after season 1. The lightnovels are good too.
Yes, that seems to be the case. I tried a few others through Kvantum just now, same result.
It seems disabling “GUI Effects” in qt5ct, qt6ct and Kvantum makes some items show more consistently. Context menus seem to almost always show but sub-menus of the context menu are inconsistent.
I should also mention that items in the menu bar also act this way:
vs
try to configure the themes using Kvantum alone by setting the environment variable QT_STYLE_OVERRIDE=kvantum
Seems to have no change to this issue (but it did prevent the PolKit QT GUI from spawning, it fell back to the terminal PolKit prompt but it doesn’t work. That’s probably its own issue, not too important)
I’ve watched the anime. I liked it. Unfortunately, I think it was discontinued after season 1. The lightnovels are good too.
That is unfortunate. At least the light novels are good, it’s not just a case of an entire story being discontinued.
Yes, I suspect so. It might be worth checking out the theme’s github page to see if there’s an open issue there.
The manga is still ongoing, as far as I know. I confess, when I saw Kozakura’s multiple monitor setup, I thought it was cool. I rmb asking myself if she was running Arch or Gentoo. Anything but Windoze.
I have this issue of menus appearing cutoff sometimes in plasma 6. I thought it was nvidia problem though, didn’t look into it after that. I’ll file a bug report if one hasn’t been filed already.
I may have spoken to soon Although it was working perfectly 5 minutes ago, when going through and enabling options, I enabled GUI effects once again and the issue reappeared. “That’s fine”, I thought, it was probably part of the issue but disabling it had no change.
Maybe I’ll need to log out and back in again but for now it’s back. I’ll keep this updated regardless.
This seems to have been fixed in Qt 6.7
(I think, I’m not sure how they described this bug but there are items in this release note about issues with context menus.)
I’ll mark this as a solution anyway as it can be fixed by updating to the latest version of Qt