Closed Bug 725996 Opened 14 years ago Closed 14 years ago

New Tab Page should not respond to dragged bookmark folders

Categories

(Firefox :: Tabbed Browser, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 13

People

(Reporter: sdrocking, Assigned: ttaubert)

References

Details

Attachments

(1 file)

When I drag a bookmark folder to the thumbnail position it gets pinned there. But nothing happens when I click on its thumbnail. Maybe it shouldn't get pinned in the first place. Or, maybe we should open all bookmarks within the folder.
Blocks: 455553
Ouch! That makes my Firefox crash! I have posted bug 726009 to keep this bug separated from the crash issue.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch patch v1Splinter Review
Trivial patch with test.
Assignee: nobody → ttaubert
Status: NEW → ASSIGNED
Attachment #604922 - Flags: review?(dietrich)
Comment on attachment 604922 [details] [diff] [review] patch v1 Review of attachment 604922 [details] [diff] [review]: ----------------------------------------------------------------- r=me w/ the comment below added. ::: browser/base/content/newtab/drag.js @@ +106,5 @@ > */ > isValid: function Drag_isValid(aEvent) { > let dt = aEvent.dataTransfer; > + let mimeType = "text/x-moz-url"; > + return dt && dt.types.contains(mimeType) && dt.getData(mimeType); there's some implicitness here that should be commented on. what's going on here and why?
Attachment #604922 - Flags: review?(dietrich) → review+
(In reply to Dietrich Ayala (:dietrich) from comment #3) > > + let mimeType = "text/x-moz-url"; > > + return dt && dt.types.contains(mimeType) && dt.getData(mimeType); > > there's some implicitness here that should be commented on. what's going on > here and why? Added. Pushed to fx-team: https://hg.mozilla.org/integration/fx-team/rev/c1d32bb1b893
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 13
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Updating bug title from my understanding of the patch.
Summary: New Tab Page should not respond to dragged bookmark folders or should handle them properly → New Tab Page should not respond to dragged bookmark folders
Correct, thank you.
Blocks: 726009
Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120409 Firefox/13.0a2 Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120409 Firefox/14.0a1 Bookmark folders can't be dragged anymore in the new tab page. Setting to verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: