Bug 385311 - QMenu created by org.kde.plasma.components.Menu lacks alpha
Summary: QMenu created by org.kde.plasma.components.Menu lacks alpha
Status: RESOLVED DUPLICATE of bug 381799
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: components (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-02 21:38 UTC by Fabian Vogt
Modified: 2017-11-23 13:33 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Vogt 2017-10-02 21:38:29 UTC
It's a known bug that the menu that appears on a right click on QML components such as plasmoids or containments has ugly black corners. This is due to the window not being created with the right surface format. A workaround is to call this somewhere in the code:

QSurfaceFormat format;
format.setAlphaBufferSize(8);
QSurfaceFormat::setDefaultFormat(format);
Comment 1 Kai Uwe Broulik 2017-11-23 13:33:34 UTC
*** This bug has been marked as a duplicate of bug 381799 ***