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)
Firefox
Tabbed Browser
Tracking
()
VERIFIED
FIXED
Firefox 13
People
(Reporter: sdrocking, Assigned: ttaubert)
References
Details
Attachments
(1 file)
|
3.29 KB,
patch
|
dietrich
:
review+
|
Details | Diff | Splinter Review |
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.
Comment 1•14 years ago
|
||
Ouch! That makes my Firefox crash!
I have posted bug 726009 to keep this bug separated from the crash issue.
Updated•14 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Comment 2•14 years ago
|
||
Trivial patch with test.
Comment 3•14 years ago
|
||
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+
| Assignee | ||
Comment 4•14 years ago
|
||
(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
| Assignee | ||
Comment 5•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
| Reporter | ||
Comment 6•14 years ago
|
||
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
| Assignee | ||
Comment 7•14 years ago
|
||
Correct, thank you.
Comment 8•14 years ago
|
||
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
Comment 9•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•