Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make VSCode work with the global menu #51

Closed
probonopd opened this issue Feb 11, 2021 · 15 comments
Closed

Make VSCode work with the global menu #51

probonopd opened this issue Feb 11, 2021 · 15 comments

Comments

@probonopd
Copy link
Member

It seems to do "something" regarding the global menu but then it does not really work, and I don't know why yet:

loading "/usr/local/lib/gtk-3.0/modules/libappmenu-gtk-module.so"
/usr/local/lib/gtk-3.0/modules/libappmenu-gtk-module.so valid_hash_sysv 1 valid_hash_gnu 1 dynsymcount 122
  0x8107b0000 .. 0x8107bafff: /usr/local/lib/gtk-3.0/modules/libappmenu-gtk-module.so
 Searching for "libappmenu-gtk3-parser.so.0"
lm_find("/usr/local/lib/gtk-3.0/modules/libappmenu-gtk-module.so", "/usr/local/lib")
lmp_find("/usr/local/lib/gtk-3.0/modules/libappmenu-gtk-module.so")
  Trying "/usr/local/lib/libappmenu-gtk3-parser.so.0"
  Opened "/usr/local/lib/libappmenu-gtk3-parser.so.0", fd 33
loading "/usr/local/lib/libappmenu-gtk3-parser.so.0"
/usr/local/lib/libappmenu-gtk3-parser.so.0 valid_hash_sysv 1 valid_hash_gnu 1 dynsymcount 170
  0x8107bb000 .. 0x8107cefff: /usr/local/lib/libappmenu-gtk3-parser.so.0
