https://bugs.kde.org/show_bug.cgi?id=495024
Bug ID: 495024 Summary: Shortcuts in QMenu with Right-To-Left application direction are drawing overlay Classification: Plasma Product: Breeze Version: 6.2.1 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: QStyle Assignee: plasma-b...@kde.org Reporter: igor.mironc...@gmail.com CC: noaha...@gmail.com, uhh...@gmail.com Target Milestone: --- Created attachment 175011 --> https://bugs.kde.org/attachment.cgi?id=175011&action=edit Overlayed shortcuts SUMMARY Shortcuts in QMenu with Right-To-Left application direction are drawing overlay STEPS TO REPRODUCE #include <QtWidgets> int main(int argc, char** argv) { QApplication app(argc, argv); QMainWindow mw; mw.setLayoutDirection(Qt::RightToLeft); auto menu = mw.menuBar()->addMenu("Menu"); auto action = menu->addAction("Action 1"); action->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_A)); mw.show(); return app.exec(); } OBSERVED RESULT Look at the attached GIF. EXPECTED RESULT Shortcuts should not be overlayed. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20241016 KDE Plasma Version: 6.2.1 KDE Frameworks Version: 6.7.0 Qt Version: 6.7.3 Kernel Version: 6.11.3-1-default (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz Memory: 7,6 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 620 Manufacturer: HP Product Name: HP ProBook 640 G3 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.