Closed tsujan closed 5 months ago
@stefonarch Whether this patch fixes the problem you told me or not, it is needed, but please check if it has any effect for you.
Issue is here https://github.com/lxqt/lxqt-panel/issues/1996
It hasn't any visible effect, offset and issues are still the same.
OK. I didn't expect it had any relevance to https://github.com/lxqt/lxqt-panel/issues/1996. But it's logical and simple enough; hence merging...
The issue is the same, both on wayland and x11.
The issue is the same, both on wayland and x11.
The code I quoted above was just a complementary explanation; otherwise, there was no issue here under Wayland.
QWidget::mapToGlobal
should have been used with the viewport, not with the view itself.Also, set the window flag explicitly because, although there seems to be no problem under Wayland, we had seen a problem in another plugin when the flags weren't set explicitly.