Bug 462293 - KDE theming breaks drop-down menus in some applications
Summary: KDE theming breaks drop-down menus in some applications
Status: RESOLVED DOWNSTREAM
Alias: None
Product: frameworks-qqc2-desktop-style
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.100.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-26 23:27 UTC by jkhsjdhjs
Modified: 2023-01-11 17:26 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jkhsjdhjs 2022-11-26 23:27:12 UTC
SUMMARY
Drop-down menus don't work in some applications. This seems to be related to the theme applied by KDE.
The only example I have is `monero-wallet-gui` (a QML application), but I wrote 'some applications' because I assume that there are other applications I'm not aware of that are also affected.


STEPS TO REPRODUCE
1. Start `monero-wallet-gui` on KDE
2. Click on any drop-down menu

OBSERVED RESULT
The drop-down menu doesn't expand.

EXPECTED RESULT
The drop-down menu expands.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 6.0.9-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 2700X Eight-Core Processor
Memory: 31,3 GiB of RAM
Graphics Processor: AMD Radeon RX 6700 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X570 AORUS ELITE
System Version: -CF

ADDITIONAL INFORMATION
A workaround is to start `monero-wallet-gui` with the environment variable `QT_QPA_PLATFORMTHEME=qt5ct`.

Related bug reports:
https://bugs.archlinux.org/task/72489
https://github.com/monero-project/monero-gui/issues/3938
Comment 1 Nate Graham 2022-11-30 20:30:46 UTC
qt5ct and plasma-integration are mutually exclusive. You can't have both installed and in use at once. Please remove qt5ct and try again.
Comment 2 jkhsjdhjs 2022-11-30 21:29:45 UTC
Thanks for the reply! I actually only installed qt5ct to test the workaround proposed here: https://github.com/monero-project/monero-gui/issues/3938#issuecomment-1327914535
So the issue initially occured when qt5ct wasn't installed. To test the workaround I did have both installed, but qt5ct only active for monero-gui using the QT_QPA_PLATFORMTHEME=qt5ct environment variable. I didn't change any system-wide, user-wide or plasma-wide configuration.
I currently don't have qt5ct installed anymore and the issue still occurs.
Comment 3 Nate Graham 2022-12-01 20:42:37 UTC
Thanks. Can you ask the developer to put together a simple test case file that can be run in `qmlscene` which illustrates the issue?
Comment 4 Bug Janitor Service 2022-12-16 05:15:39 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 jkhsjdhjs 2022-12-19 14:30:59 UTC
I'd really like to provide more info, but the monero devs didn't reply....
Comment 6 Nate Graham 2022-12-24 21:48:15 UTC
Hopefully they do, because this is almost certainly an issue in their code, or with your local configuration.
Comment 7 jkhsjdhjs 2023-01-11 17:26:13 UTC
The devs were able to resolve this issue by overriding desktop theming: https://github.com/monero-project/monero-gui/pull/4091