As a follow up to my previous comment: Unfortunately, adding "eclipse"
to the blacklist (in addition to "Eclipse") only works for 32 bit
because in 64 bit, the eclipse process forks a java process. Since the
blacklist works on the executable name, that would mean blacklisting all
java programs which would be overkill. It looks like the real solution
will be to make the global menu work.

Here are my observations looking into blacklisting:

13.04: 
- g_set_prgname is called first with "eclipse" when showing the splash screen
- A few seconds later g_set_prgname is called again with "Eclipse", from some 
java code
- Then, when a gtk_combo_box is constructed, the menu_proxy_module gets loaded 
and the blacklist is checked using g_get_prgname, "Eclipse" matches

13.10 (32 bit):
- g_set_prgname is called first with "eclipse" when showing the splash screen
- In the same call to show the splash screen, gtk_module gets initialized and 
the blacklist is checked using g_get_prgname, "eclipse" doesn't match "Eclipse"
- Then a few seconds later g_set_prgname is called again with "Eclipse", from 
some java code

13.10 (64 bit):
- g_set_prgname is called first with "java" when showing the splash screen
- In the same call to show the splash screen, gtk_module gets initialized and 
the blacklist is checked using g_get_prgname, "java" doesn't match "Eclipse"
- Then a few seconds later g_set_prgname is called again with "Eclipse", from 
some java code

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

Title:
  Eclipse menus doesn't show up in Saucy

Status in “eclipse” package in Ubuntu:
  Triaged
Status in “unity-gtk-module” package in Ubuntu:
  Triaged

Bug description:
  ****************
  HOW TO REPRODUCE
  ****************

  1. Run Eclipse.
  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/ubuntu/+source/eclipse/+bug/1208019/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to