Closed Bug 389360 Opened 17 years ago Closed 6 years ago

after scrolling on print preview page, next page jumps backwards

Categories

(Core :: Print Preview, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 184537

People

(Reporter: jtd, Unassigned)

References

()

Details

Steps:

1. Open URL
2. File > Print Preview (using default Page Settings, portrait, shrink to fit)
3. Scroll down to page 3 using the scroll bar control
4. Click on next page

Result: because of bug 389359 the last page is displayed but the page indicator shows "2"

Expected result: page 4 is displayed and the current page indicator shows 4

This is closely tied to bug 184537, but this is a bug, clicking on "Next Page" should jump to the next page based on the current page being displayed, not on the value of the page field indication.  There are two ways to solve this:

1. Update the page indicator field as scrolling takes place (==184537) and leave the existing logic as "next page ==> go to pageNum + 1"

2. Calculate the current page number and set the view to display (current page number + 1), *without* updating the page indicator while scrolling

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007072205 Minefield/3.0a7pre
Depends on: 389359
Let's fix this by fixing bug 184537.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.