Bug 453735

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: QStyleAssignee: 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:
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

Description Patrick Silva 2022-05-13 11:21:39 UTC
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
Comment 1 Patrick Silva 2022-05-13 11:23:03 UTC
Created attachment 148793 [details]
clipboard contains a long entry - the title of the menu is entirely readable
Comment 2 Nate Graham 2022-05-13 14:58:26 UTC
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?
Comment 3 David Redondo 2022-05-17 12:35:25 UTC
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();
}
Comment 4 Patrick Silva 2022-05-31 18:54:40 UTC
*** Bug 454662 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2022-07-20 13:53:19 UTC

*** This bug has been marked as a duplicate of bug 443805 ***