| Summary: | Shortcuts in QMenu with Right-To-Left application direction are drawing overlay | ||
|---|---|---|---|
| Product: | [Plasma] Breeze | Reporter: | Igor Mironchik <igor.mironchik> |
| Component: | QStyle | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | nate, noahadvs, uhhadd |
| Priority: | NOR | ||
| Version First Reported In: | 6.2.1 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Overlayed shortcuts | ||
Created attachment 175011 [details] 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