bug-classpath
[Top][All Lists]
Advanced

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

[Bug swing/29500] New: setCursor modifies wrong JComponent


From: hendrich at informatik dot uni-hamburg dot de
Subject: [Bug swing/29500] New: setCursor modifies wrong JComponent
Date: 18 Oct 2006 15:28:57 -0000

My image viewer [1] uses a background thread to "hide" the cursor on the
main image canvas after some seconds of inactivity. This is done by a 
call to setCursor() with a custom transparent cursor.

Testing with classpath cvs 2006.08.18 shows that hiding the cursor and
restoring the original cursor basically works. However, the call to
ImageCanvas.setCursor() also changes (hides) the cursor of different 
parts of the GUI, namely the navigation tree and thumbnails preview panels,
and even the main menus.

A mouse-exit event on a component seems to reset the cursor in most cases.
However, entering the main image canvas re-enables the MouseHideManager,
and the cursor gets hidden again on whatever component it is positioned on.
Might be a problem with JSplitPane, JComponent, or even Component (AWT),
but I don't have a small testcase yet.

[1] http://tams-www.informatik.uni-hamburg.de/people/alumni/hendrich/niffler/


-- 
           Summary: setCursor modifies wrong JComponent
           Product: classpath
           Version: 0.93
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: swing
        AssignedTo: roman at kennke dot org
        ReportedBy: hendrich at informatik dot uni-hamburg dot de


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





reply via email to

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