Bug 478973 - Qt popups crashes kwin_wayland
Summary: Qt popups crashes kwin_wayland
Status: RESOLVED DUPLICATE of bug 478269
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.10
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-24 20:35 UTC by kimjj2110
Modified: 2023-12-25 19:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
`abrt backtrace` result (117.44 KB, text/plain)
2023-12-24 20:35 UTC, kimjj2110
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***