Eclipse menus don't show up in Trusty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eclipse |
Unknown
|
Critical
|
|||
GTK+ |
Fix Released
|
Medium
|
|||
Unity GTK+ module |
Fix Released
|
Undecided
|
William Hua | ||
gtk+3.0 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
William Hua | ||
unity-gtk-module (Ubuntu) |
Fix Released
|
Critical
|
William Hua | ||
Trusty |
Fix Released
|
Undecided
|
William Hua |
Bug Description
[Impact]
Switching tabs between open source files with different file types in Eclipse causes the Source and Refactor menus to be empty in the global menu bar under Unity.
This is a severe usability problem for many Eclipse users. The fix proposed has been available in a PPA and is well-tested.
[Test Case]
1. Open a new project in Eclipse.
2. Open two files: one with a .java extension, another with a .txt extension.
3. Switch between the .java file and the .txt file and back again.
4. Open the Source or Refactor menu in the Unity global menu bar.
Expected result: menus with menu items
Actual result: empty menus for both
[Regression Potential]
The fix involves changes to both gtk and unity-gtk-module.
The changes to gtk are minimal and only involve the reversal of a pair of signal emissions, in a part of the code (GtkMenuTracker) which is normally used by desktop environments, not typical user applications. Therefore regression potential for the gtk update is unlikely.
The changes to unity-gtk-module involve emitting show and hide signals where they were none before has some regression potential for applications that are explicitly watching for when their menus are opening and closing. But this is rare for applications to do, and we likely would have already received bug reports for those that do. Being completely sure would require extensive testing across all gtk apps though.
Both changes together have been available as a PPA, thoroughly tested for quite some time now.
[Other Info]
The changes to unity-gtk-module depend on the changes to gtk, so both must be tested in simultaneity. Suggested to upload both to trusty-proposed at the same time.
Original bug report follows:
=== %< ===
****************
HOW TO REPRODUCE
****************
1. Run Eclipse, Gimp or Inkscape.
2. Move the cursor to the top of the screen.
3. Click on any of the menu items (File, Edit, Navigate, ...)
******************
EXPECTED BEHAVIOUR
******************
- The content of the submenus show up.
**************
REAL BEHAVIOUR
**************
- Only the top-level headers are available.
- Nothing happens when clicking on them
- They don't show up in the HUD either.
***********
WORK-AROUND
***********
To modify "/usr/share/
[Desktop Entry]
Type=Application
Name=Eclipse
Comment=Eclipse Integrated Development Environment
Icon=eclipse
Exec=env UBUNTU_MENUPROXY= eclipse
Terminal=false
Categories=
****************
RELEVANT DETAILS
****************
- Doesn't affect Ubuntu releases prior to 13.10.
**************
TECHNICAL INFO
**************
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: eclipse 3.8.1-1ubuntu1
ProcVersionSign
Uname: Linux 3.10.0-6-generic i686
ApportVersion: 2.11-0ubuntu1
Architecture: i386
Date: Sat Aug 3 17:03:55 2013
InstallationDate: Installed on 2013-07-08 (25 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha i386 (20130708)
MarkForUpload: True
PackageArchitec
SourcePackage: eclipse
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Charles Kerr (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 418 lines (+104/-82)8 files modifiedlib/unity-gtk-action-group.c (+10/-35)
lib/unity-gtk-action-group.h (+0/-4)
lib/unity-gtk-menu-item-private.h (+1/-2)
lib/unity-gtk-menu-item.c (+82/-16)
lib/unity-gtk-menu-section.c (+1/-1)
lib/unity-gtk-menu-shell.c (+5/-13)
lib/unity-gtk-menu-shell.h (+0/-1)
src/main.c (+5/-10)
- Lars Karlitski (community): Approve
- Ubuntu Desktop: Pending requested
-
Diff: 252 lines (+225/-0)3 files modifieddebian/changelog (+5/-0)
debian/patches/series (+1/-0)
debian/patches/x-canonical-accel.patch (+219/-0)
- Charles Kerr (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 140 lines (+75/-2)3 files modifiedlib/unity-gtk-menu-item-private.h (+3/-0)
lib/unity-gtk-menu-item.c (+20/-1)
lib/unity-gtk-menu-section.c (+52/-1)
- Ted Gould (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 895 lines (+442/-230)7 files modifiedlib/unity-gtk-action-group.c (+269/-161)
lib/unity-gtk-action-private.h (+19/-15)
lib/unity-gtk-action.c (+14/-0)
lib/unity-gtk-menu-item-private.h (+3/-1)
lib/unity-gtk-menu-item.c (+88/-26)
lib/unity-gtk-menu-section.c (+40/-25)
lib/unity-gtk-menu-shell.c (+9/-2)
- Ted Gould (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 895 lines (+442/-230)7 files modifiedlib/unity-gtk-action-group.c (+269/-161)
lib/unity-gtk-action-private.h (+19/-15)
lib/unity-gtk-action.c (+14/-0)
lib/unity-gtk-menu-item-private.h (+3/-1)
lib/unity-gtk-menu-item.c (+88/-26)
lib/unity-gtk-menu-section.c (+40/-25)
lib/unity-gtk-menu-shell.c (+9/-2)
- Sebastien Bacher: Approve
-
Diff: 133 lines (+105/-1)3 files modifieddebian/changelog (+7/-1)
debian/patches/git-menu-binding-emit-submenu-close-after-activate.patch (+97/-0)
debian/patches/series (+1/-0)
- Ubuntu Desktop: Pending requested
-
Diff: 130 lines (+105/-1)3 files modifieddebian/changelog (+7/-1)
debian/patches/git-menu-binding-emit-submenu-close-after-activate.patch (+97/-0)
debian/patches/series (+1/-0)
no longer affects: | unity (Ubuntu) |
description: | updated |
tags: | added: rls-t-incoming |
affects: | eclipse-eclipsers → inkscape (Ubuntu) |
Changed in gimp (Ubuntu): | |
status: | New → Confirmed |
affects: | inkscape → gimp (Ubuntu) |
Changed in oracle-jdk7-installer (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → Critical |
Changed in eclipse: | |
importance: | Unknown → Critical |
status: | Unknown → Confirmed |
Changed in unity-gtk-module (Ubuntu): | |
status: | Triaged → Confirmed |
Changed in oracle-jdk7-installer (Ubuntu): | |
status: | Triaged → Confirmed |
Changed in unity-gtk-module: | |
assignee: | nobody → William Hua (attente) |
Changed in unity-gtk-module (Ubuntu): | |
assignee: | nobody → William Hua (attente) |
status: | Confirmed → In Progress |
Changed in unity-gtk-module: | |
status: | Confirmed → In Progress |
description: | updated |
description: | updated |
Changed in eclipse: | |
status: | Confirmed → Unknown |
description: | updated |
description: | updated |
description: | updated |
Changed in gtk: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in oracle-jdk7-installer (Ubuntu): | |
status: | Triaged → Invalid |
no longer affects: | oracle-jdk7-installer (Ubuntu) |
summary: |
- Eclipse menus doesn't show up in Saucy + Eclipse menus doesn't show up in Trusty |
Changed in unity-gtk-module: | |
status: | In Progress → Fix Released |
Changed in gtk+3.0 (Ubuntu): | |
status: | New → Fix Released |
Changed in gtk+3.0 (Ubuntu Trusty): | |
status: | New → Confirmed |
Changed in unity-gtk-module (Ubuntu Trusty): | |
status: | New → Confirmed |
Changed in unity-gtk-module (Ubuntu Trusty): | |
status: | Fix Committed → Fix Released |
I can only reproduce this issue in Unity, so that might be the cause somehow. Just tried in XFCE and the menus workd as expected without any issues.