-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
“y” argument to moveWindow() being ignored? #16343
Copy link
Copy link
Closed
Labels
Hackathonhttps://opencv.org/opencv-hackathon-starts-next-week/https://opencv.org/opencv-hackathon-starts-next-week/bugcategory: highgui-guiplatform: ios/osx
Description
System information (version)
- OpenCV => 4.1.2
- Operating System / Platform => macOS Catalina 10.15.2
- Compiler => Xcode / clang / c++
Detailed description
(I must be doing something wrong. This seems too obvious to be a real bug.)
Running a version of OpenCV 4.1.2, recently installed (via homebrew) on macOS Catalina 10.15.2, I tried to show several images in individual windows. I wanted to offset the windows along a diagonal:
int window_counter = 0;
int window_position = 0;
for (int i = 0; i < 4; i++)
{
std::string window_name = "TexSyn" + std::to_string(window_counter++);
cv::namedWindow(window_name);
cv::moveWindow(window_name, window_position, window_position);
window_position += 30;
cv::imshow(window_name, opencv_image);
}
cv::waitKey(0);
The windows appear. They are offset in “x” but not in “y”:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Hackathonhttps://opencv.org/opencv-hackathon-starts-next-week/https://opencv.org/opencv-hackathon-starts-next-week/bugcategory: highgui-guiplatform: ios/osx
