← Back to team overview

dx-packages team mailing list archive

[Bug 1208019] Re: Eclipse menus don't show up in Trusty

 

This fix isn't working because it requires both the gtk patch and the
unity-gtk-module patch simultaneously.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity-gtk-module in Ubuntu.
https://bugs.launchpad.net/bugs/1208019

Title:
  Eclipse menus don't show up in Trusty

Status in Eclipse:
  Unknown
Status in GTK+ GUI Toolkit:
  Fix Released
Status in Unity GTK+ module:
  Fix Released
Status in “gtk+3.0” package in Ubuntu:
  Fix Released
Status in “unity-gtk-module” package in Ubuntu:
  Fix Released
Status in “gtk+3.0” source package in Trusty:
  Fix Committed
Status in “unity-gtk-module” source package in Trusty:
  In Progress

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/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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/eclipse/+bug/1208019/+subscriptions