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”:

System information (version)
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:
The windows appear. They are offset in “x” but not in “y”: