Closed Bug 28670 Opened 25 years ago Closed 25 years ago

No scrollbars after leaving frameset page

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: alecf, Assigned: pollmann)

References

()

Details

(Whiteboard: [PDT+] 2/28 Must fix by 03/10 (Need approval))

Go to http://devedge.netscape.com/ Click on the "Documentation" link in the left column. (Also works with many of the other toplevel pages) Notice that there are no scrollbars in the content that appears, so you can't get to anything below the bottom of the window. This is on Linux, don't know about windows.
nominate for beta1, add URL
Putting on PDT+ radar for beta1.
Whiteboard: [PDT+]
reproduced in today's NS verification build on Win98
OS: Linux → All
Whiteboard: [PDT+] → [PDT+]UNKNOWN- on vacation
Must fix by 03/10.
Whiteboard: [PDT+]UNKNOWN- on vacation → [PDT+]Must fix by 03/10.
This occurs reproducibly on tons of other frames-based pages, especially news.com. Or, see this week's www.theonion.com, and click on the "Senate Candidate Drops Out Of Race Due To Shyness" link.
<Generalized subject to reflect broader significance of bug.>
Summary: No scrollbars on sub-pages of http://devedge.netscape.com → No scrollbars on many frames-based pages, PgUp/PgDown does nada
This began happening just after Eric P's change to nsHTMLContentSink on the 19th. I believe its the modifications to the scrolling behavior.
Assignee: evaughan → pollmann
[added to M14 release notes scratchpad.]
The scrollbars problem is when going from a frameset page to a non-frameset page. Page Up/Dn not working is a separate, unrelated bug. Updating Summary.
Status: NEW → ASSIGNED
Summary: No scrollbars on many frames-based pages, PgUp/PgDown does nada → No missing scrollbars after leaving frameset page
Whiteboard: [PDT+]Must fix by 03/10. → [PDT+] 2/25
Fixing typo. :)
Component: Layout → HTMLFrames
Hardware: PC → All
Summary: No missing scrollbars after leaving frameset page → No scrollbars after leaving frameset page
The problem is that nsWebShell::InitFrameData is not called on every page view as I thought it was when I came up with the fix for bug 14827. It seems I will have to go with the alternate fix I came up with: Split InitFrameData into two methods (it really is) 1) InitFrameData() a private method that initializes scrolling and margins 2) ResetScrolling() a public method that resets scrolling state to the default In places where InitFrameData(PR_FALSE) is called, these calls will be replaced with ResetScrolling(). A call to ResetScrolling() will be added to HTMLContentSink::StartLayout() for non-frameset documents. I have these changes in my tree ready for testing, will update status when done.
Where are you making these changes? Please come talk to me before making any additions to nsIWebShell.
After talking with Travis, I will be using a different fix: Get/SetScrollbarProperties on nsIScrollable interface of nsDocShell I will be implementing these methods and replacing all current usage of Get/SetScrolling on nsIWebShell with these. I will probably also need to implement ResetScrollbarProperties on nsIScrollable until nsScrollPortFrame implements handle SetScrollProp. This will be well documented in my change with XXX's.
This fix is mostly done as of now, but I am currently having a problem with XUL documents getting extra scrollbars in edge cases that I'm tracking down.
(Restoring status whiteboard comment, oops! :) Also, as an update on the new fix, I expect to have this fix in hand today but I will not be able to check in until thoroughly tested, reviewed, and approved. Estimating 2/28.
Whiteboard: [PDT+] 2/25 → [PDT+] 2/28 Must fix by 03/10
I have a reviewed fix in hand, need approval.
Whiteboard: [PDT+] 2/28 Must fix by 03/10 → [PDT+] 2/28 Must fix by 03/10 (Need approval)
*** Bug 29471 has been marked as a duplicate of this bug. ***
Fix checked in! To verify: 1) Go to developer.netscape.com Click on a link in the left column. The page you see should have scrollbars so that you can see the bottom portion 2) Go to news.com Click on a link anywhere in the page. The page you see should have scrollbars so that you can scroll down and see the bottom.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Marking verified fixed in the March 09 (2000030914).
Status: RESOLVED → VERIFIED
mid-air collision ? / bugzilla cleanup Reopening (current State: verfied and no resolution)
Status: VERIFIED → REOPENED
Keywords: beta1nsbeta1
fixed
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
verfied
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.