https://bugs.kde.org/show_bug.cgi?id=523039

Tobias Fella <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-integration/-/com
                   |                            |mit/6c7be886804a8dcbbdd1765
                   |                            |9445248c1c6cfde76
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Tobias Fella <[email protected]> ---
Git commit 6c7be886804a8dcbbdd17659445248c1c6cfde76 by Tobias Fella, on behalf
of Balló György.
Committed on 24/08/2026 at 19:55.
Pushed by tfella into branch 'master'.

MessageDialogHelper: don't set WA_DeleteOnClose

QDialogPrivate::setNativeDialogVisible() may call
KDEPlatformMessageDialogHelper::hide() after the message box has been
closed.

With Qt::WA_DeleteOnClose enabled, closing the dialog using the window
manager close button destroys the QMessageBox instance immediately,
leaving m_box dangling and causing a crash when hide() later calls
m_box->hide().

Remove WA_DeleteOnClose and let the helper manage the QMessageBox
lifetime instead.

M  +11   -2    qt6/src/platformtheme/kdeplatformmessagedialoghelper.cpp
M  +2    -0    qt6/src/platformtheme/kdeplatformmessagedialoghelper.h

https://invent.kde.org/plasma/plasma-integration/-/commit/6c7be886804a8dcbbdd17659445248c1c6cfde76

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to