JDK-4028268 : jump scrolling skips parts of a page
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.1
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: solaris_2.5
  • CPU: sparc
  • Submitted: 1997-01-27
  • Updated: 2000-09-19
  • Resolved: 2000-09-19
Related Reports
Relates :  
Description
Jump scrolling does not work right.

To recreate:

    Find yourself a Sparc 5.  I can get it to reproduce fairly easily on
    Tom Corson's machine facula (SS5, OpenWindows Motif), and with more
    difficulty on Amy Pearl's (amos, an SS5, OpenWindows Motif).  We have not 
    managed to reproduce
    this bug on an Ultra -- it looks like some kind of race condition (?)


    Physically go to the slow machine.  We weren't able to reproduce
    it via rlogin to the Sparc 5.

    Run hotjava file:/usr/sqe/doc/hotjava1.0fcs_testplan.html

    Wait for the page to load completely, then scroll down a page at a
    time by clicking in the scrollbar area.  When you get to the
    bottom, start scrolling up in the same way.  It's OK to wait for
    the paint to complete with each page increment, although it
    seems to happen more frequently if you don't.

Once you've gone through about three cycles of scrolling to the bottom
then the top, you should definitely see the bug.  For one of your
scrolling requests, your should see it scroll down by a page, then
quite quickly scroll down another page.  Sometimes it will keep going
until it hits the bottom.

I checked HotJava, and we are not calling ScrollPane.scrollTo().

Comments
EVALUATION Sounds like it was an AWT bug, and a difficult-to-reproduce race condition. I checked, and we're not calling ScrollPane.scrollTo(). bill.foote@Eng 1997-02-13 --------- 6/3/2000 kevin.ryan@eng -- cannot reproduce under 1.1.8_003 or 1.3.0-C (see Comments). Unable to reproduce on Merlin 1.4 richard.ray@eng 2000-09-19
13-02-1997