Details
-
Bug
-
Resolution: Incomplete
-
P1: Critical
-
None
-
5.15.2
-
None
Description
Setting QT_SCALE_FACTOR higher than 1.0 causes Application to crash under MacOS.
The crash occurs right after QMainWindow::showEvent is finished.
Till version 5.9.9 this worked just fine.
We can show our own Splashscreen (derived from QWidget) correctly scaled just before that.
Windows and Linux is no problem.
Both happens with builds on MacOS Mojave and BigSur, and it also happens on both.
Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000008 Exception Note: EXC_CORPSE_NOTIFY Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [3395] Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 org.qt-project.QtWidgets 0x000000010e95fc90 QWidget::mapTo(QWidget const*, QPoint const&) const + 32 1 org.qt-project.QtWidgets 0x000000010ea21b03 0x10e92a000 + 1014531 2 org.qt-project.QtWidgets 0x000000010ea220fd QFocusFrame::eventFilter(QObject*, QEvent*) + 125 3 org.qt-project.QtCore 0x00000001101b7ceb QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 155 4 org.qt-project.QtWidgets 0x000000010e93a9d5 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 245 5 org.qt-project.QtWidgets 0x000000010e93be11 QApplication::notify(QObject*, QEvent*) + 497 6 org.qt-project.QtCore 0x00000001101b7a34 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212 7 org.qt-project.QtWidgets 0x000000010e994a5e 0x10e92a000 + 436830 8 org.qt-project.QtWidgets 0x000000010e992844 0x10e92a000 + 428100 9 org.qt-project.QtWidgets 0x000000010e93a9ea QApplicationPrivate::notify_helper(QObject*, QEvent*) + 266 10 org.qt-project.QtWidgets 0x000000010e93be11 QApplication::notify(QObject*, QEvent*) + 497 11 org.qt-project.QtCore 0x00000001101b7a34 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212 12 org.qt-project.QtGui 0x000000010f3b3763 QGuiApplicationPrivate::processGeometryChangeEvent(QWindowSystemInterfacePrivate::GeometryChangeEvent*) + 371 ..... 58 com.apple.AppKit 0x00007fff22df29b9 -[NSWindow makeKeyAndOrderFront:] + 40 59 libqcocoa.dylib 0x0000000112d2450b 0x112d06000 + 124171 60 org.qt-project.QtGui 0x000000010f3bb758 QWindowPrivate::setVisible(bool) + 1112 61 org.qt-project.QtWidgets 0x000000010e972a57 QWidgetPrivate::show_sys() + 903 62 org.qt-project.QtWidgets 0x000000010e973e45 QWidgetPrivate::show_helper() + 405 63 org.qt-project.QtWidgets 0x000000010e974a86 QWidgetPrivate::setVisible(bool) + 806