Bug 9935 - Scroll bars not redrawn when using back/forward cache
Summary: Scroll bars not redrawn when using back/forward cache
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, NeedsReduction, Regression
Depends on:
Blocks:
 
Reported: 2006-07-15 11:32 PDT by David Kilzer (:ddkilzer)
Modified: 2012-06-26 00:56 PDT (History)
6 users (show)

See Also:


Attachments
Example Quicktime movie using r18314 (809.84 KB, video/quicktime)
2006-12-19 19:49 PST, David Kilzer (:ddkilzer)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2006-07-15 11:32:20 PDT
Steps to reproduce:

1. Open Bug 9934http://bugzilla.opendarwin.org/show_bug.cgi?id=9934
2. Resize window to make sure it scrolls both horizontally and vertically.
3. Click the first attachment in the bug (currently named "Test case").
4. Click the browser Back button.

Expected results:

The horizontal and vertical scroll bars should be (re) drawn on the bug page.

Actual results:

Neither the horizontal nor the vertical scroll bars are drawn.

Regression:

In production Safari 2.0.4 (419.3) with WebKit 418.8 on Mac OS X 10.4.7 (8J135/PowerPC), only the vertical scroll bar is redrawn; the horizontal scroll bar is not.  (I also noticed that the vertical scroll bar isn't quite the correct length, since its height changed as soon as I started to scroll down with the mighty mouse scroll wheel.)

Notes:

Tested with locally-built WebKit r15456 with the Safari and Mac OS X versions above.
Comment 1 David Kilzer (:ddkilzer) 2006-07-15 11:33:02 PDT
Also note that I have the "Always show tab bar" preference enabled.

Comment 2 Alice Liu 2006-08-14 15:08:20 PDT
This is what i'm seeing: using back/forward cache, the horizontal scrollbar is consistently missing, but the vertical bar is there.  the horizontal scroll bar appears as soon as a repaint is needed, like when i scroll.  When not using b/f cache, both are drawn. 

BTW, this is not a regression, as I see this on 10.4.7 as well.  removing "regression" from title and bumping down. 

<rdar://problem/3736766>
Comment 3 Mark Rowe (bdash) 2006-12-18 20:15:06 PST
I cannot reproduce this with r18294.
Comment 4 Mark Rowe (bdash) 2006-12-19 12:59:47 PST
Closing as it appears to have been fixed.
Comment 5 David Kilzer (:ddkilzer) 2006-12-19 19:31:58 PST
Actually, I still see this with a locally built debug build of WebKit r18314 with Safari 2.0.4 (419.3) on Mac OS X 10.4.8 (8L127).  I only see it the very first time I open a new window by clicking on "Bug 9934", clicking the Test Case link, and then going back.  (My browser window is sized so that the horizontal and vertical scroll bars appear "naturally" when the bug is first opened.

Comment 6 David Kilzer (:ddkilzer) 2006-12-19 19:49:38 PST
Created attachment 11926 [details]
Example Quicktime movie using r18314
Comment 7 Elliott Sprehn 2012-06-26 00:56:52 PDT
The behavior in the video doesn't reproduce anymore.