Qt4-preview-feedback Archive, March 2007
Tabbed Dockwidgets
Message 1 in thread
Hi all.
Has anybody any experience with the new tabbed QDockWidgets?
I am considering replacing my home grown version of it with
the "official" ones, however using 4.3-snapshot-20070317
I get undesirable behaviour e.g. in form of crashs. This might,
of course, be a problem of this particular snapshot.
Andre'
PS: To test, just insert a line
setDockOptions(AllowTabbedDocks);
around line 260 in the dockwidgets example's mainwindow.cpp.
(examples/mainwindows/dockwidgets/mainwindow.cpp)
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
Message 2 in thread
On Friday 16 March 2007 06:39:03 am André Pönitz wrote:
> Hi all.
>
> Has anybody any experience with the new tabbed QDockWidgets?
>
> I am considering replacing my home grown version of it with
> the "official" ones, however using 4.3-snapshot-20070317
> I get undesirable behaviour e.g. in form of crashs. This might,
> of course, be a problem of this particular snapshot.
>
> Andre'
>
> PS: To test, just insert a line
>
> setDockOptions(AllowTabbedDocks);
>
> around line 260 in the dockwidgets example's mainwindow.cpp.
> (examples/mainwindows/dockwidgets/mainwindow.cpp)
>
> To unsubscribe - send "unsubscribe" in the subject to
> qt4-preview-feedback-request@xxxxxxxxxxxxx
I gave this a try with snapshot 20070228 and it seems to work OK without
crashing ... may be a new bug :-)
--Steve
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
Message 3 in thread
Steven Green wrote:
> On Friday 16 March 2007 06:39:03 am André Pönitz wrote:
> > Hi all.
> >
> > Has anybody any experience with the new tabbed QDockWidgets?
> >
> > I am considering replacing my home grown version of it with
> > the "official" ones, however using 4.3-snapshot-20070317
> > I get undesirable behaviour e.g. in form of crashs. This might,
> > of course, be a problem of this particular snapshot.
> >
> > Andre'
> >
> > PS: To test, just insert a line
> >
> > setDockOptions(AllowTabbedDocks);
> >
> > around line 260 in the dockwidgets example's mainwindow.cpp.
> > (examples/mainwindows/dockwidgets/mainwindow.cpp)
> >
> > To unsubscribe - send "unsubscribe" in the subject to
> > qt4-preview-feedback-request@xxxxxxxxxxxxx
>
> I gave this a try with snapshot 20070228 and it seems to work
> OK without
> crashing ... may be a new bug :-)
The stack trace I get deterministically is
QtGuid4.dll!QWidgetBackingStore::blitToScreen(const QRegion & rgn={...}, QWidget * widget=0x00a6a570) Line 285 + 0x33 bytes C++
QtGuid4.dll!QETWidget::translatePaintEvent(const tagMSG & msg={...}) Line 3061 + 0xd bytes C++
QtGuid4.dll!QtWndProc(HWND__ * hwnd=0x00151214, unsigned int message=20, unsigned int wParam=1879128837, long lParam=0) Line 1664 + 0xc bytes C++
user32.dll!77d18734()
[Frames below may be incorrect and/or missing, no symbols loaded for user32.dll]
This happens when moving a dockwidget on a place where it would float.
I also sometimes get
> QtCored4.dll!qt_message_output(QtMsgType msgType=QtFatalMsg, const char * buf=0x00129ed8) Line 2129 C++
QtCored4.dll!qFatal(const char * msg=0x6718f824, ...) Line 2364 + 0xe bytes C++
QtCored4.dll!qt_assert_x(const char * where=0x656cd94c, const char * what=0x656cd95c, const char * file=0x656cd978, int line=369) Line 1901 + 0x1a bytes C++
QtGuid4.dll!QList<int>::at(int i=1) Line 369 + 0x35 bytes C++
QtGuid4.dll!QMainWindowLayout::plug(QLayoutItem * widgetItem=0x00a71eb8) Line 1525 + 0x10 bytes C++
QtGuid4.dll!QDockWidgetPrivate::endDrag(bool abort=false) Line 667 + 0x1d bytes C++
QtGuid4.dll!QDockWidgetPrivate::nonClientAreaMouseEvent(QMouseEvent * event=0x0012c4dc) Line 837 C++
I.e. some "Index out of range" error messsage when I float a dock programmatically
and try to re-add it manually to a tabbed dock.
On what platform are you?
Andre'
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
Message 4 in thread
<snip old stuff and stacktrace>
> This happens when moving a dockwidget on a place where it would float.
It seems to work OK dragging it all over the place.
<another snip>
>
> On what platform are you?
>
I am running OpenSUSE Linux 10.3 Alpha 1. x86-64
KDE 3.5.6
I am building snapshot 20070316 now and will give it another try once I have
it built and let you know how it works out.
--Steve
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
Message 5 in thread
Steven Green wrote:
> > This happens when moving a dockwidget on a place where it
> would float.
>
> It seems to work OK dragging it all over the place.
>
> <another snip>
> >
> > On what platform are you?
> >
>
> I am running OpenSUSE Linux 10.3 Alpha 1. x86-64 KDE 3.5.6
>
> I am building snapshot 20070316 now and will give it another try once I have
> it built and let you know how it works out.
Just for the record: I can't reproduce the crashs anymore
in 4.3beta.
Andre'
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx