shouldn't list inactive items
Bug #1192646 reported by
Sebastien Bacher
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity HUD |
Fix Released
|
High
|
Ted Gould | ||
13.10 |
Fix Released
|
High
|
Ted Gould | ||
hud (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Saucy |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
All Ubuntu users using Unity and the HUD.
[Test case]
- start gedit
- open the hud
- look for "undo"
It lists the "undo" item from the edit menu, it shouldn't since there is nothing to undo and the menu item is greyed out.
[Regression potential]
Since this changes how menu items are identified on whether or not they need to be shown, there could be unforeseen issues where menu items that should be appearing and used to be appearing are now hidden and considered unavailable. Items that just recently became available may not be visible in the hud.
Related branches
lp:~ted/hud/insensitive-items
- Lars Karlitski (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 154 lines (+65/-43)3 files modifiedsrc/menumodel-collector.c (+19/-8)
tests/test-menu-input-model-shortcuts.c (+1/-0)
tests/test-menu-input-model-simple.c (+45/-35)
Changed in hud (Ubuntu): | |
importance: | Undecided → High |
Changed in hud: | |
assignee: | nobody → Ted Gould (ted) |
importance: | Undecided → High |
summary: |
- shouldn't list unactive items + shouldn't list inactive items |
description: | updated |
Changed in hud (Ubuntu Saucy): | |
importance: | Undecided → High |
Changed in hud: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I see the same issue (working on bug 1186965), the HUD doesn't hide disabled actions.