Closed Bug 391494 Opened 17 years ago Closed 17 years ago

full page zoom causes scrollbars to be cut off or hidden entirely (all zoom levels except 50%, 100%, 150%, 200%)

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: steffen.wilberg, Assigned: sharparrow1)

References

Details

(Keywords: regression)

Attachments

(1 file, 2 obsolete files)

This is a recent regression of the full page zoom behavior, maybe from bug 389720, although this happens on all pages, not just framesets.

When you zoom in or out from 100%, the vertical and horizontal scrollbars are cut off or hidden entirely, depending on the zoom level, e.g. at 110%, I see only a very thin vertical scrollbar, maybe a fifth of its normal width, but still usable, and at 120%, the scrollbar is hidden entirely and I can't drag it.

The effect is visible at almost any zoom level except 50%, 100%, 150%, 200%.

I'm using the slider zoom extension from bug 389628, attachment 274906 [details].
I can confirm it, and I can also confirm it is a somewhat recent regression.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a8pre) Gecko/2007080910 Minefield/3.0a8pre

By the way, I noticed resizing the window solves it, but also produces the reverse effect: when changing zoom, the display area may then become smaller than the available space (the unused space is left unpainted). Naturally, this can also be solved by resizing the window.
Attached patch Patch (obsolete) — Splinter Review
Assignee: nobody → sharparrow1
Status: NEW → ASSIGNED
Attachment #276489 - Flags: review?(roc)
Comment on attachment 276489 [details] [diff] [review]
Patch

New patch coming up.
Attachment #276489 - Attachment is obsolete: true
Attachment #276489 - Flags: review?(roc)
Attached patch Patch v2 (obsolete) — Splinter Review
Okay, this should work.
Attachment #276496 - Flags: review?(roc)
Attachment #276496 - Flags: superreview+
Attachment #276496 - Flags: review?(roc)
Attachment #276496 - Flags: review+
Attachment #276496 - Flags: approval1.9+
Attached patch Patch v3Splinter Review
Really fixed version... I guess I accidentally posted the wrong patch.
Attachment #276496 - Attachment is obsolete: true
Attachment #277177 - Flags: review?(roc)
Comment on attachment 277177 [details] [diff] [review]
Patch v3

+  float oldWidth = mVisibleArea.width / (float)mCurAppUnitsPerDevPixel;
+  float oldHeight = mVisibleArea.height / (float)mCurAppUnitsPerDevPixel;

constructor casts
Attachment #277177 - Flags: superreview+
Attachment #277177 - Flags: review?(roc)
Attachment #277177 - Flags: review+
Attachment #277177 - Flags: approval1.9+
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a8pre) Gecko/2007082411 Minefield/3.0a8pre ID:2007082411

VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: