Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4214080

Cursor setting still not works properly

XMLWordPrintable

    • kestrel
    • x86, sparc
    • solaris_2.6, windows_98, windows_nt



      Name: dbT83986 Date: 02/23/99


      The bug fix for my bug report
      (37 votes in JDC Bug Parade)
      concerning cursor setting is
      not working properly.

      There are two symptoms:

      1. Moving the cursor/mouse over JComponents and
         entering one does not reliably switch to its
         cursor, especially when moving over small
         JComponents.
         Test case: Run the SwingSet demo from Swing 1.1
         with JDK 1.1.8ea and switch to the InternalFrame
         or SplitPane tab. Move the mouse over an
         InternalFrame's border or over the SplitPaneDivider.
         Entering changes the cursor to a resizing cursor;
         leaving and entering the next component should
         switch to the next component's cursor, but does
         not reliably.
         This is a bug (regression?), which did not exist
         in JDK 1.1.7!!!

      2. Showing an active glass pane and
         performing a mouse event retargeting
         during a mouse dragged event handling
         on a JComponent does NOT change the
         cursor to the glass pane's cursor,
         and also cursor changes must be called
         on the original dragging JComponent
         instead of the glass pane.

      (Changing the cursor in KeyEvent handling
      seems to work fine.)
      (Review ID: 54588)
      ======================================================================
      roger.brinkley@Central 1999-05-02

      This is a major regression that will cause JavaHelp V1.0 context-sensitive functionality to be unusable in JDK1.2.2. This is a regression and needs to be fixed before JDK1.2.2 ships.


      I've changed the priority only to force someone to take a look at this issue. Also this adversly affects swing. See bug 4229712 for more details.

      To demonstrate the problem run the idedemo and click on the ? button. It will never change back on JDK1.2.2
      Binky

            xdengsunw Xianfa Deng (Inactive)
            dblairsunw Dave Blair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: