搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Fixed page position when resizing window

more options

Hi!

I'm one of the Chromium users that now gladly switched back to Firefox but I have one very annoying problem/bug:

> When I resize the window, the position on the page changes highly.

My scenario is the following: I use a tiling window manager and often open up a console while browsing. When the screen splits and the Firefox window then effectively halves, it jumps somewhere not even near on the page and I always have to scroll back. When I close the console again, everything happens in reverse.


Thanks a lot! Stephan

Hi! I'm one of the Chromium users that now gladly switched back to Firefox but I have one very annoying problem/bug: > When I resize the window, the position on the page changes highly. My scenario is the following: I use a tiling window manager and often open up a console while browsing. When the screen splits and the Firefox window then effectively halves, it jumps somewhere not even near on the page and I always have to scroll back. When I close the console again, everything happens in reverse. Thanks a lot! Stephan
已附加屏幕截图

由smoneck于修改

所有回复 (2)

more options

Confirmed on bugzilla. Question can now be neglected here.

more options

This is a more general problem that can be observed when you resize a window by hand. Firefox maintains a vertical scroll position which seems to be a number of pixels from the top of the page. If resizing the window reflows the page content, you can end up looking at a different spot.

This also occurs during initial page load when Firefox computes the location of the anchor/hash but changes occur above that point which affect the vertical position of the anchor/hash. These include retrieving inline images that turn out to have an unexpected height, or removing images, for example, by collapsing several images into a slideshow widget.

Accordingly, it's possible your bug will be duped to an older bug.

I'm hopeful this all can be handled once and for all by some approach that recognizes that users care most about the content in the viewport, not the vertical position of the scrollbar (unless the position is top or bottom).

由jscher2000 - Support Volunteer于修改