I didn't really notice when this started; since at least 16.04.2 I'm seeing a series of Qt warnings on the calling terminal whenever I open a document in Kate5 (see below). This warning is generated in QWindowPrivate::setTopLevelScreen(), which is NOT a platform-specific method. Somehow this warning isn't triggered on Linux or even on OS X when using the XCB QPA. I'm also not seeing it in any other application (including KDevelop which is built on KTextEditor and (AFAIK) the Kate kpart). I thus think Kate is doing something it shouldn't on OS X. Reproducible: Always Steps to Reproduce: 1. Start Kate so that it's stdout and stderr are connected to a terminal 2. open a document Actual Results: QWidgetWindow(0x7fd2c60e1510, name="QFrameClassWindow") ( QScreen(0x7fd2c2c3fc50, name="Color LCD") ): Attempt to set a screen on a child window. QWidgetWindow(0x7fd2c60e0be0, name="QSplitterClassWindow") ( QScreen(0x7fd2c2c3fc50, name="Color LCD") ): Attempt to set a screen on a child window. QWidgetWindow(0x7fd2c60dfd30, name="QFrameClassWindow") ( QScreen(0x7fd2c2c3fc50, name="Color LCD") ): Attempt to set a screen on a child window. QWidgetWindow(0x7fd2c60def20, name="QSplitterClassWindow") ( QScreen(0x7fd2c2c3fc50, name="Color LCD") ): Attempt to set a screen on a child window. QWidgetWindow(0x7fd2c60def20, name="QSplitterClassWindow") ( QScreen(0x7fd2c2c3fc50, name="Color LCD") ): Attempt to set a screen on a child window. QWidgetWindow(0x7fd2c60def20, name="QSplitterClassWindow") ( QScreen(0x7fd2c2c3fc50, name="Color LCD") ): Attempt to set a screen on a child window. QWidgetWindow(0x7fd2c60dfd30, name="QFrameClassWindow") ( QScreen(0x7fd2c2c3fc50, name="Color LCD") ): Attempt to set a screen on a child window. QWidgetWindow(0x7fd2c60dfd30, name="QFrameClassWindow") ( QScreen(0x7fd2c2c3fc50, name="Color LCD") ): Attempt to set a screen on a child window. QWidgetWindow(0x7fd2c60e0be0, name="QSplitterClassWindow") ( QScreen(0x7fd2c2c3fc50, name="Color LCD") ): Attempt to set a screen on a child window. QWidgetWindow(0x7fd2c60e0be0, name="QSplitterClassWindow") ( QScreen(0x7fd2c2c3fc50, name="Color LCD") ): Attempt to set a screen on a child window. QWidgetWindow(0x7fd2c60e1510, name="QFrameClassWindow") ( QScreen(0x7fd2c2c3fc50, name="Color LCD") ): Attempt to set a screen on a child window. QWidgetWindow(0x7fd2c60e1510, name="QFrameClassWindow") ( QScreen(0x7fd2c2c3fc50, name="Color LCD") ): Attempt to set a screen on a child window. [...] Expected Results: I'd expect Kate NOT to generate this warnings on OS X like it doesn't generate them elsewhere. Here's a backtrace from a breakpoint in QWindowPrivate::setTopLevelScreen(): * thread #1: tid = 0xfb6638, 0x00000001018f7bc0 QtGui`QWindowPrivate::setTopLevelScreen(this=<unavailable>, newScreen=0x00000001052a3740, recreate=<unavailable>) + 80 at qwindow.cpp:372, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x00000001018f7bc0 QtGui`QWindowPrivate::setTopLevelScreen(this=<unavailable>, newScreen=0x00000001052a3740, recreate=<unavailable>) + 80 at qwindow.cpp:372 [opt] 369 { 370 Q_Q(QWindow); 371 if (parentWindow) { -> 372 qWarning() << q << '(' << newScreen << "): Attempt to set a screen on a child window."; 373 return; 374 } 375 if (newScreen != topLevelScreen) { (lldb) bt * thread #1: tid = 0xfb6638, 0x00000001018f7bc0 QtGui`QWindowPrivate::setTopLevelScreen(this=<unavailable>, newScreen=0x00000001052a3740, recreate=<unavailable>) + 80 at qwindow.cpp:372, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 * frame #0: 0x00000001018f7bc0 QtGui`QWindowPrivate::setTopLevelScreen(this=<unavailable>, newScreen=0x00000001052a3740, recreate=<unavailable>) + 80 at qwindow.cpp:372 [opt] frame #1: 0x00000001096876b4 libqcocoa.dylib`QCocoaWindow::exposeWindow(this=0x000000010ec56450) + 276 at qcocoawindow.mm:1807 [opt] frame #2: 0x000000010968d5ba libqcocoa.dylib`::-[QNSView windowNotification:](self=<unavailable>, _cmd=<unavailable>, windowNotification=<unavailable>) + 378 at qnsview.mm:443 [opt] frame #3: 0x00007fff8bc2de0c CoreFoundation`__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12 frame #4: 0x00007fff8bb2182d CoreFoundation`_CFXNotificationPost + 2893 frame #5: 0x00007fff8e2a5dda Foundation`-[NSNotificationCenter postNotificationName:object:userInfo:] + 68 frame #6: 0x00007fff85a2cc32 AppKit`-[NSWindow _windowTransformAnimationDidEnd:] + 312 frame #7: 0x00007fff859ec46e AppKit`-[NSWindow _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 800 frame #8: 0x00007fff859ec0e0 AppKit`-[NSWindow orderWindow:relativeTo:] + 162 frame #9: 0x00007fff85b26a7b AppKit`__35-[NSWindow addChildWindow:ordered:]_block_invoke_2 + 46 frame #10: 0x00007fff859c61e8 AppKit`NSPerformWithScreenUpdatesDisabled + 65 frame #11: 0x00007fff85b256c0 AppKit`-[NSWindow addChildWindow:ordered:] + 939 frame #12: 0x00000001096855d0 libqcocoa.dylib`QCocoaWindow::recreateWindow(this=0x000000010ec56450, parentWindow=0x000000010ce51b80) + 1840 at qcocoawindow.mm:1361 [opt] frame #13: 0x0000000109685021 libqcocoa.dylib`QCocoaWindow::recreateWindow(this=0x000000010ec573d0, parentWindow=0x000000010ec56450) + 385 at qcocoawindow.mm:1295 [opt] frame #14: 0x0000000109685021 libqcocoa.dylib`QCocoaWindow::recreateWindow(this=0x000000010ec58370, parentWindow=0x000000010ec573d0) + 385 at qcocoawindow.mm:1295 [opt] frame #15: 0x0000000109685021 libqcocoa.dylib`QCocoaWindow::recreateWindow(this=0x000000010ec59310, parentWindow=0x000000010ec58370) + 385 at qcocoawindow.mm:1295 [opt] frame #16: 0x0000000109685021 libqcocoa.dylib`QCocoaWindow::recreateWindow(this=0x000000010ec59ae0, parentWindow=0x000000010ec59310) + 385 at qcocoawindow.mm:1295 [opt] frame #17: 0x0000000109685021 libqcocoa.dylib`QCocoaWindow::recreateWindow(this=0x000000010ec5a3e0, parentWindow=0x000000010ec59ae0) + 385 at qcocoawindow.mm:1295 [opt] frame #18: 0x0000000109685021 libqcocoa.dylib`QCocoaWindow::recreateWindow(this=0x000000010ec5ac80, parentWindow=0x000000010ec5a3e0) + 385 at qcocoawindow.mm:1295 [opt] frame #19: 0x0000000109684b83 libqcocoa.dylib`QCocoaWindow::QCocoaWindow(this=0x000000010ec5ac80, tlw=0x000000010ec38280) + 995 at qcocoawindow.mm:409 [opt] frame #20: 0x000000010967eb32 libqcocoa.dylib`QCocoaIntegration::createPlatformWindow(this=<unavailable>, window=<unavailable>) const + 34 at qcocoaintegration.mm:481 [opt] frame #21: 0x00000001018f8fac QtGui`QWindowPrivate::create(this=0x000000010ec373b0, recursive=false) + 60 at qwindow.cpp:395 [opt] frame #22: 0x000000010106d9fa QtWidgets`QWidgetPrivate::create_sys(this=0x000000010ec198a0, window=<unavailable>, initializeWindow=<unavailable>, destroyOldWindow=<unavailable>) + 1642 at qwidget.cpp:1467 [opt] frame #23: 0x000000010106c58c QtWidgets`QWidget::create(this=0x000000010ec19760, window=<unavailable>, initializeWindow=<unavailable>, destroyOldWindow=<unavailable>) + 428 at qwidget.cpp:1331 [opt] frame #24: 0x000000010106d35d QtWidgets`QWidgetPrivate::createWinId(this=<unavailable>) + 237 at qwidget.cpp:2552 [opt] frame #25: 0x000000010106e006 QtWidgets`q_createNativeChildrenAndSetParent(QWidget const*) [inlined] QWidget::winId() const + 262 at qwidget.cpp:2524 [opt] frame #26: 0x000000010106dff4 QtWidgets`q_createNativeChildrenAndSetParent(parentWidget=0x000000010ec19190) + 244 at qwidget.cpp:1382 [opt] frame #27: 0x000000010106db30 QtWidgets`QWidgetPrivate::create_sys(this=0x000000010ec19220, window=<unavailable>, initializeWindow=<unavailable>, destroyOldWindow=<unavailable>) + 1952 at qwidget.cpp:1492 [opt] frame #28: 0x000000010106c58c QtWidgets`QWidget::create(this=0x000000010ec19190, window=<unavailable>, initializeWindow=<unavailable>, destroyOldWindow=<unavailable>) + 428 at qwidget.cpp:1331 [opt] frame #29: 0x000000010106d35d QtWidgets`QWidgetPrivate::createWinId(this=<unavailable>) + 237 at qwidget.cpp:2552 [opt] frame #30: 0x000000010106e006 QtWidgets`q_createNativeChildrenAndSetParent(QWidget const*) [inlined] QWidget::winId() const + 262 at qwidget.cpp:2524 [opt] frame #31: 0x000000010106dff4 QtWidgets`q_createNativeChildrenAndSetParent(parentWidget=0x00000001056d5bc0) + 244 at qwidget.cpp:1382 [opt] frame #32: 0x000000010106db30 QtWidgets`QWidgetPrivate::create_sys(this=0x00000001056d5bf0, window=<unavailable>, initializeWindow=<unavailable>, destroyOldWindow=<unavailable>) + 1952 at qwidget.cpp:1492 [opt] frame #33: 0x000000010106c58c QtWidgets`QWidget::create(this=0x00000001056d5bc0, window=<unavailable>, initializeWindow=<unavailable>, destroyOldWindow=<unavailable>) + 428 at qwidget.cpp:1331 [opt] frame #34: 0x000000010106d35d QtWidgets`QWidgetPrivate::createWinId(this=<unavailable>) + 237 at qwidget.cpp:2552 [opt] frame #35: 0x000000010106e006 QtWidgets`q_createNativeChildrenAndSetParent(QWidget const*) [inlined] QWidget::winId() const + 262 at qwidget.cpp:2524 [opt] frame #36: 0x000000010106dff4 QtWidgets`q_createNativeChildrenAndSetParent(parentWidget=0x00000001056e8210) + 244 at qwidget.cpp:1382 [opt] frame #37: 0x000000010106db30 QtWidgets`QWidgetPrivate::create_sys(this=0x00000001056cc980, window=<unavailable>, initializeWindow=<unavailable>, destroyOldWindow=<unavailable>) + 1952 at qwidget.cpp:1492 [opt] frame #38: 0x000000010106c58c QtWidgets`QWidget::create(this=0x00000001056e8210, window=<unavailable>, initializeWindow=<unavailable>, destroyOldWindow=<unavailable>) + 428 at qwidget.cpp:1331 [opt] frame #39: 0x000000010106d35d QtWidgets`QWidgetPrivate::createWinId(this=<unavailable>) + 237 at qwidget.cpp:2552 [opt] frame #40: 0x000000010106e006 QtWidgets`q_createNativeChildrenAndSetParent(QWidget const*) [inlined] QWidget::winId() const + 262 at qwidget.cpp:2524 [opt] frame #41: 0x000000010106dff4 QtWidgets`q_createNativeChildrenAndSetParent(parentWidget=0x00000001056e6ef0) + 244 at qwidget.cpp:1382 [opt] frame #42: 0x000000010106db30 QtWidgets`QWidgetPrivate::create_sys(this=0x00000001056cfe50, window=<unavailable>, initializeWindow=<unavailable>, destroyOldWindow=<unavailable>) + 1952 at qwidget.cpp:1492 [opt] frame #43: 0x000000010106c58c QtWidgets`QWidget::create(this=0x00000001056e6ef0, window=<unavailable>, initializeWindow=<unavailable>, destroyOldWindow=<unavailable>) + 428 at qwidget.cpp:1331 [opt] frame #44: 0x000000010106d35d QtWidgets`QWidgetPrivate::createWinId(this=<unavailable>) + 237 at qwidget.cpp:2552 [opt] frame #45: 0x000000010106e006 QtWidgets`q_createNativeChildrenAndSetParent(QWidget const*) [inlined] QWidget::winId() const + 262 at qwidget.cpp:2524 [opt] frame #46: 0x000000010106dff4 QtWidgets`q_createNativeChildrenAndSetParent(parentWidget=0x00000001056cb240) + 244 at qwidget.cpp:1382 [opt] frame #47: 0x000000010106db30 QtWidgets`QWidgetPrivate::create_sys(this=0x00000001056d6130, window=<unavailable>, initializeWindow=<unavailable>, destroyOldWindow=<unavailable>) + 1952 at qwidget.cpp:1492 [opt] frame #48: 0x000000010106c58c QtWidgets`QWidget::create(this=0x00000001056cb240, window=<unavailable>, initializeWindow=<unavailable>, destroyOldWindow=<unavailable>) + 428 at qwidget.cpp:1331 [opt] frame #49: 0x000000010106d35d QtWidgets`QWidgetPrivate::createWinId(this=<unavailable>) + 237 at qwidget.cpp:2552 [opt] frame #50: 0x000000010106e006 QtWidgets`q_createNativeChildrenAndSetParent(QWidget const*) [inlined] QWidget::winId() const + 262 at qwidget.cpp:2524 [opt] frame #51: 0x000000010106dff4 QtWidgets`q_createNativeChildrenAndSetParent(parentWidget=0x00000001056e5660) + 244 at qwidget.cpp:1382 [opt] frame #52: 0x000000010106db30 QtWidgets`QWidgetPrivate::create_sys(this=0x00000001056d7350, window=<unavailable>, initializeWindow=<unavailable>, destroyOldWindow=<unavailable>) + 1952 at qwidget.cpp:1492 [opt] frame #53: 0x000000010106c58c QtWidgets`QWidget::create(this=0x00000001056e5660, window=<unavailable>, initializeWindow=<unavailable>, destroyOldWindow=<unavailable>) + 428 at qwidget.cpp:1331 [opt] frame #54: 0x000000010106d35d QtWidgets`QWidgetPrivate::createWinId(this=<unavailable>) + 237 at qwidget.cpp:2552 [opt] frame #55: 0x000000010106c029 QtWidgets`QWidget::setAttribute(this=0x000000010d62e2d0, attribute=WA_NoSystemBackground, on=true) + 1513 at qwidget.cpp:11152 [opt] frame #56: 0x000000010106bfe9 QtWidgets`QWidget::setAttribute(Qt::WidgetAttribute, bool) [inlined] QWidget::d_func() + 236 at qwidget_p.h:576 [opt] frame #57: 0x000000010106befd QtWidgets`QWidget::setAttribute(this=0x00000001056e5660, attribute=WA_NoSystemBackground, on=true) + 1213 at qwidget.cpp:11150 [opt] frame #58: 0x000000010106d2e7 QtWidgets`QWidgetPrivate::createWinId(this=<unavailable>) + 119 at qwidget.cpp:2543 [opt] frame #59: 0x000000010106c029 QtWidgets`QWidget::setAttribute(this=0x00000001056ce540, attribute=WA_NoSystemBackground, on=true) + 1513 at qwidget.cpp:11152 [opt] frame #60: 0x000000010106bfe9 QtWidgets`QWidget::setAttribute(Qt::WidgetAttribute, bool) [inlined] QWidget::d_func() + 236 at qwidget_p.h:576 [opt] frame #61: 0x000000010106befd QtWidgets`QWidget::setAttribute(this=0x00000001056cb240, attribute=WA_NoSystemBackground, on=true) + 1213 at qwidget.cpp:11150 [opt] frame #62: 0x000000010106d2e7 QtWidgets`QWidgetPrivate::createWinId(this=<unavailable>) + 119 at qwidget.cpp:2543 [opt] frame #63: 0x000000010106c029 QtWidgets`QWidget::setAttribute(this=0x00000001056e12a0, attribute=WA_NoSystemBackground, on=true) + 1513 at qwidget.cpp:11152 [opt] frame #64: 0x000000010106bfe9 QtWidgets`QWidget::setAttribute(Qt::WidgetAttribute, bool) [inlined] QWidget::d_func() + 236 at qwidget_p.h:576 [opt] frame #65: 0x000000010106befd QtWidgets`QWidget::setAttribute(this=0x00000001056e6ef0, attribute=WA_NoSystemBackground, on=true) + 1213 at qwidget.cpp:11150 [opt] frame #66: 0x000000010106d2e7 QtWidgets`QWidgetPrivate::createWinId(this=<unavailable>) + 119 at qwidget.cpp:2543 [opt] frame #67: 0x000000010106c029 QtWidgets`QWidget::setAttribute(this=0x00000001056d94d0, attribute=WA_NoSystemBackground, on=true) + 1513 at qwidget.cpp:11152 [opt] frame #68: 0x000000010106bfe9 QtWidgets`QWidget::setAttribute(Qt::WidgetAttribute, bool) [inlined] QWidget::d_func() + 236 at qwidget_p.h:576 [opt] frame #69: 0x000000010106befd QtWidgets`QWidget::setAttribute(this=0x00000001056e8210, attribute=WA_NoSystemBackground, on=true) + 1213 at qwidget.cpp:11150 [opt] frame #70: 0x000000010106d2e7 QtWidgets`QWidgetPrivate::createWinId(this=<unavailable>) + 119 at qwidget.cpp:2543 [opt] frame #71: 0x000000010106c029 QtWidgets`QWidget::setAttribute(this=0x00000001056e84f0, attribute=WA_NoSystemBackground, on=true) + 1513 at qwidget.cpp:11152 [opt] frame #72: 0x000000010106bfe9 QtWidgets`QWidget::setAttribute(Qt::WidgetAttribute, bool) [inlined] QWidget::d_func() + 236 at qwidget_p.h:576 [opt] frame #73: 0x000000010106befd QtWidgets`QWidget::setAttribute(this=0x00000001056d5bc0, attribute=WA_NoSystemBackground, on=true) + 1213 at qwidget.cpp:11150 [opt] frame #74: 0x000000010106d2e7 QtWidgets`QWidgetPrivate::createWinId(this=<unavailable>) + 119 at qwidget.cpp:2543 [opt] frame #75: 0x000000010106d2f9 QtWidgets`QWidgetPrivate::createWinId(this=<unavailable>) + 137 at qwidget.cpp:2545 [opt] frame #76: 0x000000010106d2f9 QtWidgets`QWidgetPrivate::createWinId(this=<unavailable>) + 137 at qwidget.cpp:2545 [opt] frame #77: 0x0000000101082206 QtWidgets`QWidgetPrivate::setParent_sys(QWidget*, QFlags<Qt::WindowType>) [inlined] QWidget::createWinId() + 1670 at qwidget.cpp:2575 [opt] frame #78: 0x0000000101082201 QtWidgets`QWidgetPrivate::setParent_sys(this=0x000000010ec2b800, newparent=<unavailable>, f=<unavailable>) + 1665 at qwidget.cpp:10668 [opt] frame #79: 0x000000010106cac1 QtWidgets`QWidget::setParent(this=0x000000010ec2b3b0, parent=0x000000010d8f57d0, f=<unavailable>) + 913 at qwidget.cpp:10474 [opt] frame #80: 0x000000010105e2e9 QtWidgets`QLayout::addChildWidget(this=<unavailable>, w=0x000000010ec2b3b0) + 201 at qlayout.cpp:921 [opt] frame #81: 0x00000001010654d2 QtWidgets`QStackedLayout::insertWidget(this=0x000000010d805400, index=0, widget=0x000000010ec2b3b0) + 34 at qstackedlayout.cpp:217 [opt] frame #82: 0x000000010d35fe2f kateprojectplugin.so`KateProjectPluginView::viewForProject(KateProject*) + 1417 frame #83: 0x000000010235d4b6 QtCore`QMetaObject::activate(QObject*, int, int, void**) [inlined] QtPrivate::QSlotObjectBase::call(this=<unavailable>, r=<unavailable>, a=<unavailable>) + 2054 at qobject_impl.h:124 [opt] frame #84: 0x000000010235d49b QtCore`QMetaObject::activate(sender=0x000000010ce30bf0, signalOffset=<unavailable>, local_signal_index=<unavailable>, argv=<unavailable>) + 2027 at qobject.cpp:3715 [opt] frame #85: 0x000000010d370a19 kateprojectplugin.so`KateProjectPlugin::projectCreated(KateProject*) + 61 frame #86: 0x000000010d35d314 kateprojectplugin.so`KateProjectPlugin::createProjectForRepository(QString const&, QDir const&) + 738 frame #87: 0x000000010d35cca9 kateprojectplugin.so`KateProjectPlugin::detectGit(QDir const&) + 129 frame #88: 0x000000010d35c670 kateprojectplugin.so`KateProjectPlugin::projectForDir(QDir) + 468 frame #89: 0x000000010d35cee3 kateprojectplugin.so`KateProjectPlugin::projectForUrl(QUrl const&) + 111 frame #90: 0x000000010d35cf62 kateprojectplugin.so`KateProjectPlugin::slotDocumentUrlChanged(KTextEditor::Document*) + 44 frame #91: 0x000000010235d4b6 QtCore`QMetaObject::activate(QObject*, int, int, void**) [inlined] QtPrivate::QSlotObjectBase::call(this=<unavailable>, r=<unavailable>, a=<unavailable>) + 2054 at qobject_impl.h:124 [opt] frame #92: 0x000000010235d49b QtCore`QMetaObject::activate(sender=0x000000010dfb3c10, signalOffset=<unavailable>, local_signal_index=<unavailable>, argv=<unavailable>) + 2027 at qobject.cpp:3715 [opt] frame #93: 0x0000000100278000 libKF5TextEditor.5.dylib`KTextEditor::Document::documentUrlChanged(KTextEditor::Document*) + 64 frame #94: 0x0000000100275cb5 libKF5TextEditor.5.dylib`KTextEditor::DocumentPrivate::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 3229 frame #95: 0x000000010235d884 QtCore`QMetaObject::activate(sender=0x000000010dfb3c10, signalOffset=<unavailable>, local_signal_index=<unavailable>, argv=<unavailable>) + 3028 at qobject.cpp:3730 [opt] frame #96: 0x0000000100559662 libKF5Parts.5.dylib`KParts::ReadOnlyPart::setUrl(QUrl const&) + 104 frame #97: 0x000000010055982a libKF5Parts.5.dylib`KParts::ReadOnlyPart::openUrl(QUrl const&) + 188 frame #98: 0x000000010012a15c libKF5TextEditor.5.dylib`KTextEditor::DocumentPrivate::openUrl(QUrl const&) + 36 frame #99: 0x000000010001ba83 kate`KateDocManager::openUrl(QUrl const&, QString const&, bool, KateDocumentInfo const&) + 319 frame #100: 0x000000010002c7ca kate`KateViewManager::openUrlWithView(QUrl const&, QString const&) + 78 frame #101: 0x000000010004efdd kate`KateMainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 1165 frame #102: 0x0000000102332ae7 QtCore`QMetaMethod::invoke(this=<unavailable>, object=0x000000010cde9e10, connectionType=<unavailable>, val0=(_data = 0x00007fff5fbfb150, _name = "const QUrl &"), val1=(_data = 0x00007fff5fbfb148, _name = "const QString &"), val2=(_data = 0x0000000000000000, _name = 0x0000000000000000), val3=(_data = 0x0000000000000000, _name = 0x0000000000000000), val4=(_data = 0x0000000000000000, _name = 0x0000000000000000), val5=(_data = 0x0000000000000000, _name = 0x0000000000000000), val6=(_data = 0x0000000000000000, _name = 0x0000000000000000), val7=(_data = 0x0000000000000000, _name = 0x0000000000000000), val8=(_data = 0x0000000000000000, _name = 0x0000000000000000), val9=(_data = 0x0000000000000000, _name = 0x0000000000000000), returnValue=<unavailable>) const + 1015 at qmetaobject.cpp:2211 [opt] frame #103: 0x0000000102332180 QtCore`QMetaObject::invokeMethod(obj=0x000000010cde9e10, member=<unavailable>, type=DirectConnection, val0=(_data = 0x00007fff5fbfb150, _name = "const QUrl &"), val1=(_data = 0x00007fff5fbfb148, _name = "const QString &"), val2=(_data = 0x0000000000000000, _name = 0x0000000000000000), val3=(_data = 0x0000000000000000, _name = 0x0000000000000000), val4=(_data = 0x0000000000000000, _name = 0x0000000000000000), val5=(_data = 0x0000000000000000, _name = 0x0000000000000000), val6=(_data = 0x0000000000000000, _name = 0x0000000000000000), val7=(_data = 0x0000000000000000, _name = 0x0000000000000000), val8=(_data = 0x0000000000000000, _name = 0x0000000000000000), val9=(_data = 0x0000000000000000, _name = 0x0000000000000000), ret=<unavailable>) + 2048 at qmetaobject.cpp:1477 [opt] frame #104: 0x0000000100209658 libKF5TextEditor.5.dylib`KTextEditor::MainWindow::openUrl(QUrl const&, QString const&) + 338 frame #105: 0x000000010d51f5eb katefilebrowserplugin.so`KateFileBrowser::openSelectedFiles() + 541 frame #106: 0x000000010d5202da katefilebrowserplugin.so`KateFileBrowser::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 146 frame #107: 0x000000010235d884 QtCore`QMetaObject::activate(sender=0x000000010d8cac30, signalOffset=<unavailable>, local_signal_index=<unavailable>, argv=<unavailable>) + 3028 at qobject.cpp:3730 [opt] frame #108: 0x000000010be9e3a1 libKF5KIOFileWidgets.5.dylib`KDirOperator::Private::_k_slotActivated(QModelIndex const&) + 197 frame #109: 0x000000010be9f426 libKF5KIOFileWidgets.5.dylib`KDirOperator::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 2172 frame #110: 0x000000010235d884 QtCore`QMetaObject::activate(sender=0x000000010cf6d7c0, signalOffset=<unavailable>, local_signal_index=<unavailable>, argv=<unavailable>) + 3028 at qobject.cpp:3730 [opt] frame #111: 0x00000001012ad798 QtWidgets`QAbstractItemView::activated(this=<unavailable>, _t1=<unavailable>) + 56 at moc_qabstractitemview.cpp:653 [opt] frame #112: 0x00000001012f1a40 QtWidgets`QTreeView::mouseDoubleClickEvent(this=0x000000010cf6d7c0, event=<unavailable>) + 896 at qtreeview.cpp:1963 [opt] frame #113: 0x000000010107f5fc QtWidgets`QWidget::event(this=0x000000010cf6d7c0, event=0x00007fff5fbfc0a8) + 1564 at qwidget.cpp:8752 [opt] frame #114: 0x0000000101176ebd QtWidgets`QFrame::event(this=0x000000010cf6d7c0, e=0x00007fff5fbfc0a8) + 45 at qframe.cpp:544 [opt] frame #115: 0x000000010120526a QtWidgets`QAbstractScrollArea::viewportEvent(this=0x000000010cf6d7c0, e=0x00007fff5fbfc0a8) + 170 at qabstractscrollarea.cpp:1206 [opt] frame #116: 0x00000001012ac182 QtWidgets`QAbstractItemView::viewportEvent(this=0x000000010cf6d7c0, event=0x00007fff5fbfc0a8) + 1378 at qabstractitemview.cpp:1694 [opt] frame #117: 0x00000001012ede29 QtWidgets`QTreeView::viewportEvent(this=0x000000010cf6d7c0, event=0x00007fff5fbfc0a8) + 489 at qtreeview.cpp:1313 [opt] frame #118: 0x0000000101205ee5 QtWidgets`QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) [inlined] QAbstractScrollAreaPrivate::viewportEvent(this=<unavailable>, event=<unavailable>) + 37 at qabstractscrollarea_p.h:105 [opt] frame #119: 0x0000000101205ed5 QtWidgets`QAbstractScrollAreaFilter::eventFilter(this=<unavailable>, o=<unavailable>, e=<unavailable>) + 21 at qabstractscrollarea_p.h:121 [opt] frame #120: 0x0000000102329848 QtCore`QCoreApplicationPrivate::sendThroughObjectEventFilters(receiver=0x000000010cf6df40, event=0x00007fff5fbfc0a8) + 216 at qcoreapplication.cpp:1131 [opt] frame #121: 0x000000010103e1d1 QtWidgets`QApplicationPrivate::notify_helper(this=<unavailable>, receiver=0x000000010cf6df40, e=0x00007fff5fbfc0a8) + 273 at qapplication.cpp:3800 [opt] frame #122: 0x0000000101041ec6 QtWidgets`QApplication::notify(this=<unavailable>, receiver=0x000000010cf6df40, e=0x00007fff5fbfc0a8) + 10422 at qapplication.cpp:3277 [opt] frame #123: 0x0000000102329567 QtCore`QCoreApplication::notifyInternal2(receiver=0x000000010cf6df40, event=0x00007fff5fbfc0a8) + 167 at qcoreapplication.cpp:1020 [opt] frame #124: 0x000000010103ec06 QtWidgets`QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) [inlined] QCoreApplication::sendEvent(QObject*, QEvent*) + 16 at qcoreapplication.h:225 [opt] frame #125: 0x000000010103ebf6 QtWidgets`QApplicationPrivate::sendMouseEvent(receiver=0x000000010cf6df40, event=0x00007fff5fbfc0a8, alienWidget=<unavailable>, nativeWidget=0x000000010cde9e10, buttonDown=<unavailable>, lastMouseReceiver=0x000000010157da58, spontaneous=<unavailable>) + 1094 at qapplication.cpp:2775 [opt] frame #126: 0x00000001010a04b7 QtWidgets`QWidgetWindow::handleMouseEvent(this=0x000000010d829240, event=0x00007fff5fbfc710) + 1351 at qwidgetwindow.cpp:602 [opt] frame #127: 0x000000010109f4f9 QtWidgets`QWidgetWindow::event(this=0x000000010d829240, event=0x00007fff5fbfc710) + 185 at qwidgetwindow.cpp:233 [opt] frame #128: 0x000000010103e1e6 QtWidgets`QApplicationPrivate::notify_helper(this=<unavailable>, receiver=0x000000010d829240, e=0x00007fff5fbfc710) + 294 at qapplication.cpp:3804 [opt] frame #129: 0x0000000101041726 QtWidgets`QApplication::notify(this=<unavailable>, receiver=<unavailable>, e=<unavailable>) + 8470 at qapplication.cpp:3767 [opt] frame #130: 0x0000000102329567 QtCore`QCoreApplication::notifyInternal2(receiver=0x000000010d829240, event=0x00007fff5fbfc710) + 167 at qcoreapplication.cpp:1020 [opt] frame #131: 0x00000001018ee92e QtGui`QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) [inlined] QCoreApplication::sendSpontaneousEvent(receiver=<unavailable>, event=0x0000000101d10790) + 3854 at qcoreapplication.h:228 [opt] frame #132: 0x00000001018ee91c QtGui`QGuiApplicationPrivate::processMouseEvent(e=0x000000010dfb6210) + 3836 at qguiapplication.cpp:1924 [opt] frame #133: 0x00000001018ed28e QtGui`QGuiApplicationPrivate::processWindowSystemEvent(e=0x000000010dfb6210) + 126 at qguiapplication.cpp:1665 [opt] frame #134: 0x00000001018d7bcb QtGui`QWindowSystemInterface::sendWindowSystemEvents(flags=<unavailable>) + 411 at qwindowsysteminterface.cpp:648 [opt] frame #135: 0x0000000109699211 libqcocoa.dylib`QCocoaEventDispatcherPrivate::postedEventsSourceCallback(info=0x00000001052dd910) + 33 at qcocoaeventdispatcher.mm:920 [opt] frame #136: 0x00007fff8bb905b1 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 frame #137: 0x00007fff8bb81c62 CoreFoundation`__CFRunLoopDoSources0 + 242 frame #138: 0x00007fff8bb813ef CoreFoundation`__CFRunLoopRun + 831 frame #139: 0x00007fff8bb80e75 CoreFoundation`CFRunLoopRunSpecific + 309 frame #140: 0x00007fff8c2cca0d HIToolbox`RunCurrentEventLoopInMode + 226 frame #141: 0x00007fff8c2cc685 HIToolbox`ReceiveNextEventCommon + 173 frame #142: 0x00007fff8c2cc5bc HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 65 frame #143: 0x00007fff8589c24e AppKit`_DPSNextEvent + 1434 frame #144: 0x00007fff8589b89b AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122 frame #145: 0x00007fff8588f99c AppKit`-[NSApplication run] + 553 frame #146: 0x000000010969808d libqcocoa.dylib`QCocoaEventDispatcher::processEvents(this=0x00000001052de0e0, flags=<unavailable>) + 2189 at qcocoaeventdispatcher.mm:416 [opt] frame #147: 0x0000000102325981 QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined] QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 401 at qeventloop.cpp:128 [opt] frame #148: 0x0000000102325964 QtCore`QEventLoop::exec(this=0x00007fff5fbfe330, flags=<unavailable>) + 372 at qeventloop.cpp:204 [opt] frame #149: 0x0000000102329bf5 QtCore`QCoreApplication::exec() + 325 at qcoreapplication.cpp:1290 [opt] frame #150: 0x000000010000fd36 kate`main + 23862 frame #151: 0x00007fff84caa5fd libdyld.dylib`start + 1 frame #152: 0x00007fff84caa5fd libdyld.dylib`start + 1 (lldb) c
Hmm, can this be fixed by providing the right parent to the /** * create new views */ KateProjectView *view = new KateProjectView(this, project); KateProjectInfoView *infoView = new KateProjectInfoView(this, project); constructors?
In principle I'd say yes but I would have to take a new look. I cannot recall having seen the warnings lately but 1) I rarely use Kate in practice 2) I may have disabled the project plugin and/or 3) Qt may have fixed an internal issue or removed the warning. As you can see there's a sh*load of calls inside Qt before the warning occurs so determining what the correct parent is may not be trivial.
I can no longer reproduce the issue with Qt 5.9.8; assuming something was changed upstream.