Coarr, Matt | 8 Aug 2012 14:43
Picon
Favicon

problem with cvd on java7 on mac on 2nd display

I have a problem to report.  I'm running the CVD from eclipse (via run configuration).  I'm using  a mac running
Lion.  I have both jdk 6 and 7 installed.

I'm using the CVD run configuration for the uima examples project.  When I have the project using JDK 6,
everything works normally.

However, when I change the project configuration to use JDK 7, I run into problems.  Particularly when the
CVD window is located on my secondary display.  The two issues that I have noticed so far:

  1.  I can click on the menus and the menu name is highlighted, but the menu does not drop down (so I don't see the
menu contents).
  2.  When I go to "Load AE" dialog (via control-L), I am unable to click the drop down control.  This prevents my
from going to any directories above my home directory.  The control is active, but it does not drop down.

If I move the CVD window to my primary display, both these problems go away.

Here's my specific java version information (I just installed the latest jdk a couple days ago after
rebuilding my machine):

java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)

Matt
Florian Leitner | 9 Aug 2012 12:31
Picon
Favicon

Re: problem with cvd on java7 on mac on 2nd display

Hi Matt,

Not sure if your issue is related to this bug, but Eclipse has a problem on OSX when running on two displays *if
the displays are stacked*. Specifically, this relates to problems with pop-ups such as API help on
mouse-overs. That is, if the second display is configured as being above or below the main display, you get
problems if working in Eclipse on the secondary display (including some persons that have reported
crashes of Eclipse in this "configuration").

These problems have been reported to go away once you align the two displays in your System Settings
side-by-side and exactly on the top edge (i.e., put the second display to the right or left and have the top
edges of the two displays at the same height). Maybe you want to check if aligning the second display that
way helps you. If it does, the problem is most likely related to using a multi-monitor setup of Eclipse on OSX...

Cheers,
Florian

On 8 Aug 2012, at 14:43, Coarr, Matt wrote:

> I have a problem to report.  I'm running the CVD from eclipse (via run configuration).  I'm using  a mac
running Lion.  I have both jdk 6 and 7 installed.
> 
> I'm using the CVD run configuration for the uima examples project.  When I have the project using JDK 6,
everything works normally.
> 
> However, when I change the project configuration to use JDK 7, I run into problems.  Particularly when the
CVD window is located on my secondary display.  The two issues that I have noticed so far:
> 
>  1.  I can click on the menus and the menu name is highlighted, but the menu does not drop down (so I don't see the
menu contents).
>  2.  When I go to "Load AE" dialog (via control-L), I am unable to click the drop down control.  This prevents my
(Continue reading)

Coarr, Matt | 10 Aug 2012 17:47
Picon
Favicon

Re: problem with cvd on java7 on mac on 2nd display

Thanks Florian.  Interesting details!

In fact, my displays already were side-by-side with the top edge aligned.

So, new detail (I didn't test this before): this happens running cvd.sh
from the command-line -- e.g. no eclipse.

Also, when I startup cvd from the command-line, I get the following
message (just after cvd starts, before I even try to open any menu):

  CGContextGetCTM: invalid context 0x0
  CGContextSetBaseCTM: invalid context 0x0
  CGContextGetCTM: invalid context 0x0
  CGContextSetBaseCTM: invalid context 0x0

And no additional messages after trying to activate the menu.

Matt


Gmane