Qt4-preview-feedback Archive, March 2008
Strange behavior of QMdiArea
Message 1 in thread
Hi,
I would like to discuss a strange problem that I have already signaled, but
for which I had no replay.
I developed an application for data analysis using the QMdiArea and
QMdiSubWindow classes, and embedding inside the sub-windows some specialized
widgets to plot 1-D, 2-D and 3-D data (the last one by means of QwtPlot3d,
i.e. OpenGL). With Qt 4.3.3 everything is fine, but with Qt 4.4 (all the
snapshots I tested) the content of the GL widget always remains on the top
when I resize the other sub-windows! The mouse input is handled correctly by
the widget which has the focus, so it seems that the OpenGL widget is not
told to refresh when it is covered, and its contents remains "freezed" on
the top of the screen. Everything is fine with the non-OpenGL widgets (i.e.
the 1-D and 2-D plots).
I would like to know if this is a bug you can correct, or how I can change
my code to correct this behavior.
I work with Visual Studio 2005 under Windows Vista.
Thank you very much for your attention.
Massimo
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
Message 2 in thread
On Wednesday 05 March 2008, Massimo Nespolo wrote:
> Hi,
> I would like to discuss a strange problem that I have already
> signaled, but for which I had no replay.
>
> I developed an application for data analysis using the QMdiArea and
> QMdiSubWindow classes, and embedding inside the sub-windows some
> specialized widgets to plot 1-D, 2-D and 3-D data (the last one by
> means of QwtPlot3d, i.e. OpenGL). With Qt 4.3.3 everything is fine,
> but with Qt 4.4 (all the snapshots I tested) the content of the GL
> widget always remains on the top when I resize the other sub-windows!
> The mouse input is handled correctly by the widget which has the
> focus, so it seems that the OpenGL widget is not told to refresh when
> it is covered, and its contents remains "freezed" on the top of the
> screen. Everything is fine with the non-OpenGL widgets (i.e. the 1-D
> and 2-D plots).
> I would like to know if this is a bug you can correct, or how I can
> change my code to correct this behavior.
I think this is the same problem with QAxWidgets staying on top, which
I've already reported and was confirmed as a bug #200909
--
[ signature omitted ]