Closed
Bug 172044
Opened 22 years ago
Closed 22 years ago
Content area needs to handle the 'url ' drag flavor
Categories
(Camino Graveyard :: Drag & Drop, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
Camino1.5
People
(Reporter: sfraser_bugs, Assigned: sfraser_bugs)
References
Details
Attachments
(2 files, 1 obsolete file)
6.06 KB,
patch
|
Details | Diff | Splinter Review | |
13.24 KB,
patch
|
Details | Diff | Splinter Review |
To enable dragging of urls from the content into the dock, and to handle the dropping links from some apps (e.g. Sherlock) in the content, we need to handle the 'url ' and 'urld' flavors.
Assignee | ||
Comment 1•22 years ago
|
||
This should also fix the receiving of .webloc files from the Finder (bug 165303)
Assignee | ||
Comment 2•22 years ago
|
||
Updated•22 years ago
|
Target Milestone: --- → Chimera1.1
Assignee | ||
Comment 4•22 years ago
|
||
*** Bug 165303 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 5•22 years ago
|
||
This patch adds XP flavors for URL and description, which is preferable to mucking with the moz-url data which has url and title separated by a linebreak. Note that when dragging an image, we add the image URL to the drag so that you can drag images between browser windows. This patch depends on the next one...
Attachment #101646 -
Attachment is obsolete: true
Assignee | ||
Comment 6•22 years ago
|
||
This patch adds mappings of the OS types 'url ' and 'urld' to kURLDataMime and kURLDescriptionMime, and the conversion between OS string data and unicode for these types.
Assignee | ||
Comment 7•22 years ago
|
||
Reviews please, Mike. These changes fix the following: * Can drag a url to the dock to create a dock item for the url * Can drag a .webloc file from the Finder into the browser, and have it load the url (rather than trying to load the file) * Can drag an iamge from one browser window to another * Can drag items from 'eBay' search results in Sherlock to the browser
Status: NEW → ASSIGNED
Comment 8•22 years ago
|
||
looks good to me. r=pink on both.
Comment 9•22 years ago
|
||
just a thought, should we try to get the xul dnd code throughout mozilla to use the new flavors and obsolete the url/ntitle flavor?
Assignee | ||
Comment 10•22 years ago
|
||
> just a thought, should we try to get the xul dnd code throughout mozilla to use
> the new flavors and obsolete the url/ntitle flavor?
That would be ideal, but might require hacking a bunch of front-ends. Doesn't
chimera mess with url\ntitle drag data? I think 4.x also did, so there may be
compatibility issues here. I'd recommend deprecating the moz-url flavor, but
still sending it, and handling it on recieve.
Assignee | ||
Comment 11•22 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 12•22 years ago
|
||
Verified items listed in comment 7 are functioning properly. Tested with the 2003-01-09-04 NB under 10.2.3. Marking verified.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•