Mac freezes when setting full screen

asked 2016-06-15 21:26:57 -0500

bob_oi gravatar image

Hello

Xcode 7.3.1, Mac OS X 10.11.5, OpenCV 2.4.13, MacBook Pro

When attempting to show an image in full screen the program stops running (lines after the one below don't seem to run), and the screen goes black. The mouse cursor is still moving but the machine won't respond to keyboard - can't switch windows, force quit, or do anything else except of hard-resetting. The line that does all this mess is:

setWindowProperty(wndName, CV_WND_PROP_FULLSCREEN, CV_WINDOW_FULLSCREEN);

Will appreciate any ideas...

Thanks

edit retag flag offensive close merge delete

Comments

Have you tried a cv::waitkey that will alter the window properties. Such as 'f' to toggle FULLSCREEN and NORMAL?

Der Luftmensch gravatar imageDer Luftmensch ( 2016-06-16 09:25:12 -0500 )edit