Closed Bug 461614 Opened 16 years ago Closed 10 years ago

Can't drag bookmarks in smart collections

Categories

(Camino Graveyard :: Bookmarks, defect)

All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: alqahira, Unassigned)

Details

STR:

1) Select a smart collection, e.g. Address Book
2) Select a bookmark in said collection
3) Attempt to drag selected bookmark

AR: Selection expands in the direction of the drag
ER: Selected bookmark is dragged

I wondered if this was because you can't re-order bookmarks within the smart collections, but you can drag in History and those certainly can't be re-ordered ;)
The culprit seems to be this bit in BookmarkViewController:

> 1478   if ((count == 0) || [mActiveRootCollection isSmartFolder]) // XXX why deny drags from smart folders?
> 1479     return NO;

Why deny drags from smart folders?  At least one reason, apparently, is that we need to make drags from smart folders be copy drags in all/more cases.  

If you fix up that hunk of code to allow smart collection drags, then drags to other collections are treated as pseudo-moves (drags to the location bar and places that treat drags as "url loads" are copies-in-fact, even though they don't all show the copy cursor).
Is there a good reason not to remove that part of the conditional? We already have so many copy drags that don't show the copy cursor that it hardly seems like a problem. (What's a pseudo-move? Does the bookmark actually disappear from the smart folder?)
Hardware: Macintosh → All
(In reply to comment #2)
> Is there a good reason not to remove that part of the conditional?
[...]
> (What's a pseudo-move? Does the bookmark actually disappear
> from the smart folder?)

Yes. It comes back the next time we re-init the collection, but we need to make sure we make smartCollection->collection drags be copies before removing that check.
This bug has been buried in the graveyard and has not been updated in over 5 years. It is probably safe to assume that it will never be fixed, so resolving as WONTFIX.

[Mass-change filter: graveyard-wontfix-2014-09-24]
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.