Open Bug 425069 Opened 13 years ago Updated 13 years ago

Dragging image out of x64 Firefox window transposes 1px from left to right of image

Categories

(Core :: DOM: Drag & Drop, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: luke.iliffe, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b5pre) Gecko/2008032405 Minefield/3.0b5pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b5pre) Gecko/2008032405 Minefield/3.0b5pre ID:2008032405

Dragging an image out of the Firefox window onto the desktop. Once the cursor crosses the application window the ghosted drag image suddenly has a 1px vertical strip on the right. this strip is composed of the 1px strip from the left side of the image. This only appear

Reproducible: Always

Steps to Reproduce:
1. On Vista x64, create new profile, ensure nglayout.enable_drag_images = true (default)
2. Go to URL with images e.g. http://forums.mozillazone.org
3. Drag the black mozillaZine image in either the lop left or top right out of the firefox window. Do not let go of the mouse.
Actual Results:  
Once cursor has left Firefox the dragged ghosted image gains a vertical 1px strip. 

Expected Results:  
Ghosted dragged image is the same as the original selected image, and the same as seen when dragging the image within the Firefox window.

This appears to only be visible on some versions of Vista x64, not XP or vista 32bit. Not sure about XP x64 or linux x64. It may be hardware, graphics card dependent. See URL above for example. Once outside firefox the ghosted image gains a vertical black stripe that comes from the left of the image. For further example see http://img186.imageshack.us/my.php?image=ghosted1vy9.gif and for further discussion and examples of confirmations and can not reproduce see http://forums.mozillazine.org/viewtopic.php?t=641035

This appeared to regress last year with the original implementation of translucent drag feedback:
good: 07-11-16 Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b2pre) Gecko/2007111605 Minefield/3.0b2pre
ng:   07-11-17 Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b2pre) Gecko/2007111705 Minefield/3.0b2pre

Bonsai: http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=PhoenixTinderbox&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2007-11-16&maxdate=2007-11-17&cvsroot=%2Fcvsroot

Probably Bug 178513 – Make text, images translucent while dragging instead of outline
I did some further testing and the error happens to everything which has the drag effect including text. But it also seems that the corruption only happens when dragging over the desktop. When I drag text from Firefox [Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5] to some other test applications like Miranda IM and Google Desktop Sidebar the transparent preview behind the cursor is correctly rendered. 

Maybe somebody else can do some more checking to see if that is confirmed and the bug only happens when dragging over the desktop. This could make locating the bug easier.
This artifact occurs when I drag an image or some text onto Windows Explorer as well as the desktop.If an image is dragged to explorer it saves the image correctly even the the dragged preview displays the artifact before dropping.

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9pre) Gecko/2008041223 Minefield/3.0pre ID:2008041223
Blocks: 178513
No longer blocks: 178513
Depends on: 178513
You need to log in before you can comment on or make changes to this bug.