bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug awt/26527] Toolkit.createCustomCursor needs to be implemented


From: hendrich at informatik dot uni-hamburg dot de
Subject: [Bug awt/26527] Toolkit.createCustomCursor needs to be implemented
Date: 28 Mar 2006 08:01:54 -0000


------- Comment #6 from hendrich at informatik dot uni-hamburg dot de  
2006-03-28 08:01 -------
Hello Mark, thanks for fixing the bug so quickly. I confirm that setting 
a custom cursor works for me; tested with classpath cvs 2006.03.28 and 
jamvm on Linux/x86.

However, one minor issue remains. My imageviewer application uses a custom
transparent cursor of size 1x1 to effectively hide the cursor, but the
call to setCursor( hiddenCursor ) seems to trigger no repaint. As a result, 
the invisible 1x1 cursor only replaces the default cursor when I enforce
an extra repaint.

I suspect that setCursor() either doesn't trigger a repaint() at all, 
or that the repaint() does not use the union of the previous and current 
cursor bounding boxes. It needs to trigger a repaint() on the target
component, with the union of the old and new cursor bounding boxes
aligned to the cursor hot spots...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26527





reply via email to

[Prev in Thread] Current Thread [Next in Thread]