relocating "/usr/local/lib/gtk-3.0/modules/libappmenu-gtk-module.so"
relocating "/usr/local/lib/libappmenu-gtk3-parser.so.0"
calling init function for /usr/local/lib/libappmenu-gtk3-parser.so.0 at 0x8107cb4e8
calling init function for /usr/local/lib/gtk-3.0/modules/libappmenu-gtk-module.so at 0x8107b6b38
"g_getenv" in "libappmenu-gtk-module.so" ==> 0x807c2ff30 in "libglib-2.0.so.0"
"gdk_display_get_default" in "libappmenu-gtk-module.so" ==> 0x80894c5c0 in "libgdk-3.so.0"
"gdk_x11_display_get_type" in "libappmenu-gtk-module.so" ==> 0x80897a4b0 in "libgdk-3.so.0"
"g_ascii_strcasecmp" in "libappmenu-gtk-module.so" ==> 0x807c69090 in "libglib-2.0.so.0"
"g_get_prgname" in "libappmenu-gtk-module.so" ==> 0x807c82b30 in "libglib-2.0.so.0"
"g_strcmp0" in "libappmenu-gtk-module.so" ==> 0x807c6da40 in "libglib-2.0.so.0"
"g_settings_new" in "libappmenu-gtk-module.so" ==> 0x807e77640 in "libgio-2.0.so.0"
"g_settings_get_value" in "libappmenu-gtk-module.so" ==> 0x807e77ae0 in "libgio-2.0.so.0"
"g_variant_type_checked_" in "libappmenu-gtk-module.so" ==> 0x807c95a00 in "libglib-2.0.so.0"
"g_variant_is_of_type" in "libappmenu-gtk-module.so" ==> 0x807c84730 in "libglib-2.0.so.0"
"g_main_context_push_thread_default" in "libdconfsettings.so" ==> 0x807c43dd0 in "libglib-2.0.so.0""g_variant_iter_init" in "libappmenu-gtk-module.so" ==> 0x807c85eb0 in "libglib-2.0.so.0"
reloc_jmpslot: *0x8111cd3f8 = 0x807c43dd0"g_variant_iter_loop" in "libappmenu-gtk-module.so" ==> 0x807c8bfe0 in "libglib-2.0.so.0"
"g_object_unref" in "libappmenu-gtk-module.so" ==> 0x807cd0e60 in "libgobject-2.0.so.0"
"g_variant_unref" in "libappmenu-gtk-module.so" ==> 0x807c8d270 in "libglib-2.0.so.0"
"g_bus_get_sync" in "libappmenu-gtk-module.so" ==> 0x807e8b690 in "libgio-2.0.so.0"
"g_dbus_connection_call_sync" in "libappmenu-gtk-module.so" ==> 0x807e8abd0 in "libgio-2.0.so.0"
"g_variant_get_child_value" in "libappmenu-gtk-module.so" ==> 0x807c8d900 in "libglib-2.0.so.0"
"g_variant_get" in "libappmenu-gtk-module.so" ==> 0x807c8b430 in "libglib-2.0.so.0"
"g_str_equal" in "libappmenu-gtk-module.so" ==> 0x807c35d80 in "libglib-2.0.so.0"
"g_variant_iter_free" in "libappmenu-gtk-module.so" ==> 0x807c88940 in "libglib-2.0.so.0"
"gtk_settings_get_default" in "libappmenu-gtk-module.so" ==> 0x80906a690 in "libgtk-3.so.0"
"gtk_settings_get_type" in "libappmenu-gtk-module.so" ==> 0x809069ec0 in "libgtk-3.so.0"
"g_object_class_find_property" in "libappmenu-gtk-module.so" ==> 0x807cd08b0 in "libgobject-2.0.so.0"
"g_type_check_instance_is_fundamentally_a" in "libappmenu-gtk-module.so" ==> 0x807ce9300 in "libgobject-2.0.so.0"
"g_settings_get_boolean" in "libappmenu-gtk-module.so" ==> 0x807e78f40 in "libgio-2.0.so.0"
"g_object_set" in "libappmenu-gtk-module.so" ==> 0x807cd33e0 in "libgobject-2.0.so.0"
"g_bus_watch_name" in "libappmenu-gtk-module.so" ==> 0x807e99180 in "libgio-2.0.so.0"
"unity_gtk_menu_shell_set_debug" in "libappmenu-gtk-module.so" ==> 0x8107c7100 in "libappmenu-gtk3-parser.so.0"
"unity_gtk_action_group_set_debug" in "libappmenu-gtk-module.so" ==> 0x8107c35f0 in "libappmenu-gtk3-parser.so.0""g_private_set" in "libgio-2.0.so.0" ==> 0x807c9be30 in "libglib-2.0.so.0"
"gtk_widget_get_type" in "libappmenu-gtk-module.so" ==> 0x80912f1b0 in "libgtk-3.so.0"
"g_type_class_ref" in "libappmenu-gtk-module.so" ==> 0x807ce4a30 in "libgobject-2.0.so.0"
"gtk_application_window_get_type" in "libappmenu-gtk-module.so" ==> 0x808e8e130 in "libgtk-3.so.0"
"gtk_window_get_type" in "libappmenu-gtk-module.so" ==> 0x809148c20 in "libgtk-3.so.0"
"g_type_children" in "libappmenu-gtk-module.so" ==> 0x807ce8990 in "libgobject-2.0.so.0"
"g_free" in "libappmenu-gtk-module.so" ==> 0x807c4ec20 in "libglib-2.0.so.0"
"gtk_menu_bar_get_type" in "libappmenu-gtk-module.so" ==> 0x808fdf830 in "libgtk-3.so.0"
"gtk_widget_get_screen" in "libappmenu-gtk-module.so" ==> 0x8091373e0 in "libgtk-3.so.0"
"gdk_screen_get_rgba_visual" in "libappmenu-gtk-module.so" ==> 0x80895bbd0 in "libgdk-3.so.0"
"g_type_check_instance_cast" in "libappmenu-gtk-module.so" ==> 0x807ce9410 in "libgobject-2.0.so.0"
"gtk_window_get_type_hint" in "libappmenu-gtk-module.so" ==> 0x80914b7c0 in "libgtk-3.so.0"
"gdk_wayland_display_get_type" in "libappmenu-gtk-module.so" ==> 0x8089adc10 in "libgdk-3.so.0"
"g_type_check_instance_is_a" in "libappmenu-gtk-module.so" ==> 0x807ce9180 in "libgobject-2.0.so.0"
"g_quark_from_static_string" in "libappmenu-gtk-module.so" ==> 0x807c58100 in "libglib-2.0.so.0"
"g_object_get_qdata" in "libappmenu-gtk-module.so" ==> 0x807cd4940 in "libgobject-2.0.so.0"
"g_strdup_printf" in "libappmenu-gtk-module.so" ==> 0x807c68360 in "libglib-2.0.so.0"
"gtk_widget_get_window" in "libappmenu-gtk-module.so" ==> 0x809141090 in "libgtk-3.so.0"
"gdk_window_get_display" in "libappmenu-gtk-module.so" ==> 0x80895f630 in "libgdk-3.so.0"
"gdk_x11_display_get_xdisplay" in "libappmenu-gtk-module.so" ==> 0x80897bb50 in "libgdk-3.so.0"
"gdk_x11_window_get_xid" in "libappmenu-gtk-module.so" ==> 0x808993450 in "libgdk-3.so.0"
"gdk_x11_get_xatom_by_name_for_display" in "libappmenu-gtk-module.so" ==> 0x80898a890 in "libgdk-3.so.0"
"XGetWindowProperty" in "libappmenu-gtk-module.so" ==> 0x807f8d340 in "libX11.so.6"
"g_slice_alloc" in "libappmenu-gtk-module.so" ==> 0x807c65930 in "libglib-2.0.so.0"
"g_menu_new" in "libappmenu-gtk-module.so" ==> 0x807e69af0 in "libgio-2.0.so.0"
"g_action_group_get_type" in "libappmenu-gtk-module.so" ==> 0x807e61d10 in "libgio-2.0.so.0"
"unity_gtk_action_group_new" in "libappmenu-gtk-module.so" ==> 0x8107c2170 in "libappmenu-gtk3-parser.so.0"
"g_once_init_enter" in "libappmenu-gtk3-parser.so.0" ==> 0x807c72070 in "libglib-2.0.so.0"
"g_intern_static_string" in "libappmenu-gtk3-parser.so.0" ==> 0x807c58270 in "libglib-2.0.so.0"
"g_type_register_static_simple" in "libappmenu-gtk3-parser.so.0" ==> 0x807ce6660 in "libgobject-2.0.so.0"
"g_action_group_get_type" in "libappmenu-gtk3-parser.so.0" ==> 0x807e61d10 in "libgio-2.0.so.0"
"g_type_add_interface_static" in "libappmenu-gtk3-parser.so.0" ==> 0x807ce7000 in "libgobject-2.0.so.0"
"g_once_init_leave" in "libappmenu-gtk3-parser.so.0" ==> 0x807c72120 in "libglib-2.0.so.0"
"g_object_new" in "libappmenu-gtk3-parser.so.0" ==> 0x807cd17a0 in "libgobject-2.0.so.0"
"g_type_class_peek_parent" in "libappmenu-gtk3-parser.so.0" ==> 0x807ce7f60 in "libgobject-2.0.so.0"
"g_type_check_class_cast" in "libappmenu-gtk3-parser.so.0" ==> 0x807ce9710 in "libgobject-2.0.so.0"
"g_hash_table_new_full" in "libappmenu-gtk3-parser.so.0" ==> 0x807c33580 in "libglib-2.0.so.0"
"g_menu_model_get_type" in "libappmenu-gtk-module.so" ==> 0x807e68740 in "libgio-2.0.so.0"
"g_dbus_connection_export_menu_model" in "libappmenu-gtk-module.so" ==> 0x807e6b350 in "libgio-2.0.so.0"
"g_dbus_connection_export_action_group" in "libappmenu-gtk-module.so" ==> 0x807e642f0 in "libgio-2.0.so.0"
"g_dbus_connection_get_unique_name" in "libappmenu-gtk-module.so" ==> 0x807e884d0 in "libgio-2.0.so.0"
"g_utf8_strlen" in "libappmenu-gtk-module.so" ==> 0x807c7ad50 in "libglib-2.0.so.0"
"XChangeProperty" in "libappmenu-gtk-module.so" ==> 0x807f83530 in "libX11.so.6"
"g_object_set_qdata_full" in "libappmenu-gtk-module.so" ==> 0x807cd4b50 in "libgobject-2.0.so.0"
"g_log" in "libappmenu-gtk-module.so" ==> 0x807c4f520 in "libglib-2.0.so.0"
 Searching for "libdbusmenu-glib.so"
relocating "/usr/local/lib/libXau.so.6"  Trying "/usr/local/share/code-oss/libdbusmenu-glib.so"
relocating "/usr/local/lib/libXdmcp.so.6"  Failed to open "/usr/local/share/code-oss/libdbusmenu-glib.so": No such file or directory
search_library_pathfds('libdbusmenu-glib.so', '(null)', fdp)
  Trying "/lib/libdbusmenu-glib.so"
  Failed to open "/lib/libdbusmenu-glib.so": No such file or directory
  Trying "/usr/lib/libdbusmenu-glib.so"
  Failed to open "/usr/lib/libdbusmenu-glib.so": No such file or directory
  Trying "/usr/lib/compat/libdbusmenu-glib.so"
  Failed to open "/usr/lib/compat/libdbusmenu-glib.so": No such file or directory
  Trying "/usr/local/lib/libdbusmenu-glib.so"
  Opened "/usr/local/lib/libdbusmenu-glib.so", fd 58
loading "/usr/local/lib/libdbusmenu-glib.so"
/usr/local/lib/libdbusmenu-glib.so valid_hash_sysv 1 valid_hash_gnu 1 dynsymcount 278relocating "/usr/local/lib/libwayland-client.so.0"
  0x818169000 .. 0x818189fff: /usr/local/lib/libdbusmenu-glib.so
relocating "/usr/local/lib/libdbusmenu-glib.so"
calling init function for /usr/local/lib/libdbusmenu-glib.so at 0x818185458
"g_once_init_enter" in "libdbusmenu-glib.so" ==> 0x807c72070 in "libglib-2.0.so.0"
"g_intern_static_string" in "libdbusmenu-glib.so" ==> 0x807c58270 in "libglib-2.0.so.0"
"g_type_register_static_simple" in "libdbusmenu-glib.so" ==> 0x807ce6660 in "libgobject-2.0.so.0"
"g_once_init_leave" in "libdbusmenu-glib.so" ==> 0x807c72120 in "libglib-2.0.so.0"
"g_object_new" in "libdbusmenu-glib.so" ==> 0x807cd17a0 in "libgobject-2.0.so.0"
"g_type_class_peek_parent" in "libdbusmenu-glib.so" ==> 0x807ce7f60 in "libgobject-2.0.so.0"
"g_type_check_class_cast" in "libdbusmenu-glib.so" ==> 0x807ce9710 in "libgobject-2.0.so.0"
"g_type_class_add_private" in "libdbusmenu-glib.so" ==> 0x807cea4b0 in "libgobject-2.0.so.0"
"g_signal_new" in "libdbusmenu-glib.so" ==> 0x807cdc090 in "libgobject-2.0.so.0"
"g_param_spec_string" in "libdbusmenu-glib.so" ==> 0x807cda850 in "libgobject-2.0.so.0"
"g_object_class_install_property" in "libdbusmenu-glib.so" ==> 0x807cd0370 in "libgobject-2.0.so.0"
"dbusmenu_menuitem_get_type" in "libdbusmenu-glib.so" ==> 0x818175c90 in "libdbusmenu-glib.so"
"g_param_spec_object" in "libdbusmenu-glib.so" ==> 0x807cdaaf0 in "libgobject-2.0.so.0"
"g_param_spec_uint" in "libdbusmenu-glib.so" ==> 0x807cda2c0 in "libgobject-2.0.so.0"
"dbusmenu_text_direction_get_type" in "libdbusmenu-glib.so" ==> 0x818175990 in "libdbusmenu-glib.so"
"g_enum_register_static" in "libdbusmenu-glib.so" ==> 0x807ccd600 in "libgobject-2.0.so.0"
"g_param_spec_enum" in "libdbusmenu-glib.so" ==> 0x807cda580 in "libgobject-2.0.so.0"
"dbusmenu_status_get_type" in "libdbusmenu-glib.so" ==> 0x818175b10 in "libdbusmenu-glib.so"
"g_dbus_node_info_new_for_xml" in "libdbusmenu-glib.so" ==> 0x807ea22b0 in "libgio-2.0.so.0"
"g_dbus_node_info_lookup_interface" in "libdbusmenu-glib.so" ==> 0x807ea3ca0 in "libgio-2.0.so.0"
"g_type_instance_get_private" in "libdbusmenu-glib.so" ==> 0x807ceaa40 in "libgobject-2.0.so.0"
"g_type_check_instance_cast" in "libdbusmenu-glib.so" ==> 0x807ce9410 in "libgobject-2.0.so.0"
"g_hash_table_new_full" in "libdbusmenu-glib.so" ==> 0x807c33580 in "libglib-2.0.so.0"
"g_getenv" in "libdbusmenu-glib.so" ==> 0x807c2ff30 in "libglib-2.0.so.0"
"g_dpgettext" in "libdbusmenu-glib.so" ==> 0x807c331c0 in "libglib-2.0.so.0"
"g_strcmp0" in "libdbusmenu-glib.so" ==> 0x807c6da40 in "libglib-2.0.so.0"
"g_value_dup_string" in "libdbusmenu-glib.so" ==> 0x807cf1c80 in "libgobject-2.0.so.0"
"g_cancellable_new" in "libdbusmenu-glib.so" ==> 0x807dceb60 in "libgio-2.0.so.0"
"g_object_ref" in "libdbusmenu-glib.so" ==> 0x807cd0d60 in "libgobject-2.0.so.0"
"g_bus_get" in "libdbusmenu-glib.so" ==> 0x807e8b840 in "libgio-2.0.so.0"
"g_param_spec_int" in "libdbusmenu-glib.so" ==> 0x807cda240 in "libgobject-2.0.so.0"
"g_value_type_transformable" in "libdbusmenu-glib.so" ==> 0x807cee410 in "libgobject-2.0.so.0"
"g_value_register_transform_func" in "libdbusmenu-glib.so" ==> 0x807cee160 in "libgobject-2.0.so.0"
"dbusmenu_defaults_ref_default" in "libdbusmenu-glib.so" ==> 0x818175120 in "libdbusmenu-glib.so"
"g_variant_new_boolean" in "libdbusmenu-glib.so" ==> 0x807c84630 in "libglib-2.0.so.0"
"dbusmenu_defaults_default_set" in "libdbusmenu-glib.so" ==> 0x818175200 in "libdbusmenu-glib.so"
"g_hash_table_lookup" in "libdbusmenu-glib.so" ==> 0x807c34280 in "libglib-2.0.so.0"
"g_strdup" in "libdbusmenu-glib.so" ==> 0x807c68190 in "libglib-2.0.so.0"
"g_malloc0" in "libdbusmenu-glib.so" ==> 0x807c4eb60 in "libglib-2.0.so.0"
"g_variant_type_copy" in "libdbusmenu-glib.so" ==> 0x807c957a0 in "libglib-2.0.so.0"
"g_variant_ref_sink" in "libdbusmenu-glib.so" ==> 0x807c8d410 in "libglib-2.0.so.0"
"g_hash_table_insert" in "libdbusmenu-glib.so" ==> 0x807c345d0 in "libglib-2.0.so.0"
"g_hash_table_replace" in "libdbusmenu-glib.so" ==> 0x807c34750 in "libglib-2.0.so.0"
"g_dgettext" in "libdbusmenu-glib.so" ==> 0x807c33100 in "libglib-2.0.so.0"
"g_variant_new_string" in "libdbusmenu-glib.so" ==> 0x807c864d0 in "libglib-2.0.so.0"
"g_variant_type_checked_" in "libdbusmenu-glib.so" ==> 0x807c95a00 in "libglib-2.0.so.0"
"g_object_add_weak_pointer" in "libdbusmenu-glib.so" ==> 0x807cd4450 in "libgobject-2.0.so.0"
"g_value_get_int" in "libdbusmenu-glib.so" ==> 0x807cf14f0 in "libgobject-2.0.so.0"
"dbusmenu_menuitem_property_set_variant" in "libdbusmenu-glib.so" ==> 0x8181778e0 in "libdbusmenu-glib.so"
"g_utf8_validate" in "libdbusmenu-glib.so" ==> 0x807c7d0b0 in "libglib-2.0.so.0"
"dbusmenu_defaults_default_get_type" in "libdbusmenu-glib.so" ==> 0x818175540 in "libdbusmenu-glib.so"
"g_variant_is_of_type" in "libdbusmenu-glib.so" ==> 0x807c84730 in "libglib-2.0.so.0"
"dbusmenu_defaults_default_get" in "libdbusmenu-glib.so" ==> 0x818175460 in "libdbusmenu-glib.so"
"g_variant_equal" in "libdbusmenu-glib.so" ==> 0x807c88420 in "libglib-2.0.so.0"
"g_hash_table_lookup_extended" in "libdbusmenu-glib.so" ==> 0x807c343f0 in "libglib-2.0.so.0"
"g_signal_emit" in "libdbusmenu-glib.so" ==> 0x807ce2a90 in "libgobject-2.0.so.0"
"g_variant_new" in "libdbusmenu-glib.so" ==> 0x807c8a9d0 in "libglib-2.0.so.0"
"g_variant_unref" in "libdbusmenu-glib.so" ==> 0x807c8d270 in "libglib-2.0.so.0"
"g_list_find" in "libdbusmenu-glib.so" ==> 0x807c42c80 in "libglib-2.0.so.0"
"dbusmenu_menuitem_set_parent" in "libdbusmenu-glib.so" ==> 0x818176930 in "libdbusmenu-glib.so"
"dbusmenu_menuitem_property_exist" in "libdbusmenu-glib.so" ==> 0x818176aa0 in "libdbusmenu-glib.so"
"g_list_append" in "libdbusmenu-glib.so" ==> 0x807c42330 in "libglib-2.0.so.0"
"g_list_length" in "libdbusmenu-glib.so" ==> 0x807c42db0 in "libglib-2.0.so.0"
"g_value_init" in "libdbusmenu-glib.so" ==> 0x807ced8a0 in "libgobject-2.0.so.0"
"g_value_set_object" in "libdbusmenu-glib.so" ==> 0x807cd4fa0 in "libgobject-2.0.so.0"
"g_object_set_property" in "libdbusmenu-glib.so" ==> 0x807cd35c0 in "libgobject-2.0.so.0"
"g_value_get_object" in "libdbusmenu-glib.so" ==> 0x807cd5160 in "libgobject-2.0.so.0"
"dbusmenu_menuitem_get_id" in "libdbusmenu-glib.so" ==> 0x818175dd0 in "libdbusmenu-glib.so"
"g_object_get_property" in "libdbusmenu-glib.so" ==> 0x807cd3610 in "libgobject-2.0.so.0"
"dbusmenu_menuitem_get_root" in "libdbusmenu-glib.so" ==> 0x8181777b0 in "libdbusmenu-glib.so"
"g_value_set_int" in "libdbusmenu-glib.so" ==> 0x807cf14a0 in "libgobject-2.0.so.0"
"dbusmenu_menuitem_get_children" in "libdbusmenu-glib.so" ==> 0x8181760d0 in "libdbusmenu-glib.so"
"dbusmenu_menuitem_set_root" in "libdbusmenu-glib.so" ==> 0x818178600 in "libdbusmenu-glib.so"
"dbusmenu_menuitem_foreach" in "libdbusmenu-glib.so" ==> 0x818178970 in "libdbusmenu-glib.so"
"g_signal_connect_data" in "libdbusmenu-glib.so" ==> 0x807cdf190 in "libgobject-2.0.so.0"
"g_list_foreach" in "libdbusmenu-glib.so" ==> 0x807c422f0 in "libglib-2.0.so.0"
"dbusmenu_menuitem_properties_list" in "libdbusmenu-glib.so" ==> 0x818178150 in "libdbusmenu-glib.so"
"g_hash_table_get_keys" in "libdbusmenu-glib.so" ==> 0x807c35b90 in "libglib-2.0.so.0"
"dbusmenu_menuitem_property_get_variant" in "libdbusmenu-glib.so" ==> 0x818177dd0 in "libdbusmenu-glib.so"
"g_array_new" in "libdbusmenu-glib.so" ==> 0x807c0fce0 in "libglib-2.0.so.0"
"g_array_append_vals" in "libdbusmenu-glib.so" ==> 0x807c10100 in "libglib-2.0.so.0"
"dbusmenu_menuitem_property_is_default" in "libdbusmenu-glib.so" ==> 0x818178df0 in "libdbusmenu-glib.so"
"g_idle_add" in "libdbusmenu-glib.so" ==> 0x807c492d0 in "libglib-2.0.so.0"
"g_list_free" in "libdbusmenu-glib.so" ==> 0x807c42260 in "libglib-2.0.so.0"
"g_object_unref" in "libdbusmenu-glib.so" ==> 0x807cd0e60 in "libgobject-2.0.so.0"
"g_signal_handlers_disconnect_matched" in "libdbusmenu-glib.so" ==> 0x807ce0790 in "libgobject-2.0.so.0"  Failed to open "/usr/local/share/code-oss/libcxxrt.so.1": No such file or directory
/lib/libcxxrt.so.1 valid_hash_sysv 1 valid_hash_gnu 1 dynsymcount 374"g_hash_table_remove" in "libdbusmenu-glib.so" ==> 0x807c34ba0 in "libglib-2.0.so.0"
"g_bus_get_finish" in "libdbusmenu-glib.so" ==> 0x807e8ba00 in "libgio-2.0.so.0"
"g_dbus_connection_signal_subscribe" in "libdbusmenu-glib.so" ==> 0x807e889b0 in "libgio-2.0.so.0"
lm_find("/usr/local/lib/libGL.so.1", "/usr/local/lib")"g_dbus_connection_register_object" in "libdbusmenu-glib.so" ==> 0x807e89510 in "libgio-2.0.so.0"
"g_dbus_connection_emit_signal" in "libdbusmenu-glib.so" ==> 0x807e8a360 in "libgio-2.0.so.0"
"dbusmenu_menuitem_exposed" in "libdbusmenu-glib.so" ==> 0x818178ed0 in "libdbusmenu-glib.so"lmp_find("$DEFAULT$")
"g_variant_parse" in "libdbusmenu-glib.so" ==> 0x807c8def0 in "libglib-2.0.so.0"
  Failed to open "/lib/libxcb-dri3.so.0": No such file or directory"g_free" in "libdbusmenu-glib.so" ==> 0x807c4ec20 in "libglib-2.0.so.0"
lmp_find("/usr/local/lib/libGL.so.1")"g_object_remove_weak_pointer" in "libdbusmenu-glib.so" ==> 0x807cd44c0 in "libgobject-2.0.so.0"
"g_hash_table_destroy" in "libdbusmenu-glib.so" ==> 0x807c341d0 in "libglib-2.0.so.0"
"g_array_free" in "libdbusmenu-glib.so" ==> 0x807c10020 in "libglib-2.0.so.0"lmp_find("$DEFAULT$")
"g_dbus_connection_unregister_object" in "libdbusmenu-glib.so" ==> 0x807e89890 in "libgio-2.0.so.0"
"g_dbus_connection_signal_unsubscribe" in "libdbusmenu-glib.so" ==> 0x807e89050 in "libgio-2.0.so.0"
"g_cancellable_is_cancelled" in "libdbusmenu-glib.so" ==> 0x807dcedb0 in "libgio-2.0.so.0"
"g_cancellable_cancel" in "libdbusmenu-glib.so" ==> 0x807dcf0c0 in "libgio-2.0.so.0"
"g_variant_type_free" in "libdbusmenu-glib.so" ==> 0x807c95790 in "libglib-2.0.so.0"
calling fini function for /usr/local/lib/libdbusmenu-glib.so at 0x81818546c
"__cxa_finalize" in "libdbusmenu-glib.so" ==> 0x80bea3040 in "libc.so.7"
calling fini function for /usr/local/lib/gtk-3.0/modules/libappmenu-gtk-module.so at 0x8107b6b4c
"__cxa_finalize" in "libappmenu-gtk-module.so" ==> 0x80bea3040 in "libc.so.7"
calling fini function for /usr/local/lib/libappmenu-gtk3-parser.so.0 at 0x8107cb4fc
"__cxa_finalize" in "libappmenu-gtk3-parser.so.0" ==> 0x80bea3040 in "libc.so.7"

Related to #29?

Reference: helloSystem/hello#116

@grahamperrin
Copy link

KDE Plasma

If I recall correctly: my first use(s) of Code - OSS after enabling the global menu lacked integration.

I'm not sure when the integration magically began – maybe after signing out from, then back into the desktop environment – but since then, it seems consistently integrated.

Versions

Which version of the application do you have there?

Here: 1.53.0 on FreeBSD 14.0-CURRENT.

% pkg info -x code | grep -i oss
% pkg info -x code 
apache-commons-codec-1.15
dmidecode-3.3
geocode-glib-3.26.2
iso-codes-4.2
kf5-kcodecs-5.78.0
libqrencode-4.1.1
p5-Encode-Locale-1.05
qr-code-generator-1.6.0
vscode-1.53.0
% pkg query '%o %v %R' vscode
editors/vscode 1.53.0 FreeBSD
% date ; uname -v
Sat 13 Feb 2021 09:15:22 GMT
FreeBSD 14.0-CURRENT #14 main-f44e67d120: Wed Feb 10 23:57:02 GMT 2021     root@mowa219-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC 
% freebsd-version -kru
14.0-CURRENT
14.0-CURRENT
14.0-CURRENT
% 

@probonopd
Copy link
Member Author

I'm not sure when the integration magically began – maybe after signing out from, then back into the desktop environment – but since then, it seems consistently integrated.

