Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
5.15.0
-
None
-
Linux/Wayland
Description
When running a qt application on Linux/wayland the application crashes with the following error when a menu with an opened submenu closes. A quick test looks like it crashes when it's closed by hovering over a different menu item but does not crashed when closed by a mouse click somewhere in the window.
Steps to reproduce:
1. Extract the attached crash.tar.gz
2. Build it with `qmake -o Makefile crash.project && make`
3. Run the application with `QT_QPA_PLATFORM=wayland ./crash`
4. Open the menu View->SubView
5. Move the mouse over the menu File
6. Application crashes with the following output on console
QSocketNotifier: Can only be used with threads started with QThread
{{ qt.qpa.wayland: Wayland does not support QWindow::requestActivate()}}
{{ The Wayland connection experienced a fatal error: Protocol error}}
{{ zsh: abort (core dumped) QT_QPA_PLATFORM=wayland ./crash}}