Page MenuHome

Simple fix for fullscreen flickering + hidden windows on Win10 + Some GTX cards
ClosedPublic

Authored by db (phocomelus) on Apr 3 2019, 1:29 AM.

Details

Summary

Using WinExplorer I determined that the black flickering and Preferences window being hidden behind the main Blender window in Fullscreen mode were being caused by the WS_POPUP window style flag.

This patch removes the WS_POPUP flag and refactors the getState() function logic to use WS_DLGFRAME | WS_MAXIMIZE to determine if the window is maximized, as WS_DLGFRAME is removed when in Fullscreen mode, but present when maximized.

Side note: this is my first time compiling Blender and creating a diff. I hope this is all correct. Apologies for any mistakes or omissions.

Diff Detail

Repository
rB Blender

Event Timeline

db (phocomelus) created this revision.Apr 3 2019, 1:29 AM

Tested on Win7 with nvidia and mesa - softwaregl.

This seems to fix T62780 , T59802, T57648 all in one go, good job!

This revision is now accepted and ready to land.Apr 3 2019, 1:51 AM

Thanks for testing @Ray Molenkamp (LazyDodo). The patch looks fine for me.

This revision was automatically updated to reflect the committed changes.