Git commit cc47b95094a331fe5bdd38f340d549dfa1bbf507 by Andreas Sturmlechner= , on behalf of Alex Nemeth. Committed on 12/09/2018 at 21:49. Pushed by asturmlechner into branch 'master'. Add translucent background attribute to desktop icon popup menu Summary: This fixes the issue when menu transparency is enabled in the Breeze widget= settings the context menu of desktop icons have no transparency. Multiple users (including me) have reported that D14174 did not solve the p= roblem. BUG: 395262 Test Plan: Before: {F6253280} After: {F6253279} Reviewers: hein, davidedmundson, #plasma Reviewed By: davidedmundson, #plasma Subscribers: ngraham, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D15435 M +3 -0 containments/desktop/plugins/folder/foldermodel.cpp https://commits.kde.org/plasma-desktop/cc47b95094a331fe5bdd38f340d549dfa1bb= f507 diff --git a/containments/desktop/plugins/folder/foldermodel.cpp b/containm= ents/desktop/plugins/folder/foldermodel.cpp index 8a460f0a..c0e07447 100644 --- a/containments/desktop/plugins/folder/foldermodel.cpp +++ b/containments/desktop/plugins/folder/foldermodel.cpp @@ -1818,6 +1818,9 @@ void FolderModel::openContextMenu(QQuickItem *visualP= arent, Qt::KeyboardModifier } else { m_menuPosition =3D QCursor::pos(); } + = + = + menu->setAttribute(Qt::WA_TranslucentBackground); menu->winId(); //force surface creation before ensurePolish call in me= nu::Popup which happens before show menu->popup(m_menuPosition); connect(menu, &QMenu::aboutToHide, [menu]() { menu->deleteLater(); });