← Back to team overview

touch-packages team mailing list archive

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

 

Hello Hans, or anyone else affected,

Accepted unity-gtk-module into trusty-proposed. The package will build
now and be available at http://launchpad.net/ubuntu/+source/unity-gtk-
module/0.0.0+14.04.20140403-0ubuntu2 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: unity-gtk-module (Ubuntu Trusty)
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gtk+3.0 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:
  Fix Committed

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