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

new Choice widget behaves differently on Motif 2.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_8

      Description

      The fix for bug 4288285 changed the native widget used for Choice components on Motif2.1 platforms. While the choice now has a scrollbar for when many items are added to the Choice, there are a couple ways in which this new widget behaves, compared to previous versions of Java, and compared to Windows platforms:

      1) On Windows, and on previous version of AWT, clicking ANYWHERE on the Choice component would pop it down. With the new widget, the Choice is only popped down if the user clicks on the small icon on the right hand side of the Choice.

      2) The text in the Choice is now selectable, whereas it never has been before, on Windows or Motif. Choice is not meant to have selectable text, and has none of the methods for dealing with text selections that TextComponents do.

      This is reproducible using the test/java/awt/Choice/ChoiceBigTest regression test.

      To maintain behavior across platforms and with previous releases, the Choice widget needs to pop down when the user clicks anywhere on the widget, and the text needs to be non-selectable.

      brent.christian@eng 2001-05-09

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ssisunw Ssi Ssi (Inactive)
              Reporter:
              bchristi Brent Christian
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: