[Bug 1208019] [NEW] Eclipse menus doesn't show up in Saucy

Launchpad Bug Tracker 1208019 at bugs.launchpad.net
Wed Jul 16 16:27:56 UTC 2014


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

[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/applications/eclipse.desktop" to look like this:

[Desktop Entry]
Type=Application
Name=Eclipse
Comment=Eclipse Integrated Development Environment
Icon=eclipse
Exec=env UBUNTU_MENUPROXY= eclipse
Terminal=false
Categories=Development;IDE;Java;

****************
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
ProcVersionSignature: Ubuntu 3.10.0-6.17-generic 3.10.3
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
PackageArchitecture: all
SourcePackage: eclipse
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: eclipse
     Importance: Critical
         Status: Unknown

** Affects: gtk
     Importance: Medium
         Status: Fix Released

** Affects: unity-gtk-module
     Importance: Undecided
     Assignee: William Hua (attente)
         Status: In Progress

** Affects: gtk+3.0 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: oracle-jdk7-installer (Ubuntu)
     Importance: Critical
         Status: Invalid

** Affects: unity-gtk-module (Ubuntu)
     Importance: Critical
     Assignee: William Hua (attente)
         Status: Fix Released


** Tags: apport-bug i386 patch regression-release rls-t-incoming saucy
-- 
Eclipse menus doesn't show up in Saucy
https://bugs.launchpad.net/bugs/1208019
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list