[Wayland-bugs] [Bug 768016] [Wayland] Submenus often get closed after ~2 seconds

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 27 14:12:41 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=768016

Olivier Fourdan <ofourdan at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ofourdan at redhat.com

--- Comment #3 from Olivier Fourdan <ofourdan at redhat.com> ---
It's the gtk_menu_stop_navigating_submenu_cb() being called, that explain the
delay (MENU_POPDOWN_DELAY is 1000, i.e. 1s)

For reference:

#0  0x00007fc31e626380 in gtk_menu_popdown (menu=0x55e453eb4d20 [GtkMenu]) at
gtkmenu.c:1853
#1  0x00007fc31e62db27 in _gtk_menu_item_popdown_submenu
(widget=widget at entry=0x55e453c80f70 [GtkModelMenuItem]) at gtkmenuitem.c:2066
#2  0x00007fc31e62db73 in gtk_real_menu_item_deselect (menu_item=0x55e453c80f70
[GtkModelMenuItem]) at gtkmenuitem.c:1782
#6  0x00007fc31a0ee4ff in <emit signal ??? on instance 0x55e453c80f70
[GtkModelMenuItem]> (instance=<optimized out>, signal_id=<optimized out>,
detail=detail at entry=0) at gsignal.c:3441
    #3  0x00007fc31a0d33e8 in g_closure_invoke
(closure=closure at entry=0x55e453cc0860, return_value=return_value at entry=0x0,
n_param_values=1, param_values=param_values at entry=0x7ffdb0495260,
invocation_hint=invocation_hint at entry=0x7ffdb04951e0) at gclosure.c:804
    #4  0x00007fc31a0e4e73 in signal_emit_unlocked_R
(node=node at entry=0x55e453cc0890, detail=detail at entry=0,
instance=instance at entry=0x55e453c80f70,
emission_return=emission_return at entry=0x0,
instance_and_params=instance_and_params at entry=0x7ffdb0495260) at gsignal.c:3559
    #5  0x00007fc31a0ee12d in g_signal_emit_valist (instance=<optimized out>,
signal_id=<optimized out>, detail=<optimized out>,
var_args=var_args at entry=0x7ffdb0495420) at gsignal.c:3385
#7  0x00007fc31e62d74b in gtk_menu_item_deselect (menu_item=<optimized out>) at
gtkmenuitem.c:1607
#8  0x00007fc31e631afe in gtk_menu_shell_real_select_item
(menu_shell=0x55e453eb4a90 [GtkMenu], menu_item=0x55e45404f6b0
[GtkModelMenuItem])
    at gtkmenushell.c:1267
#9  0x00007fc31e630c1b in gtk_menu_shell_enter_notify (widget=0x55e453eb4a90
[GtkMenu], event=0x55e4540f4900) at gtkmenushell.c:1014
#10 0x00007fc31e621f7d in gtk_menu_stop_navigating_submenu_cb
(user_data=0x55e453ca1af0) at gtkmenu.c:4111
#11 0x00007fc31e1453d8 in gdk_threads_dispatch (data=0x55e453de9640,
data at entry=<error reading variable: value has been optimized out>) at gdk.c:720
#12 0x00007fc319e00173 in g_timeout_dispatch
(source=source at entry=0x55e453c931d0, callback=<optimized out>,
user_data=<optimized out>) at gmain.c:4577
#13 0x00007fc319dff703 in g_main_context_dispatch (context=0x55e453c60480) at
gmain.c:3154
#14 0x00007fc319dff703 in g_main_context_dispatch
(context=context at entry=0x55e453c60480) at gmain.c:3769
#15 0x00007fc319dffab0 in g_main_context_iterate
(context=context at entry=0x55e453c60480, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>)
    at gmain.c:3840
#16 0x00007fc319dffb5c in g_main_context_iteration
(context=context at entry=0x55e453c60480, may_block=may_block at entry=1) at
gmain.c:3901
#17 0x00007fc31cfab58d in g_application_run (application=0x55e453c5d1a0
[DemoApplication], argc=0, argv=0x0) at gapplication.c:2381

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160627/ab237f79/attachment.html>


More information about the wayland-bugs mailing list