Closed
Bug 605068
Opened 15 years ago
Closed 15 years ago
Adding and deleting bookmarks via AppleScript need to trigger Spotlight metadata changes
Categories
(Camino Graveyard :: Bookmarks, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: alqahira, Assigned: stuart.morgan+bugzilla)
References
Details
(Keywords: regression, Whiteboard: [camino-2.0.6])
Attachments
(1 file)
4.46 KB,
patch
|
mikepinkerton
:
superreview+
|
Details | Diff | Splinter Review |
With Stuart's patch in bug 569258, adding and deleting bookmarks via AppleScript don't trigger the creation of new Spotlight metadata nor the deletion of that metadata.
Amazingly, this did actually work before the patch, so we should fix the regression.
Simple test script:
tell application "Camino"
make new bookmark with properties ¬
{name:"Example", URL:"http://www.example.com/"} at end of ¬
bookmarks of bookmark bar collection
--comment out lines above and uncomment line below to test deletion
--delete bookmark "Example" of bookmark bar collection
end tell
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → stuart.morgan+bugzilla
Flags: camino2.1?
Flags: camino2.0.6?
Reporter | ||
Comment 1•15 years ago
|
||
(In reply to bug 569258 comment #9)
> Oh, right. Maybe a follow-up bug for that? I'm willing to regress AS to fix the
> common cases (I'll fix at least removal quickly though; adding I'll need to
> play with to see if I can tell the difference between moving and creating).
The UUID shouldn't change in the move case, right? (If it does, I'd consider that to be a bug; if we ever get syncing working, that would be a pain for those users.)
Or is the issue/hard part of move that we won't necessarily know to pay attention to the UUID (or anything else) before the move happens?
Assignee | ||
Comment 2•15 years ago
|
||
Actually it looks like move would have to be a delete+insert, so this should be easy both ways.
Assignee | ||
Updated•15 years ago
|
Flags: camino2.1?
Flags: camino2.1+
Flags: camino2.0.6?
Flags: camino2.0.6+
Assignee | ||
Comment 3•15 years ago
|
||
Attachment #488686 -
Flags: superreview?(mikepinkerton)
Reporter | ||
Comment 4•15 years ago
|
||
(In reply to comment #1)
> The UUID shouldn't change in the move case, right? (If it does, I'd consider
> that to be a bug; if we ever get syncing working, that would be a pain for
> those users.)
I tested, and 'move' does indeed preserve the UUID. Yay AppleScript for doing the right thing :)
Comment 5•15 years ago
|
||
Comment on attachment 488686 [details] [diff] [review]
fix
sr=pink
Attachment #488686 -
Flags: superreview?(mikepinkerton) → superreview+
Reporter | ||
Comment 6•15 years ago
|
||
Landed on the CAMINO_2_0_BRANCH in advance of 2.0.6; leaving open for Cm2.1 landing.
Whiteboard: [camino-2.0.6]
Assignee | ||
Comment 7•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•