Closed
Bug 175380
Opened 22 years ago
Closed 20 years ago
PageDown/PageUp leave too much in common between "pages"
Categories
(Core :: Web Painting, defect, P1)
Core
Web Painting
Tracking
()
RESOLVED
FIXED
mozilla1.3alpha
People
(Reporter: dbaron, Assigned: dbaron)
Details
(Whiteboard: [patch])
Attachments
(1 file, 1 obsolete file)
8.56 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
This has been annoying me for years (I mean it), and I'm finally filing a bug about it, which I've been meaning to do for years. I use Mozilla at a default font size and window size that allows me over 50 lines of text in a window. PageUp and PageDown cause Mozilla to scroll by 90% of the window size. This means there are about 5 lines of text that are present on the screen both before and after the PageUp/PageDown. This has often made it hard for me to find my place when I move up and down. The simple solution to this, is, I think, to bound the scroll amount in nsScrollPortView::ScrollByPages so that it is never less than one page minus two or three lines at the default font size. I'd like to do this, but I'm interested in other people's opinions on the topic. I'll probably post to n.p.m.ui at some point about this... (I realize there are much nicer solutions such as showing and hiding a box where the previous position on the page was or temporarily opaquely-greying out the part that was already seen, but they're harder. This is a trivial patch.) Any other opinions on this?
Assignee | ||
Comment 1•22 years ago
|
||
The changes to nsSelection.cpp are wrong, and perhaps even uunecessary.
Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [patch]
Target Milestone: --- → mozilla1.3alpha
Assignee | ||
Comment 2•20 years ago
|
||
This is updated to the trunk, and doesn't break PgUp/PgDn when the scroll view is at the start/end but the caret isn't yet (which the previous patch did, I think).
Attachment #103373 -
Attachment is obsolete: true
Assignee | ||
Updated•20 years ago
|
Attachment #166643 -
Flags: superreview?(roc)
Attachment #166643 -
Flags: review?(roc)
Attachment #166643 -
Flags: superreview?(roc)
Attachment #166643 -
Flags: superreview+
Attachment #166643 -
Flags: review?(roc)
Attachment #166643 -
Flags: review+
Assignee | ||
Comment 3•20 years ago
|
||
Fix checked in to trunk, 2004-10-24 14:05 -0700.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•