Closed Bug 134782 Opened 23 years ago Closed 23 years ago

(classic osx) Scrollbar has wrong value when choosing back or forward

Categories

(Core :: XUL, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: pgauriar, Assigned: mikepinkerton)

References

Details

(Keywords: regression, topembed+, Whiteboard: [ADT2])

Attachments

(3 files, 1 obsolete file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:0.9.9+) Gecko/20020401 BuildID: 2002040108 When using the Classic theme, if either of the scrollbars has moved from the most left and top of a webpage (we'll call it page A), and the user clicks a link and hits back to go back to page A, the site is scrolled to the same place as it was before. However, the scrollbars are drawn as though the page was scrolled at the very upper-left. Reproducible: Always Steps to Reproduce: 1. Visit a site (mozilla.org for example). 2. Scroll all the way to the bottom. 3. Go to another site in the same window/tab. 4. Hit the back button. Actual Results: The page is scrolled at the bottom, but the scroll bar is at the top of the track. Expected Results: The scrollbar should be at the bottom of the track. I'm going to attach an image for you all to see what I'm talking about. It's kind of hard to describe, but very easy to see. Also, this could have to do with pinkerton's fix for bug 121440, but I'm not sure.
This is a screenshot of Mozilla.org scrolled to the bottom. As you can see, the vertical scrollbar is at the top. This only happened once I clicked the back button to get back to this page.
Attached image Same image, PNG format
works on win2k -> pinkerton
Assignee: hyatt → pinkerton
Status: UNCONFIRMED → NEW
Ever confirmed: true
curious, i wonder why.
Status: NEW → ASSIGNED
Whiteboard: [ADT2]
Target Milestone: --- → mozilla1.0
this fixes it.
looking for r/sr.
Comment on attachment 77226 [details] [diff] [review] pick up curpos attribute at scrollbar creation r=ccarlen
Attachment #77226 - Flags: review+
Comment on attachment 77226 [details] [diff] [review] pick up curpos attribute at scrollbar creation sr=blake
Attachment #77226 - Flags: superreview+
Keywords: adt1.0.0
Summary: Mozilla draws scrollbars wrong in Classic theme when choosing back or forward → (classic osx) Scrollbar has wrong value when choosing back or forward
Comment on attachment 77226 [details] [diff] [review] pick up curpos attribute at scrollbar creation a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #77226 - Flags: approval+
ok, this patch works all the time. i now understand what's going on.
Attachment #77226 - Attachment is obsolete: true
Comment on attachment 77459 [details] [diff] [review] a better patch that works in all cases It's a little scary that the value can exceed the max, but assuming that something cleans up the values in the end, r=ccarlen
Attachment #77459 - Flags: review+
Comment on attachment 77459 [details] [diff] [review] a better patch that works in all cases sr=brendan@mozilla.org -- do you want to file a bug and cite its link instead of ending that comment with the funky-looking "(bug )", which looks like it is waiting for a number to be inserted? /be
Attachment #77459 - Flags: superreview+
adt1.0.0+ (on ADT's behalf) for approval for checkin.
Keywords: adt1.0.0adt1.0.0+
Comment on attachment 77459 [details] [diff] [review] a better patch that works in all cases a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #77459 - Flags: approval+
landed
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
*** Bug 135739 has been marked as a duplicate of this bug. ***
*** Bug 135741 has been marked as a duplicate of this bug. ***
This works now for me. shrirang <shrirang@netscape.com> asked me to mark this verified, so here you go.
Status: RESOLVED → VERIFIED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: