JMenu does not show

Hello!

We have an application which uses Docking Frames (great job, by the way!). The problem is that running with Java 6 update 14, on Windows Vista WITH Aero enabled, a JMenu is most of the times invisible. I mean that the content of the window behind my application is shown. It looks like it is a back-buffer which is mixed up.

(All with Java 6 update 14)
-If I don’t use the Docking Frames the menu is OK.
-If I use the Docking Frames without Windows Aero, the menu is OK.
-If I use the Docking Frames with Aero, the menu is INCORRECT.

You may see more in the snapshot I provide. Is this a known bug? Is there a workaround? I used the preview of 1.0.8 and the same happens.

Thank you
George Vasiliou

Oops! The image did not show up!

It is in http://www.talent.gr/tmp/menuPopupError.jpg .

Hm, could have something todo with with the glass-panes (they already caused similar with AWT-components), I’ll try to reproduce this error on my computer…

This also happens with tooltips and other popup menus. Is there any progress?

Sorry, I did not yet have the time to work on this. Don’t expect anything before the weekend :wink:

I could not reproduce the bug, but when using 1.6.14 painting does definitely not behave as it should. I get strange artifacts all over the applications. Do you use any other special settings, e.g. mixing Swing and AWT?

Sorry for the late post!

Yes we use an Open-GL canvas which cannot be light-weight. It is an AWT component.

Beni, guys,

When can we expect a resolution in this issue? Do you need more information? Please ask whatever would be of any help.

George

Sorry, I forgot to reply. I try again during the weekend (can’t work on these things during the week). The hint with the open-gl canvas might help, is it from a public available library?

I downloaded JOGL to have an open-gl AWT canvas, but still can’t reproduce the error.

Could help to know which open-gl library you used.

Are you using Windows Vista with Aero enabled? This is where the problem is reproduced.

We are using jogl 1.1.1a.

Try showing popupmenus over the canvas (JPopupMenu, JMenu). Try with setLightweightPopupEnabled(false).

I hope this helps to reproduce the problem.

Ok, yes I use vista with aero. I’ll have to check the version of the library.

I installed Windows 7 in one of my PCs and there is no problem. But the problem persists, of course, in Windows Vista.

Yesterday I’ve run your settings but nothing happened. Maybe it is the driver of the graphics card? Ever tried an update?

I have a beta version which I can send you to try the bug.
http://automatix.talent.gr/~vasiliou/CruiserStandardSetup.exe
I have tested it in multiple computers, with ATi, NVidia or Intel graphics cards and the same happens on Vista with Aero enabled. Can you give it a try?

Try displaying the menus. The first time they appear. After that they will possibly show screen trash. In <installation_folder>\Talent\Cruiser\system\libraries\java\gr_talent_cruiser_system hird-party are the docking frames jars.

I’ll check it out on Sunday.

If I try to start the application the splash-screen appears, then it hangs. CPU time goes down to 0% and nothing more happens. I don’t see any error-log or other message? I waitet 5 minutes, but it did not recover.

I’m using Windows Vista, Java 1.6.0_14, ATI Radeon Mobile.

Too bad! From all the users that tested the beta version you are the only one to report this and the most remote and difficult to debug!

I know I am being a great pain to you, but could you please open the file launcher.properties in the installation folder with a text editor and add the line
console=true
?

A console window will open when you start and you can copy all the text and send it to me. It is better if we use private mail for this and post the results only in the topic. My email is my last name (vasiliou) followed (@) my company name (talent.gr).

Thank you very much!

Done, mail is on its way.