Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Menu bar missing on OS X build
Menu bar missing on OS X build [message #1007156] Mon, 04 February 2013 11:03 Go to next message
Aqua Macboy is currently offline Aqua Macboy
Messages: 10
Registered: February 2013
Junior Member
Hi, i have some menus that are ok when starting the client from inside Eclipse:

index.php/fa/13279/0/

But when I export the RCP app (using Eclipse Export Menu) the menues are gone:

index.php/fa/13280/0/

Thank you for any help.

My System:
Mac OS X Snow Leopard 10.8.2
Java 1.7_13 (Oracle)
Eclipse Scout Juno (3.8 ) with Eclipse Scout 3.8
  • Attachment: development.png
    (Size: 72.11KB, Downloaded 741 times)
  • Attachment: build.png
    (Size: 72.60KB, Downloaded 747 times)
Re: Menu bar missing on OS X build [message #1007431 is a reply to message #1007156] Tue, 05 February 2013 15:20 Go to previous messageGo to next message
Stephan Leicht Vogt is currently offline Stephan Leicht Vogt
Messages: 102
Registered: February 2010
Location: Baden Switzerland
Senior Member

Hi

I'm going to look into this after my vacation thursday in a week. If you happen to find out what the problem is please post your solution here.

Thanks and greetings
Stephan
Re: Menu bar missing on OS X build [message #1007494 is a reply to message #1007431] Wed, 06 February 2013 02:59 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie Bresson
Messages: 681
Registered: October 2011
Senior Member
I have tried on a different config and I am not able to reproduce this bug.

In both cases I got the menu:
index.php/fa/13306/0/

Mac OS X: 10.6
Java: 1.6
Scout version: 3.8.1
Eclipse: 4.2.1

Are you sure that your product files (swt <your app>-swt-client-dev.product and <your app>-swt-client.product) are similar?

Are you able to perform tests with an other configuration (I would try an other Eclipse Runtime (4.2) or an other Java version (1.6))?

Re: Menu bar missing on OS X build [message #1007516 is a reply to message #1007156] Wed, 06 February 2013 05:00 Go to previous messageGo to next message
Aqua Macboy is currently offline Aqua Macboy
Messages: 10
Registered: February 2013
Junior Member
Hi Jeremie, I am using the Eclipse Scout Swing client and not the SWT client.

On the Swing client, I am using Aqua Look and Feel.
It is the same with JRE 1.6.

Dan
Re: Menu bar missing on OS X build [message #1007576 is a reply to message #1007516] Wed, 06 February 2013 09:59 Go to previous messageGo to next message
Patrick Bänziger is currently offline Patrick Bänziger
Messages: 19
Registered: September 2011
Junior Member
Hello Dan

It may be unrelated to this matter, but with Swing applications I sometimes needed to specify an extra flag with the Apple Java 1.6 version to show the menu properly on my Mac.
Specifically, try adding
-Dcom.apple.macos.useScreenMenuBar=true
as an argument in the product file (of your swing client) under "Launching", "VM arguments".
Then go back to the "Overview" tab, click "Synchronize" and then launch the app.

Could you tell us if that does the trick?


Patrick

[1] Oracle resource with many nifty hints for the Apple Java Version (up to 1.6): http://www.oracle.com/technetwork/articles/javase/javatomac-140486.html
Re: Menu bar missing on OS X build [message #1007628 is a reply to message #1007576] Wed, 06 February 2013 14:22 Go to previous messageGo to next message
Aqua Macboy is currently offline Aqua Macboy
Messages: 10
Registered: February 2013
Junior Member
Hi Patrick, I am already using the parameter

-Dapple.laf.useScreenMenuBar=true
which is probably the same as yours, and recommended when using Aqua LAF on OS X with Swing.

My Test Results: no parameter or Dapple.laf.useScreenMenuBar=false
=> the menu appears as expected inside the Swing Frame.
=> but not all menu items are clickable, sometimes the "Extras" menu disappears

Menu inside Swing Frame:
index.php/fa/13320/0/

"Extras" Menu disappears:
index.php/fa/13321/0/
  • Attachment: menu1.png
    (Size: 75.37KB, Downloaded 657 times)
  • Attachment: menu2.png
    (Size: 72.07KB, Downloaded 644 times)
Re: Menu bar missing on OS X build [message #1011265 is a reply to message #1007156] Tue, 19 February 2013 02:46 Go to previous messageGo to next message
Aqua Macboy is currently offline Aqua Macboy
Messages: 10
Registered: February 2013
Junior Member
Hi Stephan, did you find out anything about it or could you at least reproduce the bug? Any help would be very appreciated, since the Aqua LAF is really important to us.

Kind regards
Dan
Re: Menu bar missing on OS X build [message #1012969 is a reply to message #1011265] Fri, 22 February 2013 09:49 Go to previous message
Patrick Bänziger is currently offline Patrick Bänziger
Messages: 19
Registered: September 2011
Junior Member
Hi everyone

I can reproduce the following:

* The menu bar does not properly in the exported product (swing)
* An empty menu (Tools for me) disappears in a certain case: If i click on "File", and try to move the selection with released cursor over to the 'Tools menu'. (Instead of the blue background of the 'hover/selected' state, the menu title disappears)

Tested with:
Mac OS X 10.7.5, Java 7 (oracle 1.7.0_13)
Eclipse Juno SR2 RC3 development build, Scout 3.8.2. (Downloaded as instructed in this thread.)

The exported ini-File seems to be properly exported and contains the useScreenMenuBar flag.

[Updated on: Fri, 22 February 2013 09:50]

Report message to a moderator

Previous Topic:How to integrate the LDAPSecurityFilter with a scout application
Next Topic:New scout plugin and settings
Goto Forum:
  


Current Time: Mon Sep 01 09:57:58 EDT 2014

Powered by FUDForum. Page generated in 0.03859 seconds