Launchpad has imported 24 comments from the remote bug at https://bugs.eclipse.org/bugs/show_bug.cgi?id=330563.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2010-11-18T13:31:24+00:00 Albert-pikus wrote: Build Identifier: 3.5.2 Hi, when using Ubuntu Netbook edition with new Unity desktop interface, there are problems with the application menus. Unity desktop features menu similar to Mac OS X, which is always present on top of the desktop. When I run my application (using pure SWT, no JFace) on Unity desktop, menu is not present inside application window and neither in the OS menu bar. This problem will get even worse once Canonical includes this desktop- wide menu in standard desktop edition of Ubuntu (scheduled for the 11.04 release). I would like to know if there are any plans for SWT to support new menu with Unity. Best regards, Albert Reproducible: Always Steps to Reproduce: Create a shell and add menu to it. Run application on Ubuntu Netbook edition with Unity UI -> Application's menu is not present. Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/12 ------------------------------------------------------------------------ On 2010-11-18T13:35:01+00:00 Remysuen wrote: Does the problem persist on 3.6.1? http://download.eclipse.org/eclipse/downloads/drops/R-3.6.1-201009090800/index.php Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/13 ------------------------------------------------------------------------ On 2010-12-16T14:24:17+00:00 Albert-pikus wrote: Created attachment 185320 Screenshot of Eclipse 3.6.1 on Ubuntu netbook edition Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/14 ------------------------------------------------------------------------ On 2010-12-16T14:24:59+00:00 Albert-pikus wrote: Yes, the problem unfortunately is present on 3.6.1 too. I installed eclipse 3.6.1 and only "File" menu is present, with single "Close" item. I'm attaching a screenshot. Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/15 ------------------------------------------------------------------------ On 2010-12-28T22:04:20+00:00 Walterebbers wrote: The current version of the Eclipse EE ide also hase problems with the Menu bug. Only when you log out, and login with the normal Desktop shell the menu appears but its gone when you login with the netbook shell. Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/16 ------------------------------------------------------------------------ On 2011-01-03T10:56:21+00:00 Luis Fernando Planella Gonzalez wrote: Please, make sure that eclipse renders the menu correctly on Ubuntu's AppMenu (the global menu), as more and more software development companies and individuals rely on Ubuntu to develop using Eclipse, and it will be a huge impact from April, where Ubuntu's stable version will not render Eclipse's menus... There is a workaround reported in https://bugs.launchpad.net/appmenu-gtk/+bug/613119/comments/8 but this is not a real solution. Thanks. Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/17 ------------------------------------------------------------------------ On 2011-01-05T08:54:12+00:00 Albert-pikus wrote: Issuing export UBUNTU_MENUPROXY=0 command before running Eclipse makes menus appear inside the application window, while global menu still hosts just a "File" menu with single "Close" item. Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/18 ------------------------------------------------------------------------ On 2011-01-05T19:51:41+00:00 Gheorghe-ca wrote: Took a look at this today with the guys who are implementing the application menubar for Unity, and at first glance, it doesn't seem to be a problem on our end. (i.e. the code that we are using to create menus in SWT should work). Will update when I have more info. Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/19 ------------------------------------------------------------------------ On 2011-01-20T20:14:46+00:00 Michael Terry wrote: I was looking into this a bit today. It appears that the appmenu gtk module never hears the "realize" event from SWT widgets. Does that sound expected? It looks like gtk_realize is a bit of a stub in Widget.java, but not sure if that's normal. Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/20 ------------------------------------------------------------------------ On 2011-02-05T20:59:38+00:00 Daniel-lo8mzs0d wrote: (In reply to comment #8) > I was looking into this a bit today. It appears that the appmenu gtk module > never hears the "realize" event from SWT widgets. Does that sound expected? > It looks like gtk_realize is a bit of a stub in Widget.java, but not sure if > that's normal. Also, you cannot right-click and pin the Eclipse icon to the sidebar. Is this related? Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/24 ------------------------------------------------------------------------ On 2011-02-13T22:26:45+00:00 Marco Biscaro wrote: (In reply to comment #8) > I was looking into this a bit today. It appears that the appmenu gtk module > never hears the "realize" event from SWT widgets. Does that sound expected? > It looks like gtk_realize is a bit of a stub in Widget.java, but not sure if > that's normal. Other SWT based applications are now fixed (like TuxGuitar), but Eclipse is not. It looks like that Eclipse is doing something wrong... For more information, see: https://bugs.launchpad.net/ubuntu/+source/libdbusmenu/+bug/618587/comments/16 Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/27 ------------------------------------------------------------------------ On 2011-02-28T17:45:14+00:00 Luis Fernando Planella Gonzalez wrote: Sorry for insisting on this issue. I know I'm not helping with code (nor I could, as I know nothing on GTK), and I don't want to be a boring guy but I really think that it would be too bad for both Ubuntu and Eclipse (2 technologies I love) if this issue is not sorted out when Natty launches. Also, Eclipse 3.6 didn't made into Natty's repository (I think it will continue with 3.5 for this cycle). The packaged version includes an environment variable on the launcher to disable the global menu, which at least makes Eclipse usable. However, anyone needing a newer version of eclipse will download, and, when running, will see no menu at all. So, if possible, please, backport the fix to eclipse 3.6. Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/28 ------------------------------------------------------------------------ On 2011-03-01T18:02:54+00:00 Michael Terry wrote: No worries on the environment variable issue. As of now, appmenu-gtk blacklists Eclipse. This has two benefits: (1) apps launched by eclipse aren't blacklisted and (2) no matter where the user gets Eclipse from, it will not have broken menus. Still, it would be nice to fix. Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/29 ------------------------------------------------------------------------ On 2011-04-25T09:57:54+00:00 galuszkak wrote: It seems that bug still appears in Ubuntu Natty. I just upgrade Ubuntu some hours ago... and this bug is very annoying. One think that I have to notice that I have only menu "Window" but others, doesn't appear. Is someone trying to fix this? With regards Kamil GaĆuszka Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/40 ------------------------------------------------------------------------ On 2011-04-30T08:38:48+00:00 P-beauvoir wrote: This is a problem for RCP apps based on Eclipse. I tried our RCP application on Ubuntu 11.04 with Eclipse 3.6.2 and 3.7 M7 (http://archi.cetis.ac.uk/). No main menus available in Unity mode. Also tried some other RCP apps - XMind, RSSOwl. Same thing. Only thing I could do was provide a shell script to launch the app: #!/bin/bash export UBUNTU_MENUPROXY=0 ./App_Name Is this a fault of Eclipse or of Ubuntu? Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/45 ------------------------------------------------------------------------ On 2011-05-02T14:14:30+00:00 Gheorghe-ca wrote: It seems that the initial realize problem was fixed (where Unity was listening for gtk_realize to get the menu items). If Eclipse is still having problems with menus, it could be because Eclipse creates some menus dynamically when they are needed. (If this is the case, we still believe it's a problem in Unity - some applications need dynamic menus). We'll get the latest Ubuntu and investigate. Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/46 ------------------------------------------------------------------------ On 2011-05-03T21:48:01+00:00 Gheorghe-ca wrote: Unity's appmenu code listens for the map event to read in all of the menu items to add to the top menu bar. Applications that have dynamic menus are not supported. This support could be added by Unity by listening for the add/remove signal on the menu bar and rebuilding the top bar whenever the listeners get called. Eclipse itself runs under Ubuntu 11.04 with the menus intact in its shell. This works because an exception has been made in the appmenu code for Eclipse. An RCP app will have its menus added to the top menu bar, but any adding/removing of menu items by the app will fail. Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/47 ------------------------------------------------------------------------ On 2011-05-03T21:53:34+00:00 Gheorghe-ca wrote: Created attachment 194654 Sample snippet Here is a sample snippet that shows dynamic menus failing. When you run the snippet, you will get a shell with a button in it. The top menu bar will have File and Edit menus visible. If you press the button, a new menu item gets added to the the menu bar, but the top bar does not get updated. If you uncomment the "OS.g_set_prgname(buffer);" line, it will force the menu bars to appear in the shell. Clicking on the button, you will see that the menu item gets added to the bar. Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/48 ------------------------------------------------------------------------ On 2011-05-03T22:13:53+00:00 Lunarspace wrote: I experience the same problem in Kubuntu 11.04 (KDE 4.6.2). There is a Window Menubar Widget which adds the same Mac-OS-like menu style as in Unity. It most likely has the same root, but I'm not sure. Here is are some details on the widget http://agateau.wordpress.com/2010/05/10/getting-menus-out-of-application-windows/ Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/49 ------------------------------------------------------------------------ On 2011-05-13T14:06:05+00:00 P-beauvoir wrote: (In reply to comment #16) >...An RCP app will have its menus added to the top menu bar, but any >adding/removing of menu items by the app will fail. Not so with our RCP application. We create our menu items in an ActionBarAdvisor class. Is this deemed to be "adding/removing of menu items by the app"? Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/51 ------------------------------------------------------------------------ On 2011-05-18T18:30:50+00:00 Michael Terry wrote: RCP apps will have their menus fixed in Ubuntu by a patch I've made to libdbusmenu [1]. This will hopefully get backported to Ubuntu 11.04. However! There is one issue with global menu support that I just can't seem to fix from outside of RCP itself. The issue is keyboard shortcut labels on menu items. Right now, it's a bit hit or miss whether they show up. RCP has two MenuItem accelerator-related methods. It can call setAccelerator on the menu item which installs the key codes themselves and tells GTK+ about it. This we can detect and show correctly. The other method is to just set the text itself on the menu item and RCP seems to handle the key press itself elsewhere. So all GTK+ knows about is that there is (possibly translated) text representing the shortcut in the label. Is there a way to get RCP to also use setAccelerator whenever it sets shortcut labels? That would ensure that menu items work correctly. [1] https://code.launchpad.net/~mterry/dbusmenu/eclipse-rcp Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/52 ------------------------------------------------------------------------ On 2011-05-18T19:22:19+00:00 Pwebster-ca wrote: (In reply to comment #20) > Is there a way to get RCP to also use setAccelerator whenever it sets shortcut > labels? That would ensure that menu items work correctly. RCP and Eclipse SDK use a KeyDown filter to process key shortcuts. We have multi-keystroke shortcuts and shortcuts for behaviour not in the menus directly. But even for some more standard accelerators (CTRL+Y or ALT+/) the system has to dispatch to a handler based on a number of factors, including which part is active, what's the selection, etc. Using setAccelerator(*) would fire the Selection for that MenuItem, producing the wrong executing in about half of the Eclipse SDK cases. PW Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/53 ------------------------------------------------------------------------ On 2011-08-06T17:26:20+00:00 Goodguytoday wrote: workaround solves the menu doesn't appear part, but does not solve the menu doesn't appear in Ubuntu Unity's global menu part. Please get global menu working so that I can save some screen real-estate in my tiny netbook, thanks! Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/56 ------------------------------------------------------------------------ On 2012-01-12T05:40:09+00:00 Hceylan wrote: I have noticed the following: When I run normal Eclipse on 12.04 Alpha, menu appears as traditional. When I run an Eclipse org.eclipse.platform.ide *product* menu appears as traditiona. But if I run org.eclipse.ui.ide.application *application* then menu behaves in line with Unity Desktop - appearing at top bar. I think that makes a difference. Regards, Hasan Ceylan Reply at: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/comments/75 ** Changed in: eclipse Status: Unknown => Confirmed ** Changed in: eclipse Importance: Unknown => Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/618587 Title: eclipse does not work with appmenu To manage notifications about this bug go to: https://bugs.launchpad.net/appmenu-gtk/+bug/618587/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs