Jump to content
samdale67

Alfred Not Searching Safari Bookmarks in High Sierra BETA [Fixed 3.5 b867 pre-release]

Recommended Posts

Hi all,

 

I just loaded macOS High Sierra public beta, and I'm observing that latest version of Alfred does not seem to be searching Safari bookmarks.

 

macOS 10.13 Beta (17A291m)

MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports)

Safari Version 11.0 (13604.1.25.3.3)

 

Share this post


Link to post
Share on other sites

At this point, my macOS 10.13 test machine isn't indexing Safari bookmarks at all (i.e. Spotlight isn't seeing them). If macOS were to be indexing bookmarks, I suspect they may just be in a different location which needs to be added to Alfred's default search scope.

Share this post


Link to post
Share on other sites

Hi Andrew, 

 

I guess it could be a bug with the latest beta. We will see if it is resolved with beta 3.

Share this post


Link to post
Share on other sites

My bookmarks are appearing in Spotlight results (High Sierra Beta 2), but there is no ~/Library/Caches/Metadata/ directory anymore.  Just supports Andrew's hypothesis.  But since my spotlight is finding them, I suspect it's safe to say that new location exists somewhere already, so I'm guessing a deliberate design choice rather than a bug.

Share this post


Link to post
Share on other sites

Thanks for this. I am on 10.13 beta 3 and my bookmarks are showing in Spotlight.

 

I will leave this to playout as the beta cycle progresses.

Share this post


Link to post
Share on other sites

One more clue:  IN the past 48 hours, there are some new items which have appeared in my ~/Library/Safari/ area.  One is a directory called ~/Library/Safari/CloudBookmarksMigrationCoordinator/.  In it is a /Logs/ subdirectory. And in MY installation, there's a file for today and a file for yesterday called "migrationEligibility_2017-07-13.log" (or -14.log).  I won't post its contents, as there are a bunch of device UUIDS and such—but it appears there's a new entry for every machine restart in the form:

  • <timestamp> Updating eligibility with 1 cloud tab devices
  • <timestamp> Encountered non-migratable device (uuid=long string, lastModified=<timeDateUTCOffsetFormat>
  • <timestamp> Not ready to migrate because non-migratable devices are present

So…something's being moved.

 

Just thinking: I wonder if this is prompted by the new file system update. (I've done this change on my MBP, but not on the production machine.)

Share this post


Link to post
Share on other sites

@rossbennett interesting, thanks for posting!

 

@HRD I still don't think there is anything for me to do right now other than keep an eye on this. I don't want to engineer a solution to work around a beta "work in progress" in High Sierra.

Share this post


Link to post
Share on other sites

Interestingly, I can now see bookmarks and history in 10.13 Spotlight, but still can't see any filesystem metadata which is what Alfred uses to show these bookmarks.

 

I'm wondering if the underlying metadata has changed in type - if anybody can find the metadata files (which were in ~/Library/Caches/Metadata/Safari/ pre 10.13), then they get a pretend gold star!

 

Either way, I've now created a ticket to look at manually loading the plist for the bookmarks in case this isn't rectified by Apple.

Share this post


Link to post
Share on other sites

@HRD I'll be able to load the bookmarks manually in Alfred's next release.

 

I'm going to lock this topic now as there is no need to continually bump it - I already have an internal ticket for this issue.

Share this post


Link to post
Share on other sites

Quick update on this: I've nearly finished a new feature for the next release in which Alfred indexes the bookmarks rather than using macOS metadata. This has allowed me to add in indexing for Google Chrome too, plus adding additional nice features such as searching via folder name, host name and title.

 

I've also added the ability to open all bookmarks in the default browser, or the respective source browser.

 

I have other things to do for this release, but it shouldn't be too long until this is in pre-release.

 

I've unlocked this thread for comments, but please don't keep bumping it.

 

Cheers,

Andrew

 

bookmarks.png

Share this post


Link to post
Share on other sites

How does it handle multiple Chrome user profiles? I mean, does Alfred always load the bookmarks for the default profile, the active profile, all profiles?

Share this post


Link to post
Share on other sites

@deanishe at this point of development, it's just loading default profile, but I've already planned multiple profile support.

 

To save me a little time when I get to that, do you know where the list of all profiles, and current active profile is defined?

Share this post


Link to post
Share on other sites

×