Bug 478973

Summary: Qt popups crashes kwin_wayland
Product: [Plasma] kwin Reporter: kimjj2110
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: xaver.hugl
Priority: NOR    
Version First Reported In: 5.27.10   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: `abrt backtrace` result

Description kimjj2110 2023-12-24 20:35:41 UTC
Created attachment 164428 [details]
`abrt backtrace` result

STEPS TO REPRODUCE
1. invoke any Qt popup. from system settings, kwrite, almost anything.
Or from this python code.
```py
import sys
from PyQt6.QtWidgets import QApplication, QWidget, QPushButton, QMessageBox

class Panel(QWidget):
    def __init__(self):
        super().__init__()
        self.setGeometry(300, 300, 300, 300)
        self.setWindowTitle('Qt Crash Test')
        button = QPushButton('Show Popup', self)
        button.clicked.connect(self.show_popup)
        self.show()

    def show_popup(self):
        popup = QMessageBox()
        popup.setWindowTitle('Test Popup')
        popup.setText('Qt Popup Test')
        popup.exec()

app = QApplication(sys.argv)
panel = Panel()
sys.exit(app.exec())
```

OBSERVED RESULT
kwin_wayland crashes. sometimes popup can be seen on one frame.

EXPECTED RESULT
normal, interactable popup.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
fedora asahi remix with kernel: `6.6.3-411.asahi.fc39.aarch64+16k`.
reverting to kwin version 5.27.8 fixes the issue. did not tested 5.27.9.
Comment 1 Zamundaaa 2023-12-25 19:32:38 UTC

*** This bug has been marked as a duplicate of bug 478269 ***