Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
4.7.0, 4.8.4
-
None
-
Mac OS X 10.6.5 with Qt 4.7.0 64 bits
10.6 with 4.8
Description
In Windows works fine, in Mac the undocking operation generates an infinite loop
The dock is created as (this is a QMainWindow instance):
QDockWidget *inspectorDock = new QDockWidget( this ); inspectorDock->setFeatures( QDockWidget::AllDockWidgetFeatures ); this->addDockWidget( Qt::RightDockWidgetArea, inspectorDock ); inspectorWidget = new QTabWidget( inspectorDock ); inspectorDock->setWidget(inspectorWidget); inspectorDock->setWindowTitle( tr("Inspector") ); inspectorDock->setMinimumSize( 10, 10 );
The trace is:
0 objc_msgSend 0 0x7fff8858910d 1 -[QCocoaWindow drawRectSpecial:] 0 0x103ec3d60 ... 130881 -[QCocoaWindow drawRectSpecial:] 0 0x103ec3d60 130882 -[QCocoaWindow drawRectSpecial:] 0 0x103ec3d60 130883 -[QCocoaWindow drawRectSpecial:] 0 0x103ec3d60 130884 -[QCocoaWindow drawRectSpecial:] 0 0x103ec3d60 130885 -[QCocoaWindow drawRectSpecial:] 0 0x103ec3d60 130886 -[QCocoaPanel drawRectSpecial:] 0 0x103ebab00 130887 -[NSView _drawRect:clip:] 0 0x7fff80601081 130888 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] 0 0x7fff805ffcf4 130889 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 0 0x7fff805fe3c6 130890 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 0 0x7fff805fdee8 130891 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] 0 0x7fff805fa79a 130892 -[NSView displayIfNeeded] 0 0x7fff80573ff6 130893 -[QCocoaPanel displayIfNeeded] 0 0x103ebaa6a 130894 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] 0 0x7fff8053c027 130895 -[NSWindow orderWindow:relativeTo:] 0 0x7fff8053bbbe 130896 QWidgetPrivate::raise_sys 0 0x103eb8ff6 130897 QWidget::raise 0 0x103f6eb59 130898 QWidgetPrivate::show_helper 0 0x103f6f3a8 130899 QWidget::setVisible 0 0x103f7088f 130900 QDockWidgetPrivate::setWindowState 0 0x1042cae1e 130901 QDockWidgetPrivate::unplug 0 0x1042cbd44 130902 QMainWindowLayout::unplug 0 0x104302312 130903 QDockWidgetPrivate::startDrag 0 0x1042c86e2 130904 QDockWidgetPrivate::mouseMoveEvent 0 0x1042c8a8c 130905 QDockWidget::event 0 0x1042cb735 130906 QApplicationPrivate::notify_helper 0 0x103f15ddd 130907 QApplication::notify 0 0x103f1e460 130908 QCoreApplication::notifyInternal 0 0x104cd0dec 130909 qt_sendSpontaneousEvent 0 0x103f15e7c 130910 qt_mac_handleMouseEvent 0 0x103ecc4b9 130911 -[NSWindow sendEvent:] 0 0x7fff8063e483 130912 -[QCocoaWindow sendEvent:] 0 0x103ec40ec 130913 -[NSApplication sendEvent:] 0 0x7fff80572ee2 130914 -[QNSApplication sendEvent:] 0 0x103ec76aa 130915 -[NSApplication run] 0 0x7fff80509922 130916 QEventDispatcherMac::processEvents 0 0x103ed1344 130917 QEventLoop::processEvents 0 0x104daae54 130918 QEventLoop::exec 0 0x104dab174 130919 QCoreApplication::exec 0 0x104dac79c 130921 main main.cxx 105 0x100009671
Attachments
Issue Links
- replaces
-
QTBUG-20104 Infinite loop when undocking a window in Mac OS X 10.6.5 with Qt 4.7.0 64 bits
- Closed