Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Round corners on one side of ShellSurfaceItem
m83k last edited by
I am quiet new to QML and I am kinda stuck right now. I am trying to create a desktop based on Wayland and everything works good, except the thing with rounded corners of the ShellSurfaceItem. I've tried to round the corners with a layer.effect: OpacityMask and a rounded rectangle as masking source. Well, it works, but - and I think that's obvious - everything what crosses the edges of the mask is cut away, like contextmenus. This is frustrating.
So my question is: Is it possible to round one side (right side) of the ShellSurfaceItem without cutting away menus and how?
Thank you for reading this and helping me out!