Ticket #600 (closed defect: wontfix)

Opened 3 years ago

Last modified 19 months ago

unordered lists using dojo.dnd don't have the right appearance during drag if in a FloatPane

Reported by: joe@… Owned by: anonymous
Priority: low Milestone: 0.9
Component: Widgets Version: 0.2
Severity: normal Keywords:
Cc:

Description

The insert point and the 50% alpha don't show up.

<html> <head> <script type="text/javascript">

var djConfig = {isDebug: true, debugAtAllCosts: true};

</script> <script language="JavaScript?" src="/dojo/dojo.js"></script> </head> <body style=" background: #10285A"> <script language="JavaScript?">

dojo.require("dojo.fx.html"); dojo.require("dojo.widget.*"); dojo.require("dojo.widget.TaskBar?"); dojo.require("dojo.widget.LayoutPane?"); dojo.require("dojo.widget.FloatingPane?"); dojo.require("dojo.widget.ResizeHandle?");

dojo.require("dojo.dnd.*"); dojo.require("dojo.event.*"); function byId(id) {

return document.getElementById(id);

} function init() {

var dl = byId("weeklylist"); new dojo.dnd.HtmlDropTarget?(dl, li1?); var lis = dl.getElementsByTagName("li"); for(var x=0; x<lis.length; x++){

new dojo.dnd.HtmlDragSource?(lis[x], "li1");

}

} dojo.event.connect(dojo, "loaded", "init");

</script>

<div dojoType="TaskBar?" id="mytaskbar" hasShadow="false"

style="width: 96%; height: 35px; bottom: 10px; left: 2%">

</div> <div dojoType="FloatingPane?"

id="MyFloat?" title="My Window" constrainToContainer="true" hasShadow="false" resizable="true" taskBarId="mytaskbar" windowState="minimized"; displayCloseAction="false"; displayMinimizeAction="true" displayMaximizeAction="true"

toggle="fade"

style="width: 500px; height: 400px; left: 350px; top: 50px; display: none;">

<ul id="weeklylist">

<li>This list</li> <li>is out of order</li> <li>but it can</li> <li>be reordered</li> <li>using</li> <li>and</li> <li>drop</li> <li>drag</li>

</ul> </div> </body> </html>

Change History

Changed 3 years ago by alex

  • milestone changed from 0.2.2release to 0.3release

moving to correct milestone

Changed 3 years ago by sjmiles

  • milestone changed from 0.3release to 0.4

Changed 2 years ago by dylan

  • milestone changed from 0.4 to 0.5

Changed 19 months ago by bill

  • status changed from new to closed
  • resolution set to wontfix

Not sure if this is an issue anymore, since FloatingPane? is being replaced by Dialog, and DnD was completely rewritten, but I'm going to close the bug because I don't really want to support DnD inside of a Dialog.

Note: See TracTickets for help on using tickets.