Closed GoogleCodeExporter closed 9 years ago
Can you provide the project stack contents displayed on the terminal standard
error output at the end of the program?
Original comment by benoit.m...@gmail.com
on 7 May 2012 at 9:22
I'll try to.
Meanwhile, i've found a way to stop it from happening, maybe it is useful for
you to understand.
Over the grid i've put two pictureboxes with transparent pngs with ignore
parameter set to true, they share the same gridview parent.
In the program startup i move and resize them explicitely, and in the grid data
event i've set they property visible=true (they are both hidden by default).
That way caused the program to crash sometimes.
Now that i moved visible=true outside the data event, this isn't happening
anymore.
Original comment by Kokok...@gmail.com
on 7 May 2012 at 10:28
If, inside the Data event, you change the visibility of a control that is above
the GridView, then I think you may trigger a redraw event, and so a recursive
call to the Data event. That can lead to infinite recursion and a crash.
But normally you should get a stack overflow error.
Original comment by benoit.m...@gmail.com
on 10 Jun 2012 at 3:03
In fact, changing visibility inside the data handler may crash the application.
But as soon as it closes with error, stack panel is hidden.
Last message in console is:
QWidget::repaint: Recursive repaint detected
Original comment by Kokok...@gmail.com
on 11 Jun 2012 at 12:38
Original comment by benoit.m...@gmail.com
on 15 Jul 2012 at 10:19
Original comment by benoit.m...@gmail.com
on 15 Jul 2012 at 10:56
Apparently the recursion was the cause of the crash. I close the issue. Tell if
you get the error again.
Original comment by benoit.m...@gmail.com
on 24 Aug 2012 at 2:34
Original issue reported on code.google.com by
Kokok...@gmail.com
on 2 May 2012 at 6:23