Closed Bug 494301 Opened 12 years ago Closed 12 years ago
Scrollbar not resized on Pill button click
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1pre) Gecko/20090521 Shiretoko/3.5pre ID:20090521030957 So instead of resizing the vertical scrollbar when the pill (remove toolbar) button is clicked, it just gets shifted up (by what looks like the height of the toolbar). STR: 1. Navigate to page that requires scrolling. 2. Press Pill button to remove toolbar. Expected Behavior: 1. Scrollbar is resized. (confirmed with new profile; presumably applies to trunk, but didn't test)
This doesn't happen with Firefox 3, so it's a regression in the last year...
Isn't this a dupe of bug 451641 ?
(In reply to comment #2) > Isn't this a dupe of bug 451641 ? If bug 489891 is, then this is.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 451641
dup'd bug is blocking - clear blocking on this one.
Un-duping for a quick fix.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Assignee: nobody → mstange
Status: REOPENED → ASSIGNED
There's a number of cases that this approach gets wrong, for example collapsing a toolbar when the statusbar is hidden will cause the scrollbar to go under the resizer... but all in all it's better than before bug 56488 and fixes the special case of this bug (collapsing toolbars with statusbar visible). I thought about adding a ContainsZeroSizedPoint method to nsRect, but I don't think it's worth it just for this one use case.
Attachment #403608 - Flags: review?(roc)
Attachment #403608 - Flags: review?(roc) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
You need to log in before you can comment on or make changes to this bug.