Re: New pre-release: Unsigned gluegen_476-joal_269-jogl_623-jocl_529

Posted by Sven Gothel on
URL: https://forum.jogamp.org/New-pre-release-Unsigned-gluegen-476-joal-269-jogl-623-jocl-529-tp3658085p3662729.html

On Monday, January 16, 2012 10:23:20 AM gouessej [via jogamp] wrote:
>
> @Sven Ok it is less important than I thought, it is only broken on Mac OS X
> 10.6.8. If it is too difficult to fix, should we use a transparent cursor?

http://jogamp.org/git/?p=jogl.git;a=commit;h=f5c8cdad92687782184122fecc341258a6283d89

+++

NEWT/OSX Pointer Invisible Fix: 10.6.* responder declarations & test focus/isInside

On OS X 10.6.8 the lack of responder method declarations (mouseEntered, ..)
lead to ignore the impl. callbacks.

'isMouseInside' cannot rely on 'mouseExit'/'mouseEntered' when
setMouseInvisible() is being called, deduce it manually.

focusLost == mouseExit (OS X behavior), hence focusGained needs
to set mouse invisible/visible in case it's requested.

+++

The 10.6.8 part was 'funny' .. dunno why the OS version makes a difference here.

The other 2 changes fixes the 'invisible' behavior in general on OS X.

In short: Good bug report - this needed to get fixed - thx.

~Sven