Closed
Bug 12091
Opened 26 years ago
Closed 26 years ago
[PP]Scrolling Bug (presShell->ScrollIntoView)
Categories
(Core :: Web Painting, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: pollmann, Assigned: ramiro)
References
()
Details
This relates to bug 3256. I added a method to all of the form elements that
gets called when the element receives focus. This is the method:
void
nsFormControlFrame::ScrollIntoView(nsIPresContext* aPresContext)
{
if (aPresContext) {
nsCOMPtr<nsIPresShell> presShell;
aPresContext->GetShell(getter_AddRefs(presShell));
presShell->ScrollFrameIntoView(this,
NS_PRESSHELL_SCROLL_ANYWHERE,NS_PRESSHELL_SCROLL_ANYWHERE);
}
}
This scrolls correctly on Win, but on GTK, the widgets get scrolled into the
wrong position.
Ramiro, I've got these changes (many files) in my local tree, so if you want
diff's to play with, I can attach them. Or you can run/debug the build on
blueviper in /build/ng/mozilla, which already has the changes.
Eric, I checked in code to fix the keyboard scrolling on gtk. Check it out and
see if it fixes your bug too. thanks.
Reporter | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 2•26 years ago
|
||
Thanks Ramiro, that did the trick!
This bugfix will can be verified by firing up a Linux build and pressing the
Page Down key on Demo 8. If the screen doesn't look completely messed up, it is
fixed.
Updated•26 years ago
|
Whiteboard: [19990823] waiting for a new Linux build
Updated•7 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
•