The cause of this is a five-second timeout in indicator-appmenu before it removes closed windows from its internal hash table. When an application restarts within these five seconds and X assigns the app's window the same xid, indicator-appmenu doesn't recognize it as a newly started application. It still shows the menus from the old instance (it has the menu model cashed), but action activations aren't send to the new instance.
The five-second timeout was added due to bamf bug #718926. This has been fixed since then, thus the timeout can be removed (see attached branch). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1075263 Title: Items of a menubar built from GMenu do not always work To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-appmenu/+bug/1075263/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
