Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Menu bar missing on OS X build
Menu bar missing on OS X build [message #1007156] Mon, 04 February 2013 16:03 Go to next message
Aqua Macboy is currently offline Aqua MacboyFriend
Messages: 16
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 3605 times)
  • Attachment: build.png
    (Size: 72.60KB, Downloaded 3508 times)
Re: Menu bar missing on OS X build [message #1007431 is a reply to message #1007156] Tue, 05 February 2013 20:20 Go to previous messageGo to next message
Stephan Leicht Vogt is currently offline Stephan Leicht VogtFriend
Messages: 104
Registered: July 2015
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 07:59 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
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 10:00 Go to previous messageGo to next message
Aqua Macboy is currently offline Aqua MacboyFriend
Messages: 16
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 14:59 Go to previous messageGo to next message
Patrick Baenziger is currently offline Patrick BaenzigerFriend
Messages: 96
Registered: September 2011
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 19:22 Go to previous messageGo to next message
Aqua Macboy is currently offline Aqua MacboyFriend
Messages: 16
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 3330 times)
  • Attachment: menu2.png
    (Size: 72.07KB, Downloaded 3363 times)
Re: Menu bar missing on OS X build [message #1011265 is a reply to message #1007156] Tue, 19 February 2013 07:46 Go to previous messageGo to next message
Aqua Macboy is currently offline Aqua MacboyFriend
Messages: 16
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 14:49 Go to previous messageGo to next message
Patrick Baenziger is currently offline Patrick BaenzigerFriend
Messages: 96
Registered: September 2011
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 14:50]

Report message to a moderator

Re: Menu bar missing on OS X build [message #1572841 is a reply to message #1012969] Mon, 19 January 2015 11:12 Go to previous message
Vinay H is currently offline Vinay HFriend
Messages: 3
Registered: January 2015
Junior Member
Hi Guys,

Was this issue resolved...?? If yes can anybody post the solution. I am facing a similar issue. Only difference is that for me the toolbar is disappearing instead of menu.

Thanks
Previous Topic:Tool bar missing on OS X build
Next Topic:Update the value of a field during its own execChangedValue() event.
Goto Forum:
  


Current Time: Thu Mar 28 19:46:59 GMT 2024

Powered by FUDForum. Page generated in 0.02375 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top