Bug 43331

Summary: Dojo DnD functionality: Option dropped on the MultiSelect widget cannot be selected
Product: WebKit Reporter: Goran Miskovic <schkovich+bugswebkit>
Component: WebCore JavaScriptAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal CC: eugene.lazutkin
Priority: P3    
Version: 525.x (Safari 3.2)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Example demonstrating the problem none

Description Goran Miskovic 2010-08-02 02:06:46 PDT
Created attachment 63185 [details]
Example demonstrating the problem

Target is created from dijit.form.MultiSelect. Source is defined in markup on the top of div tag using dojo.dnd.Source (from test_dnd.html example).

Expected result:

Drop some item(s) on the select widget. Behavior of dropped item(s)/option(s) does not differ from the behavior of options defined in markup.

Actual result:

Dropped options cannot be selected using Google Chrome. Actually there is a workaround. One needs to set focus on the select widget and then dropped option can be selected/unselected. Problem is not present in Firefox.

Detected in following browsers:
Google Chrome 5.0.375.125 beta running on Ubuntu 10.04 LTS (Lucid Lynx)
Epiphany 2.30.2 running on Ubuntu 10.04 LTS (Lucid Lynx)
Safari 5.0.1 (7533.17.8) running on Windows XP (Virtualbox)

I am not sure which version of WebKit browsers listed above are using, but since it must be set I set it to closest match 525.x (Safari 3.2). I was not sure about proper component, so, again, my best guess is WebCore JavaScript. I guess that you guys can figure that easily. :)

Problem was originally reported to Dojo developers:  http://trac.dojotoolkit.org/ticket/10774