MozillaZine

Mozilla 1.1 Beta Released

Monday July 22nd, 2002

Asa Dotzler writes: "It's here! Mozilla 1.1 Beta. New to this release are full-screen mode for Linux, BiDi Hebrew improvements, Arabic shaping improvements for Linux, and significant improvements to Venkman, the best cross-platform JavaScript debugger on the planet. Get your binaries and release notes at http://www.mozilla.org/releases/. And if you're confused about all these alpha and beta releases (and what ever happened to that 1.0 branch?) then take a look at the nice picture available at the Mozilla Development Roadmap."


#96 There is no bug id, but here is a test case

by DavidT

Thursday July 25th, 2002 9:32 PM

You are replying to this message

Can't find this bug number! But case is simple: 1. Drag and Drop within a single XUL document. XUL is not local (not Application).

First of all, there is no detailed documentation around about Drag and Drop for this case. Secondly, this doesn't work in the XULPlanet tutorial, nor in this case:

<?xml version="1.0"?>

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<window title="Widget Dragger" id="test-window" orient="horizontal" xmlns="<http://www.mozilla.org/ke…ekeeper/there.is.only.xul>">

<script src="dragboard.js"/></script>

<stack id="board" canDrop="true" style="width:300px; height: 300px; max-width: 300px; max-height: 300px; background-color:yellow;" ondragover="return DoDragOver(event)" ondragdrop="return DoDrop(event)"> </stack> <vbox> <image id="o1" src="sveta.jpg" style="width:40px;height:40px;" elem="button" ondraggesture="return DoStartDrag(event)"/> </vbox> </window>

Where dragboard.js is:

function DoDragOver(event){ window.status="dragOver"; return true; }

function DoDrop(event){ window.status="dragDrop"; return true; }

function DoStartDrag(event){ return true; }

Actually, ondraggesture and ondragover work fine, but dragdrop handler is never called.

Maybe it is a silly metter to have a Drag and Drop working. Maybe it is really working. But how to know this without ANY documentation and ANY reference?!!

Please, tell me I'm wrong!

Regards, David