Bug 453735 - Title of 'Open klipper at mouse position' menu is not entirely readable when clipboard is empty
Summary: Title of 'Open klipper at mouse position' menu is not entirely readable when...
Status: RESOLVED DUPLICATE of bug 443805
Alias: None
Product: Breeze
Classification: Plasma
Component: QStyle (show other bugs)
Version: master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-13 11:21 UTC by Patrick Silva
Modified: 2022-07-20 13:53 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
empty clipboard - the title of the menu is not entirely readable (44.17 KB, image/png)
2022-05-13 11:21 UTC, Patrick Silva
Details
clipboard contains a long entry - the title of the menu is entirely readable (46.34 KB, image/png)
2022-05-13 11:23 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***