Hold on, the global menu is working for you?

@grahamperrin

This comment has been minimized.

@grahamperrin
Copy link

grahamperrin commented Feb 13, 2021

#51 (comment)

… the global menu is working for you?

1.53.0 on FreeBSD 14.0-CURRENT with KDE Plasma 5.20.5, yes, integrated:

image

@grahamperrin

This comment has been minimized.

@probonopd
Copy link
Member Author

probonopd commented Feb 13, 2021

The most recent versions of packages are already installed

So it must be something else for me (FreeBSD 12.1 with last quarter's packages)

@grahamperrin

This comment has been minimized.

@probonopd
Copy link
Member Author

yes...

% pkg info -x dbus-glib
dbus-glib-0.110

@grahamperrin
Copy link

grahamperrin commented Feb 13, 2021

#51 (comment)

1.53.0 on FreeBSD 14.0-CURRENT with KDE Plasma 5.20.5, yes, integrated: …

1.46.1 from quarterly on FreeBSD 12.2-RELEASE-p3 with KDE Plasma 5.20.4: not integrated.

image

Recent Kde global menu does not work - Support / Kde Plasma - Manjaro Linux Forum mentions third party applications such as VSCode.

A moderator wrote:

… the bug was introduced in Plasma 5.19.4, I think. It’s probably so low on their list of priorities that it may only get fixed for the official release of 5.21. …

Unfortunately the topic was automatically locked yesterday. Topic reopened, thanks to the moderator there.

@probonopd
Copy link
Member Author

Very interesting!

@grahamperrin
Copy link

#51 (comment)

No better with packages from latest – including KDE Plasma 5.20.5 – on FreeBSD 12.2-RELEASE-p3:

image

Maybe the magic is in 14.0-CURRENT (or 13.0-⋯) …

@grahamperrin
Copy link

… Maybe the magic is in 14.0-CURRENT (or 13.0-⋯) …

… or electron 11.2.3, packages for which:

  • are available for ABIs FreeBSD:13:amd64 and FreeBSD:14:amd64
  • are not yet available for ABI FreeBSD:12:amd64

https://www.freshports.org/devel/electron11/#packages

Thanks @tagattie https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253481#c1:

… you can build the port successfully with DEBUG option OFF.

@grahamperrin
Copy link

On closer inspection: devel/electron11 is required to build https://www.freshports.org/editors/vscode/#requiredbuild – not to run.

@probonopd
Copy link
Member Author

https://www.electronjs.org/docs/latest/api/environment-variables mentions ELECTRON_FORCE_WINDOW_MENU_BAR, "Don't use the global menu bar on Linux". So it should be possible to get the global menu bar working with Electron apps?

Within Electron, the Global Menu seems to be referred to as "Dbusmenu":

https://github.com/electron/electron/search?q=dbusmenu

How can it be activated?

@probonopd
Copy link
Member Author

It is working thanks to

Thanks @jsm222

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants