Accelerator in global menu doesn't update when dynamically changed
Bug #948415 reported by
Nicolas Chachereau
This bug report is a duplicate of:
Bug #610234: Should support changing shortcuts via can_change_accels (menu item selection + key combination).
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppMenu GTK+ |
Confirmed
|
Undecided
|
Unassigned | ||
Unity |
Confirmed
|
Undecided
|
Unassigned | ||
appmenu-gtk (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
How to reproduce:
While using the attached test application, the menu first shows "Quit Ctrl+Q". Click on the "Change menu" button.
Result: As expected, the menu entry now reads "Test", and the actual accelerator has changed to "Ctrl+T". However, the menu still shows "Ctrl+Q" as accelerator, while one would expect it being updated too.
(I tested the code with the recent Ubuntu Precise Pangolin Beta 1, and the bug is still there).
Note: while I'd be interested in a workaround, e.g. another way of dynamically changing the accelerator, I think the attached code is a perfectly valid use of the GTK+ lib, since it works with both GNOME Shell and GNOME "Classic". Unity should support it too.
Changed in appmenu-gtk: | |
status: | New → Confirmed |
Changed in unity: | |
status: | New → Confirmed |
Changed in appmenu-gtk (Ubuntu): | |
status: | New → Confirmed |
To post a comment you must log in.
duplicate bug 610234