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

TextArea pointer remains as Input style cursor when above scrollbars.

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1.6
    • CPU:
      generic, other, sparc
    • OS:
      other, solaris_2.4, solaris_2.5, solaris_2.5.1, solaris_2.6, solaris_9
    • Verification:
      Verified

      Backports

        Description


        stephen.fitch@UK 1997-06-20

        Problem
        -------

        This code exhibits the fact that the graphical input pointer
        is not changed when the pointer is moved above the scrollbars.

        Code Example
        ------------

        The following .gui file can be used to exhibit the problem:

        GUI DESCRIPTION VERSION 7.0
        Encoding=8859_1
        Root root1 {
          java.awt.Dimension appletSize width=244;height=282
          java.lang.String groupType Frame
          java.lang.String generateClass scrollBars
          child list {
            java.awt.FrameShadow frame1 {
              java.lang.String title scrollBars
              java.awt.Dimension layoutSize width=422;height=380
              java.awt.Point layoutLocation x=202;y=313
              child list {
                GBPanelShadow gbpanel1 {
                  [I rowHeights 14
                  GBC GBConstraints x=0;y=0;fill=both
                  [I columnWidths 14
                  [D rowWeights 0.0
                  [D columnWeights 0.0
                  child list {
                    java.awt.TextAreaShadow textarea1 {
                      GBC GBConstraints x=0;y=0;fill=both;ipadx=64;ipady=38
                      java.lang.String text "Move the input
        cursor over the
        scrollbar to the
        right here and
        it remains an
        intput cursor
        NOT a pointer.
        -------->>>>>>>>>>
        In fact the scroll
        bar below shows
        the same effect. |
                         V"
                      java.awt.Color foreground #cd0000
                      java.awt.Font font name=Monospaced;style=plain;size=12
                    }
                  }
                }
              }
            }
          }
        }


        To Reproduce
        ------------

        Use Java Workshop 2.0 build 114.

        Solaris 2.5.1 or Solaris 2.6 build 31

        Import the .gui from above.

        Generate the application:

        - Move the mouse cursor above the scroll-bars.

        The input cursor does NOT change when it is above the scrollbars
        of the application.

        I believe the cursor remains as an X11/XC_xterm cursor

        Expectations
        ------------

        Cursor needs to change from an input (XC_xterm) style cursor to a
        pointer style cursor when above the scrollbar of the TextArea widgit.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  xdengsunw Xianfa Deng (Inactive)
                  Reporter:
                  duke J. Duke (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: