Important: Please read the Qt Code of Conduct -

Round corners on one side of ShellSurfaceItem

  • Hi!

    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!

Log in to reply