cv::namedWindow() doesn't resize (Bug #277)
Description
With or without the CV_WINDOW_AUTOSIZE flag, the mouse will not grab the corners of the window to resize. Also, cvResizeWindow() doesn't do anything. There doesn't seem to be a cv::resizeWindow function.
Finally: in the ticketing process, there is no OpenCV person to specify as the assignee.
Related issues
duplicates Bug #276: namedWindow documentation problem | Done |
Associated revisions
Merge pull request #277 from ilya-lavrenov:ResizeAreaFast
History
Updated by Gary Bradski almost 15 years ago
- Status deleted (
Open)
Updated by anonymous - almost 15 years ago
duplicate of #276
The following sample works great (i.e. the window can be resized) on Ubuntu 9.10 x64, when OpenCV is compiled with GTK+ support. If it still does not work, please, supply the sample.
#include "cv.h"
#include "highgui.h"
#include <stdio.h>
using namespace cv;
int main(int, char**)
{
printf("press any key within 1 second\n");
namedWindow("test", 0);
int c = waitKey(0);
printf("%d\n", c);
return 0;
}
- Status set to Done
- (deleted custom field) set to duplicate
Updated by Anonymous almost 15 years ago
Please note that to get a resizeable window, you have to supply an argument of "0". Nowhere is this stated in the docs. The default version, with no second argument, corresponds to setting the flag CV_WINDOW_AUTOSIZE, which again is not stated in the docs.
Updated by Andrey Kamaev almost 13 years ago
- Status changed from Done to Cancelled
Updated by Andrey Kamaev almost 13 years ago
- Category set to highgui-images
Updated by Andrey Kamaev over 12 years ago
- Category changed from highgui-images to highgui-gui