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

focus is not temporarily lost on a component when scrollbar is clicked

XMLWordPrintable

    • generic, x86
    • solaris_2.5, windows_nt

      As per the focus spec, a component is supposed to lose it's focus temporarily when
      1.a scrollbar is clicked or dragged,
      2.menu is clicked
      3.the window is moved by dragging the titlebar.

      But in solaris the component doesn't lose it's focus when the scrollbar is clicked or dragged.In the attached file, 'ClickScrollbarTest', a list is added with a scrollbar. When the user clicks on the scrollbar of the list the component, suppose you have focus on textfield, the textfield should lose it's focus and gain it back when the scrollbar is released.In solaris, the component loses it's focus and gains it back if a Menu is cliked or window is moved.

      In windows, all the three conditions are failing, run the files ClickMenuTest, MoveWindowTest and ClickScrollbarTest in windows to see that the component is not losing it's focus temporarily in all the three cases.

            ant Anton Tarasov (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: