dragging object with javascript leaves trail




DOM: Core & HTML
13 years ago
8 years ago


(Reporter: Jonathan, Unassigned)


(Depends on: 1 bug)

Windows XP

Firefox Tracking Flags

(Not tracked)




(1 attachment)



13 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050202
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050202

The URL http://www.hypergurl.com/messagecursor.html gives an example of a
javascript that moves text along with the cursor. In Mozilla a slight trail,
made up of fragments of what is being dragged, is left.

Reproducible: Always

Steps to Reproduce:
1. Go to http://www.hypergurl.com/messagecursor.html
2. Move cursor slowly from left to right

Actual Results:  
A trail, made up of fragments of what is being dragged, is left behind

Expected Results:  
Left no residual trail

More image fragments are left if you move the mouse at a slower rate, therefore
it is possible that the bug involves a periodic problem within the rendering engine.

For the record, I hope nobody actually implements this bit of javascript... it's
quite annoying, but the principles behind the script may be useful elsewhere.

Comment 1

13 years ago
Solving this, may also solve the following bug

I submitted mine as seperate because the bug 112958 seemed to assume it was an
issue with GTK.
This is not a recent regression. I can see the bug with Mozilla1.7 and Mozilla1.4.
I can't reproduce this with a GTK1 build, even with NS_PAINT_SEPARATELY defined.

Martijn, do you have a debug build?  If so, could you enable paint flashing and
see whether we're repainting the areas where the turds get left?
Created attachment 173246 [details]

Maybe you're seeing it with this? Otherwise it may depend on the font you use.
Probably the same issue as bug 96041, not?

Comment 5

13 years ago
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b) Gecko/20050203

I am seeing this with the test case (but not the original case)
Setting bug status to confirmed, as I see this with the current Seamonkey trunk
build on Windows XP.
Ever confirmed: true
Yeah, with the testcase I see it.  The testcase is definitely bug 79732, though.
Depends on: 79732
Assignee: general → nobody
QA Contact: ian → general
You need to log in before you can comment on or make changes to this bug.