QT Window - Crash on mouse over icon (Bug #533)
Description
If i create two windows
namedWindow("Input", CV_WINDOW_AUTOSIZE | CV_WINDOW_FREERATIO);
namedWindow("Output", CV_WINDOW_AUTOSIZE | CV_WINDOW_FREERATIO);
I load a video into both windows and play it
If i put the mouse over the save icon in the second window the program crashes
History
Updated by Niall O'Hara over 14 years ago
Actually its any icon in the second window crashes it
To see the problem use the provided qt sample. The window named original is the one that crashes it on mouseover of any of the icons.
Updated by Yannick Verdie over 14 years ago
Hello,
I cannot reproduce the bug. On my side (XP + VS2008 + OpenGL), the sample does not crash when I use the icons (I tested all the icons on both window). To be sure we use the same code, I deleted the source and the sample and checkout everything again from repository. Could you give me more information ?
Thanks
Yannick
PS: Do you know is the bug #531 is fixed ? - ticket still open.
Updated by Yannick Verdie over 14 years ago
Could you confirm to me this is crashing when you use the icons (does not crash for me)
CvCapture* video = cvCaptureFromFile("cube4.avi");
CV_Assert(video);
namedWindow("Input", CV_WINDOW_AUTOSIZE | CV_WINDOW_FREERATIO);
namedWindow("Output", CV_WINDOW_AUTOSIZE | CV_WINDOW_FREERATIO);
IplImage* source=0;
while(cvWaitKey(33) != 27)
{
source=cvQueryFrame(video);
cvShowImage("Input",source);
cvShowImage("Output",source);
}
cvReleaseCapture(&video);
Thanks;
Updated by Niall O'Hara over 14 years ago
The above code does crash it on my system, I did a fresh checkout and build
If I move my mouse over any of the icons in the output window it crashes
Updated by Yannick Verdie over 14 years ago
Yesterday, I did a function to disable the button when no bar is attached to the properties window. I commented it for now. Could you try again after checkout ?
Thanks
Updated by anonymous - over 14 years ago
Updated by Niall O'Hara over 14 years ago
Fixed in r3537 Thanks
Updated by Niall O'Hara over 14 years ago
- Status changed from Open to Done
- (deleted custom field) set to fixed
Updated by Niall O'Hara over 14 years ago
Changeset r3542 does not fix this issue for me, putting the mouse over any icon crashes the program.
I did a clean checkout and fresh build.
- Status changed from Done to Cancelled
- (deleted custom field) deleted (
fixed)
Updated by Yannick Verdie over 14 years ago
Hello,
looks like I start to understand what is going on. The toolTip (yellow box) attached to the icon may be the reason.
Can you test again with the new version.
Thank.
Updated by Niall O'Hara over 14 years ago
Yes, you were correct, it was the toolTip that was causing the crash.
Confirmed fixed in r3544
Thanks :)
- Status changed from Cancelled to Done
- (deleted custom field) set to fixed
Updated by Andrey Kamaev almost 13 years ago
- Category set to highgui-images
Updated by Andrey Kamaev over 12 years ago
- Assignee deleted (
Yannick Verdie) - Category changed from highgui-images to highgui-gui