← Back to team overview

dx-packages team mailing list archive

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

 

I have run a debugging session from the Eclipse side. When you click the
global menu it is producing event that gets handed down to the main SWT
loop, there Eclipse takes the event and gives it back to GTK calling
gtk_main_do_event for precise targeting of the affected component.
Without the global menu the event would popout back from GTK inside the
Menu widget triggering something like menuIsAboutToShow callback. With
global menu however the event is swallowed and never comes back.

The Java code in Eclipse has no role here nor the super-thin SWT native
code. It an apparent regression in the behavior of the GTK library. In
other words it is Ubuntu global menu back not being compatible with
standard GTK behavior.

-- 
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 doesn't show up in Saucy

Status in Unity GTK+ module:
  Confirmed
Status in “unity-gtk-module” package in Ubuntu:
  Triaged

Bug description:
  ****************
  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/unity-gtk-module/+bug/1208019/+subscriptions