[panel] Ignores "enabled" property on top-level menus
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libdbusmenu-qt |
Invalid
|
Undecided
|
Unassigned | ||
unity-2d |
Fix Committed
|
Medium
|
Unassigned | ||
unity-2d (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Test Case]
1. Download the main.cpp and build as noted in comment #2
2. Run the test application
-> Verify that the Disabled menu cannot be accessed
[Regression Potential]
Broken menu clicking.
Original description:
The unity-2d panel seems to ignore the "enabled" property on top-level application menus. As an example, the Thunderbird compose window disables the "Insert" and "Format" menus until the main text entry area in the compose window is selected. However, these menus can still be accessed in unity-2d when they are meant to be disabled, whereas they are correctly disabled in unity-3d. I've attached a video showing the problem
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: unity-2d 4.6.1-0ubuntu1
ProcVersionSign
Uname: Linux 3.0.0-11-generic x86_64
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Wed Sep 14 15:09:00 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
PackageArchitec
ProcEnviron:
LANGUAGE=en_GB:en
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: unity-2d
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- jenkins (community): Approve (continuous-integration)
- Gerry Boland (community): Needs Fixing
-
Diff: 72 lines (+16/-2)4 files modifiedlibunity-2d-private/src/indicatorentrywidget.cpp (+6/-1)
libunity-2d-private/src/indicatorentrywidget.h (+2/-0)
libunity-2d-private/src/indicatorsmanager.cpp (+4/-1)
tests/manual-tests/panel.txt (+4/-0)
Changed in unity-2d: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in unity-2d (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in unity-2d: | |
status: | Confirmed → In Progress |
Changed in libdbusmenu-qt: | |
status: | New → Invalid |
Changed in unity-2d: | |
assignee: | nobody → Albert Astals Cid (aacid) |
milestone: | none → 5.14 |
Changed in unity-2d: | |
status: | In Progress → Fix Committed |
Changed in unity-2d (Ubuntu): | |
status: | Confirmed → Fix Released |
description: | updated |
Changed in unity-2d: | |
assignee: | Albert Astals Cid (aacid) → nobody |
Simple code of a program with an enabled and a disabled menu.
Can be compiled with
qmake -project
qmake
make