bug-classpath
[Top][All Lists]
Advanced

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

[Bug swing/24942] New: DefaultCaret is not always


From: mark at gcc dot gnu dot org
Subject: [Bug swing/24942] New: DefaultCaret is not always
Date: 19 Nov 2005 17:08:13 -0000

While testing the new swing.Timer implementation patch I saw that DefaultCaret
is not always stopping its blinkingTimer when it looses focus. This is mostly
harmless since the caret is hidden in that case anyway. But it makes the Timer
do much more work then needed. I didn't completely understand the interaction
between the focus events, the visibility of the caret and the textComponent
editiable and enabled properties so I haven't fixed this yet.

To help debug this problem we probably should add some debugging code to
swing.Timer to track the number of running tasks and where and when a
particular new Timer is started/stopped. A shutdown hook could then be added
that warns about any left over tasks.


-- 
           Summary: DefaultCaret is not always
                    DefaultCaret is not stopping its blinkingTimer when it
                    looses focus
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: swing
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mark at gcc dot gnu dot org


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





reply via email to

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