resizeWindow() on OS X (Bug #3200)
Description
Using the function resizeWindow() on Max OS X 10.8.4 Mountain Lion causes the windows, which show the video feed from the webcam and the processed images, to appear at the bottom of the screen. They can't be moved upwards or anywhere else, and the images appear to update continuously in an unstable fashion. I included the code and the jpeg that is used in the program as well as the screen shot of the program running on my Mac. The jpeg appears correctly during program execution.
--Peter
Associated revisions
Merge pull request #3200 from pierriko:master
Fixes resizeWindow() on OS X (Bug #3200)
History
Updated by Victor Kocheganov over 11 years ago
Hello Peter,
thank you for submitting this detailed ticket!
We will try to include fix for the issue into one of the next releases. But unfortunately we have limited resources at the moment and if there is a chance you find time to investigate it by yourself it would be highly appreciated! (Please see http://code.opencv.org/projects/opencv/wiki/How_to_contribute for details)
Thank you in advance,
Victor
- Target version set to 2.4.7
- Assignee set to Alexander Smorkalov
Updated by Victor Kocheganov over 11 years ago
- Status changed from New to Open
Updated by Alexander Smorkalov over 11 years ago
- Target version changed from 2.4.7 to 2.4.8
- Affected version changed from 2.4.6 (latest release) to 2.4.0 - 2.4.6
Updated by Alexander Smorkalov about 11 years ago
- Target version changed from 2.4.8 to 2.4.9
Updated by Alexander Smorkalov almost 11 years ago
- Target version changed from 2.4.9 to 2.4.10
Updated by Mike Maraya over 10 years ago
I've been looking into this and thanks to the detailed description and code listing, I have been able to simplify the code that produces the bug under Mac OS X 10.9.3 (see attached). Alexander, do you mind if I continued working on this issue until I've developed a pull request?
- File CheapWebCam.cpp added
Updated by Mike Maraya over 10 years ago
- Only windows created without CV_WINDOW_AUTOSIZE flag can be resized.
Changing the window flag from CV_WINDOW_AUTOSIZE to CV_WINDOW_NORMAL eliminates the reported defect and the window is displayed correctly. Should an exception should be thrown when a window created with the CV_WINDOW_AUTOSIZE flag is resized or should resize attempts be ignored when the flag is set?
Updated by Mike Maraya over 10 years ago
- Status changed from Open to Done
- % Done changed from 0 to 100