Closed Bug 388601 Opened 17 years ago Closed 16 years ago

Can't drag from history sidebar to bookmarks toolbar, sourceView shouldn't be null

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: christineyen+bugs, Assigned: christineyen+bugs)

References

Details

Attachments

(2 obsolete files)

As seen in comments in bug 364298, sourceView is null when the onDrop() method is called in controller.js , and it doesn't seem like it should be.
Attached patch sourceView shouldn't be null (obsolete) — Splinter Review
This patch forces the boolean "copy" to true when dragging from a read-only container, but fails when DnD to the toolbar, where sourceView is null upon DnD.
Summary: SourceView shouldn't be null when DnD to bookmarks toolbar → Can't drag from history sidebar to bookmarks toolbar, sourceView shouldn't be null
Attached patch patch (obsolete) — Splinter Review
Is there a reason sourceView was being set as null in toolbar.xml's onDrop? Is it simply because it's not necessary/because it works fine without passing controller.js an actual sourceView? Hmm... Either way, this works fine now.
Assignee: nobody → christineyen+bugs
Attachment #275637 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #275674 - Flags: review?(sspitzer)
Comment on attachment 275674 [details] [diff] [review]
patch

re-assign review to dietrich.

this bug has been bit rotting in my review queue for a while.
Attachment #275674 - Flags: review?(sspitzer) → review?(dietrich)
Hardware: SGI → All
Attachment #275674 - Flags: review?(dietrich)
after recent fixes this is actually WFM, at least on Windows. Most probably due to recent cleanup made on that code (PlacesControllerDragHelper.onDrop now takes only an insertionPoint) by Bug 412148. 
marking as fixed by that bug.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Depends on: 412148
Resolution: --- → FIXED
Attachment #275674 - Attachment is obsolete: true
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".

In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body   contains   places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.

Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.

Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: