After having been shown in composited mode, menus don't properly set XShape mask. At the same time, the mask is set if the menu is first shown in non-composited mode. Reproducible: Always Steps to Reproduce: 1. Enable compositing 2. Launch Konsole 3. Open View menu, see it looking rounded and antialiased 4. Disable compositing 5. Open View menu, see it being square, i.e. lacking XShape mask 6. Open other previously not opened menus, see XShape set properly Actual Results: Step 5 gives square menu window Expected Results: Menu in step 5 should be rounded via XShape
Can reproduce (of course !) working on it now.
... in fact, might be a Qt bug. Here, the mask is properly set the *second* time the menu is shown, after compositing has been disabled. (it is not, the *first* time). You confirm ? In oxygen, mask is passed to the widget via a "style hint" and it is properly checked there whether compositing is enabled or not, when deciding what to return. So issue is likely that the style hint method is not called often enough (by Qt). I guess I can try find a workaround ...
> Here, the mask is properly set the *second* time the menu is shown, after compositing has been disabled. (it is not, the *first* time). You confirm ? No, this doesn't work at any time for me (Qt 4.8.1).
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.
Still reproducible on Ubuntu 20.04.