Public bug reported: Two of the appindicators I have written refresh themselves periodically and on each refresh, rebuild their menu (and submenus).
I have noticed over time that the submenus disappear - the submenus look as if each is a single space. The indicator itself, including the menu items, is no longer responsive and the underlying process must be killed. Memory does not seem to be increasing beyond what would seem to be normal levels for a small script. Running the indicator from a terminal reveals no error message. I have attached a sample script which creates an indicator and a mock menu/submenu. The update rate is every three (3) seconds: after a couple of minutes, the submenu will change to the "space" version. The script attached must be run using Python3. The issue appears on Ubuntu 12.04/12.10/13.04 and Lubuntu 12.10 but NOT Lubuntu 12.04. I have written other indicators which use a single menu (no submenus) and these indicators also periodically refresh (and rebuild their menu). At this time, I've not noticed if these indicators become unresponsive so I'm not sure if this is related to the submenus or if that is a red herring. ** Affects: ubuntu Importance: Undecided Status: New ** Attachment added: "Sample script to demonstrate missing submenus." https://bugs.launchpad.net/bugs/1108636/+attachment/3505449/+files/indicator-submenu-test.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1108636 Title: Submenus disappear in Python3 AppIndicator To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1108636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs