{"action":"created","issue":{"url":"https://api.github.com/repos/rilian-la-te/vala-panel-appmenu/issues/193","repository_url":"https://api.github.com/repos/rilian-la-te/vala-panel-appmenu","labels_url":"https://api.github.com/repos/rilian-la-te/vala-panel-appmenu/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/rilian-la-te/vala-panel-appmenu/issues/193/comments","events_url":"https://api.github.com/repos/rilian-la-te/vala-panel-appmenu/issues/193/events","html_url":"https://github.com/rilian-la-te/vala-panel-appmenu/issues/193","id":295102058,"number":193,"title":"Jayatana crash","user":{"login":"mdirik","id":1767147,"avatar_url":"https://avatars3.githubusercontent.com/u/1767147?v=4","gravatar_id":"","url":"https://api.github.com/users/mdirik","html_url":"https://github.com/mdirik","followers_url":"https://api.github.com/users/mdirik/followers","following_url":"https://api.github.com/users/mdirik/following{/other_user}","gists_url":"https://api.github.com/users/mdirik/gists{/gist_id}","starred_url":"https://api.github.com/users/mdirik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdirik/subscriptions","organizations_url":"https://api.github.com/users/mdirik/orgs","repos_url":"https://api.github.com/users/mdirik/repos","events_url":"https://api.github.com/users/mdirik/events{/privacy}","received_events_url":"https://api.github.com/users/mdirik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2018-02-07T11:26:30Z","updated_at":"2018-02-07T15:11:05Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nJayatana menu crashes the panel applet occasionally, and even if it doesn't crash, menu item clicks don't seem to react as expected.\r\n\r\nRunning `env XDG_CURRENT_DESKTOP=Unity java -javaagent:/usr/share/java/jayatanaag.jar -jar ~/Desktop/demo.jar` and clicking the menu called \"A Menu\", it either\r\n\r\n1. Crashes the applet, showing the \"Plugin \"AppMenu Plugin\" unexpectedly left the panel, do you want to restart it?\" dialog\r\n\r\n2. Menu disappears. (Just the menu of demo.jar, menus of other programs still work properly when they are focused)\r\n\r\n3. Menu and items are shown but clicks to items are not recognized.\r\n\r\n\r\nDetails:\r\n * I'm on vala-panel-appmenu commit 8fba2059837f30c01ecb118d34f4a7dbedb303d1.\r\n * xfce4-panel 4.12.1\r\n * `demo.jar` is downloaded from [here](https://drive.google.com/file/d/0B-XjSlEemtN0eHRaWEdETjljVmM/view?usp=sharing), [source](https://intellij-support.jetbrains.com/hc/en-us/community/posts/206559509/comments/207126095)\r\n"},"comment":{"url":"https://api.github.com/repos/rilian-la-te/vala-panel-appmenu/issues/comments/363798954","html_url":"https://github.com/rilian-la-te/vala-panel-appmenu/issues/193#issuecomment-363798954","issue_url":"https://api.github.com/repos/rilian-la-te/vala-panel-appmenu/issues/193","id":363798954,"user":{"login":"mdirik","id":1767147,"avatar_url":"https://avatars3.githubusercontent.com/u/1767147?v=4","gravatar_id":"","url":"https://api.github.com/users/mdirik","html_url":"https://github.com/mdirik","followers_url":"https://api.github.com/users/mdirik/followers","following_url":"https://api.github.com/users/mdirik/following{/other_user}","gists_url":"https://api.github.com/users/mdirik/gists{/gist_id}","starred_url":"https://api.github.com/users/mdirik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdirik/subscriptions","organizations_url":"https://api.github.com/users/mdirik/orgs","repos_url":"https://api.github.com/users/mdirik/repos","events_url":"https://api.github.com/users/mdirik/events{/privacy}","received_events_url":"https://api.github.com/users/mdirik/received_events","type":"User","site_admin":false},"created_at":"2018-02-07T15:11:05Z","updated_at":"2018-02-07T15:11:05Z","author_association":"NONE","body":"Ok, I'll try those.\r\n\r\nIn the meantime, here's where the glib warning message is printed:\r\n\r\n```\r\n(gdb) break g_log        \r\nBreakpoint 1 at 0xf6ad42c0\r\n(gdb) c                       \r\nContinuing.\r\n                                                   \r\nThread 1 \"panel-5-appmenu\" hit Breakpoint 1, 0xf6ad42c0 in g_log () from /lib/i386-linux-gnu/libglib-2.0.so.0\r\n(gdb) bt               \r\n#0  0xf6ad42c0 in g_log () from /lib/i386-linux-gnu/libglib-2.0.so.0                 \r\n#1  0xf5b2e0ed in appmenu_app_menu_bar_lookup_menu () from /usr/lib/i386-linux-gnu/xfce4/panel/plugins/libappmenu-xfce.so                                              \r\n#2  0xf5b2d95a in appmenu_app_menu_bar_on_active_window_changed () from /usr/lib/i386-linux-gnu/xfce4/panel/plugins/libappmenu-xfce.so\r\n#3  0xf5b2e4e5 in _appmenu_app_menu_bar_on_active_window_changed_bamf_matcher_active_window_changed ()\r\n   from /usr/lib/i386-linux-gnu/xfce4/panel/plugins/libappmenu-xfce.so\r\n```\r\n\r\nI must note that I see this message only with jayatana, regular gtk programs show no such warning. I have no idea what is this \"id\" property the warning message talks about but I guess it would be an invalid value even if it didn't overflowed due to bitness."}}
{"actor":{"display_login":"mdirik"}}