Using .insert() on a GtkMenu doesn't update the AppIndicator's menu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Application Indicators |
Confirmed
|
High
|
Ted Gould | ||
indicator-application (Ubuntu) |
Triaged
|
High
|
Jan Arne Petersen | ||
Lucid |
Triaged
|
High
|
Jan Arne Petersen |
Bug Description
Binary package hint: indicator-
When using the python bindings, adding a new menu entry with add() works, but using insert() doesn't update the menu in the application indicator.
The only workaround that I could find was reloading the menu with set_menu(), but that is resource-intensive.
Attached is a simple reproducer.
1- Start application
2- Click on "Add menu item", notice the menu got updated
3- Click on "Insert menu item", notice the menu didn't get updated
4- Click on "Add menu item", notice the menu got updated, including the inserted item
5- Click on "Insert menu item", notice the menu didn't get updated
6- Click on "Do set_menu", notice the menu got updated, including the inserted item
ProblemType: Bug
Architecture: amd64
Date: Mon Mar 1 11:18:14 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
NonfreeKernelMo
Package: indicator-
ProcEnviron:
PATH=(custom, user)
LANG=en_CA.utf8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: indicator-
Uname: Linux 2.6.32-14-generic x86_64
Changed in indicator-application: | |
assignee: | nobody → Ted Gould (ted) |
Changed in indicator-application (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in indicator-application (Ubuntu Lucid): | |
assignee: | nobody → Ted Gould (ted) |
description: | updated |
Changed in indicator-application: | |
status: | New → Confirmed |
importance: | Undecided → High |
Any ETA on this bug? I'll need to revert my app indicator patch for virt-manager if this isn't fixed.