Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0
-
None
-
d9e1acd6f6f037af766e1c043353f055af8ec635
Description
Using the qtbase/examples/widgets/mainwindows/menus/menues example:
Menues can be opened, and an action can be selected, but once the given action has been returned, and the menu popup is closed, it is not possible to open that menu again. When you click on an action in the menu bar, the bar is opened, but not displayed. The QWaylandWindow representing the QMenu is set to visible, and the SHMBuffer associated with the QMenu backing store is attached, but it never gets a damange event, and the QMenu Surface does not get keyboard and pointer focus.
[2778023.207] wl_keyboard@15.modifiers(6014, 0, 0, 0, 0) [2778023.262] wl_keyboard@15.enter(6014, wl_surface@22, array) [2810657.678] wl_shell_surface@13.ping(6016) [2810657.767] -> wl_shell_surface@13.pong(6016) [2810657.793] wl_keyboard@15.leave(6017, wl_surface@22) [2812121.446] wl_keyboard@15.modifiers(6018, 0, 0, 0, 0) [2812121.530] wl_keyboard@15.enter(6018, wl_surface@14, array) [2812851.875] wl_pointer@16.button(6019, 526764032, 272, 1) [2812851.985] wl_pointer@16.button(6022, 526764116, 272, 0) [2812852.000] wl_keyboard@15.leave(6025, wl_surface@14) [2813553.847] wl_pointer@16.leave(6026, wl_surface@14) [2813556.180] -> wl_surface@14.frame(new id wl_callback@26) [2813556.235] -> wl_surface@14.frame(new id wl_callback@27) [2813556.259] -> wl_surface@14.damage(9, 30, 31, 23) [2813556.293] -> wl_surface@14.commit() [2813556.309] -> wl_surface@14.damage(9, 327, 457, 23) [2813556.337] -> wl_surface@14.commit() [2823181.459] -> wl_surface@22.attach(wl_buffer@25, 0, 0) [2831977.550] wl_callback@26.done(526817976) [2831977.643] wl_display@1.delete_id(26) [2831977.658] wl_callback@27.done(526817976) [2831977.670] wl_display@1.delete_id(27) [2850459.180] wl_keyboard@15.modifiers(6068, 0, 0, 0, 0) [2850459.280] wl_pointer@16.enter(6068, wl_surface@14, 483.000000, 62.000000)
above wl_surface@22 is the QMenu surface and wl_surface@14 is the main window