quicklist must respect enabled state
Bug #731533 reported by
Marco Biscaro
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Fix Released
|
Undecided
|
Marco Biscaro | ||
unity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When a QuickListMenuItem is with the enabled state defined as false, QuicklistView must not hide or send the clicked signal of QuickListMenuItem on mouse click.
Example: on bug #723880, the option "Empty trash" should exist, even when the trash is already empty. In that case, the QuickListMenuItem must be disabled.
What happens:
Even disabled, when I click on "Empty trash", the quicklist is closed and a 'clicked' signal is emited.
Expected behaviour:
When I click on a disabled menu item, nothing should happens (neither the quicklist close, nor the 'clicked' signal is emited).
Related branches
lp://staging/~marcobiscaro2112/unity/fixes-731533
- Neil J. Patel (community): Approve
-
Diff: 31 lines (+4/-3)1 file modifiedsrc/QuicklistView.cpp (+4/-3)
Changed in unity: | |
status: | Triaged → In Progress |
Changed in unity (Ubuntu): | |
status: | Triaged → In Progress |
Changed in unity: | |
assignee: | nobody → Marco Biscaro (marcobiscaro2112) |
Changed in unity: | |
status: | In Progress → Fix Committed |
Changed in unity (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in unity: | |
milestone: | none → 3.6.4 |
Changed in unity: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Related bugs: bug #723880 and bug #676928