2010-05-16 23:57:27 |
markoER |
description |
Binary package hint: indicator-application
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
NonfreeKernelModules: nvidia
Package: indicator-application 0.0.14-0ubuntu1
ProcEnviron:
PATH=(custom, user)
LANG=en_CA.utf8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SourcePackage: indicator-application
Uname: Linux 2.6.32-14-generic x86_64 |
Binary package hint: indicator-application
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
NonfreeKernelModules: nvidia
Package: indicator-application 0.0.14-0ubuntu1
ProcEnviron:
PATH=(custom, user)
LANG=en_CA.utf8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SourcePackage: indicator-application
Uname: Linux 2.6.32-14-generic x86_64
|
|