Create a window without title bar on OSX
Unsolved
General and Desktop
-
Hello,
I would like to create an app in Mac without title bar just like the above article by using the NSFullSizeContentViewWindowMask flag , so that the window controls (close , max min etc) are still present.
https://eduardmetzger.wordpress.com/2016/04/03/create-a-window-without-title-bar-with-qtqml-on-osx/
However, this article also pointed out that the window will turn black in some case. The author do not have a method to fix it.
I test it with Qt 5.8. The screen will be completely black, if I switch out and switch in again. It will display correct content. Just wonder any one has experience in this issue and willing to share your finding here?
Thanks for any advise.
-