I'm trying to create a frameless transparent window with Qt and its go-bind(https://github.com/therecipe/qt).
The problem I have faced is that the debris of the text remains in the frameless transparent window. Please look at Gif(https://i.imgur.com/47OC7ps.gif).
The characteristics of the problem I confirmed are the following.
This problem can be avoided by explicitly calling Hide()
, Show()
in QMainWindow itself, but performance problems occur.
I expect that there will be some consideration for resizing the application since the problem occurs only in resized window.
Are there any ideas?
My environment is the following:
I solved this problem.
This problem is caused by the shadow of the window in MacOS. I was able to work around this issue by setting Qt::NoDropShadowWindowHint
to the window.
Perhaps this problem is a bug of MacOS/Qt.