Closed Bug 13407 Opened 25 years ago Closed 25 years ago

[DOGFOOD] gfx text fields scramble when scrolling

Categories

(Core :: DOM: Editor, defect, P3)

Other
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: mcafee, Assigned: pavlov)

References

Details

(Whiteboard: [PDT+] will verify in 12/1 build.)

Attachments

(1 file)

linux, apprunner.
Go to bug 12902, scroll the cc list to the right,
then to the left.  Things redraw funny.
Status: NEW → ASSIGNED
Target Milestone: M11
Accepting bug.
Target Milestone: M11 → M12
Changing milestone of all Selection Scrolling bugs to M12.
Assignee: kin → pavlov
Status: ASSIGNED → NEW
Reassigning to pavlov@netscape.com.

Akkana, Pavlov, and I got together to look at this.

Turns out it's a problem in the gtk implementation of the method
nsScrollbar::SetPosition(). The view scrolling code expects SetPosition() to
move the scrollbar thumb without causing a scroll to happen, but the gtk
implementation does trigger a scroll, so what ends up happening is that
nsScrollingView::ScrollTo() ends up scrolling the view twice because it calls
both SetPosition() and Scroll().

To fix this, the code in SetPosition() needs to be modified so that it doesn't
emmit a scroll signal.

I'm not sure of the urgency to fix this bug since things seem to work fine when
using Gfx Scrollbars. I believe the plan right now is to have all platforms
switch over to using Gfx Scrollbars before the beta.
Blocks: 18353
Summary: gfx text fields scramble when scrolling → [DOGFOOD] gfx text fields scramble when scrolling
Marking this bug as dogfood.
Blocks: 17804
Until gfx scrollbar primetime, we might be able
to check the pref and conditionally not do one
of the SetPostion() or Scroll() calls.
Whiteboard: [PDT+]
Putting on the PDT+ radar.
*** Bug 17256 has been marked as a duplicate of this bug. ***
*** Bug 19169 has been marked as a duplicate of this bug. ***
Whiteboard: [PDT+] → [PDT+] 12/3/99
*** Bug 18353 has been marked as a duplicate of this bug. ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
this is fixed with gfx scrollbars on.  i've added a comment to the gtk code with
a pointer to this bug incase we ever get around to fixing it for native
scrollbars
Whiteboard: [PDT+] 12/3/99 → [PDT+] will verify in 12/1 build.
will verify in 12/1 build.
Status: RESOLVED → VERIFIED
OS: Solaris → Linux
Hardware: Sun → Other
looks fixed to me....mcafee reopen if you're stil not seeing it fixed..

verified in 12/1 build.
*** Bug 19516 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: