Summary: | Title of 'Open klipper at mouse position' menu is not entirely readable when clipboard is empty | ||
---|---|---|---|
Product: | [Plasma] Breeze | Reporter: | Patrick Silva <bugseforuns> |
Component: | QStyle | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | kde, nate, noahadvs, phyllon |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
empty clipboard - the title of the menu is not entirely readable
clipboard contains a long entry - the title of the menu is entirely readable |
Created attachment 148793 [details]
clipboard contains a long entry - the title of the menu is entirely readable
Can confirm. The general case of this is should already be fixed in Breeze (see Bug 450333), but maybe we need to do something special here? Indeed looks similar. I think the breeze change only applies for isMenuTitle(widget) maybe? a This minimal example reproduces it #include <QMenu> #include <QApplication> int main(int argc, char **argv) { QApplication app(argc, argv); QMenu menu; menu.addSection(QIcon::fromTheme(QStringLiteral("klipper")), "Klipper - Clipboard Tool"); menu.addAction(new QAction("Search")); menu.popup(QPoint()); app.exec(); } *** Bug 454662 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 443805 *** |
Created attachment 148792 [details] empty clipboard - the title of the menu is not entirely readable STEPS TO REPRODUCE 1. make sure the clipboard is empty 2. press meta+v 3. OBSERVED RESULT 'Open klipper at mouse position' menu opens and its title is not entirely readable. Please compare the attached screenshots. EXPECTED RESULT the title of the menu should always be entirely readable SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.24.80 KDE Frameworks Version: 5.94.0 Qt Version: 5.15.3 Graphics Platform: Wayland