You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Andreas Neumann <ne...@karto.baug.ethz.ch> on 2006/10/11 18:09:52 UTC

cursor "move" doesn't work in MacOSX

Hello,

I wanted to discuss this bug on the Mac for a long time, but always 
postponed. As far as I remember, this bug is existing on the Mac for a 
long time. Sorry for not reporting it earlier.

It seems like cursor="move" does not work on the current MacOSX 10.4 
system. It just displays the default cursor, with the only difference 
that the cursor is white and not black, but neither a "pan" hand nor a 
"pan" arrow, as it should display.

this can be easily tested with the file 
samples/tests/spec/interactivity/cursor.svg in the Batik distribution.

I hope you have access to a Mac with a recent version of MacOSX.

I don't know whats the problem here: maybe Apple some time ago renamed 
the cursors? Or a bug in the JVM on Mac?

I reported it as bug http://issues.apache.org/bugzilla/show_bug.cgi?id=40727

Thanks for having a look at this,
Andreas

-- 
----------------------------------------------
Andreas Neumann
Institute of Cartography
ETH Zurich
Wolfgang-Paulistrasse 15
CH-8093  Zurich, Switzerland

Phone: ++41-44-633 3031, Fax: ++41-44-633 1153
e-mail: neumann@karto.baug.ethz.ch
www: http://www.carto.net/neumann/
SVG.Open: http://www.svgopen.org/
Carto.net: http://www.carto.net/


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: cursor "move" doesn't work in MacOSX

Posted by Andreas Neumann <ne...@karto.baug.ethz.ch>.
Thanks for the info, Thomas,

So this is actually a bug in the Mac JVM and I should file a bug there.

In that case we can close the bug in Batik's bugzilla.

Thanks,
Andreas


thomas.deweese@kodak.com wrote:

>Hi Andreas,
>
>Andreas Neumann <ne...@karto.baug.ethz.ch> wrote on 10/11/2006 12:09:52 
>PM:
>
>  
>
>>It seems like cursor="move" does not work on the current MacOSX 10.4 
>>system. It just displays the default cursor, with the only difference 
>>that the cursor is white and not black, but neither a "pan" hand nor a 
>>"pan" arrow, as it should display.
>>    
>>
>
>   This is a problem with the Mac JVM.  For the 'default' SVG 
>cursors we simply use the Java built in Cursor class:
>        
>http://java.sun.com/j2se/1.3/docs/api/java/awt/Cursor.html#MOVE_CURSOR
>
>   It is up to the JVM to map this to an appropriate cursor for the
>underlying platform.  It appears that Apple felt the 'white' arrow
>was the most appropriate 'move' cursor for the Aqua look and feel.
>
>   If you are not satisfied with this you can of course provide your
>own custom cursor with Batik.
>
>  
>
>>this can be easily tested with the file 
>>samples/tests/spec/interactivity/cursor.svg in the Batik distribution.
>>
>>I hope you have access to a Mac with a recent version of MacOSX.
>>
>>I don't know whats the problem here: maybe Apple some time ago renamed 
>>the cursors? Or a bug in the JVM on Mac?
>>
>>I reported it as bug 
>>    
>>
>http://issues.apache.org/bugzilla/show_bug.cgi?id=40727
>  
>
>>Thanks for having a look at this,
>>Andreas
>>
>>-- 
>>----------------------------------------------
>>Andreas Neumann
>>Institute of Cartography
>>ETH Zurich
>>Wolfgang-Paulistrasse 15
>>CH-8093  Zurich, Switzerland
>>
>>Phone: ++41-44-633 3031, Fax: ++41-44-633 1153
>>e-mail: neumann@karto.baug.ethz.ch
>>www: http://www.carto.net/neumann/
>>SVG.Open: http://www.svgopen.org/
>>Carto.net: http://www.carto.net/
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
>>For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
>For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>
>  
>


-- 
----------------------------------------------
Andreas Neumann
Institute of Cartography
ETH Zurich
Wolfgang-Paulistrasse 15
CH-8093  Zurich, Switzerland

Phone: ++41-44-633 3031, Fax: ++41-44-633 1153
e-mail: neumann@karto.baug.ethz.ch
www: http://www.carto.net/neumann/
SVG.Open: http://www.svgopen.org/
Carto.net: http://www.carto.net/


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: cursor "move" doesn't work in MacOSX

Posted by th...@kodak.com.
Hi Andreas,

Andreas Neumann <ne...@karto.baug.ethz.ch> wrote on 10/11/2006 12:09:52 
PM:

> It seems like cursor="move" does not work on the current MacOSX 10.4 
> system. It just displays the default cursor, with the only difference 
> that the cursor is white and not black, but neither a "pan" hand nor a 
> "pan" arrow, as it should display.

   This is a problem with the Mac JVM.  For the 'default' SVG 
cursors we simply use the Java built in Cursor class:
        
http://java.sun.com/j2se/1.3/docs/api/java/awt/Cursor.html#MOVE_CURSOR

   It is up to the JVM to map this to an appropriate cursor for the
underlying platform.  It appears that Apple felt the 'white' arrow
was the most appropriate 'move' cursor for the Aqua look and feel.

   If you are not satisfied with this you can of course provide your
own custom cursor with Batik.

> this can be easily tested with the file 
> samples/tests/spec/interactivity/cursor.svg in the Batik distribution.
> 
> I hope you have access to a Mac with a recent version of MacOSX.
> 
> I don't know whats the problem here: maybe Apple some time ago renamed 
> the cursors? Or a bug in the JVM on Mac?
> 
> I reported it as bug 
http://issues.apache.org/bugzilla/show_bug.cgi?id=40727
> 
> Thanks for having a look at this,
> Andreas
> 
> -- 
> ----------------------------------------------
> Andreas Neumann
> Institute of Cartography
> ETH Zurich
> Wolfgang-Paulistrasse 15
> CH-8093  Zurich, Switzerland
> 
> Phone: ++41-44-633 3031, Fax: ++41-44-633 1153
> e-mail: neumann@karto.baug.ethz.ch
> www: http://www.carto.net/neumann/
> SVG.Open: http://www.svgopen.org/
> Carto.net: http://www.carto.net/
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org