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

scrollbar lineIncrement not set in peer create

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.6
    • client-libs
    • sparc
    • solaris_2.5.1



      Name: mf23781 Date: 09/28/98


      The following line is missing a line in awt_Scrollbar.c.

      This line:
      XtSetArg(args[argc], XmNincrement,
      (int)unhand(target)->lineIncrement); argc++;

      should be in sun_awt_motif_MScrollbarPeer_create among the
      list after: if ((int)unhand(target)->visibleAmount > 0) {

      Without the said line, the lineIncrement (and thus the unit inc)
      for a scrollbar is not set if the peer is has not already
      been created when setUnitIncrement is called.

      ======================================================================

            xdengsunw Xianfa Deng (Inactive)
            miflemi Mick Fleming
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: