Jump to content

Odd behavior for Application search


Recommended Posts

I'm running Nix-Darwin and I just upgraded ... but the relevant point is suddenly I can't seem to find Visual Studio Code any where unless I start with `'`

Option 1:

image.thumb.png.9437348c193af71bc6ab6a168d165484.png

 

 

Option 2


image.thumb.png.ef1eb2fd76009f16fc58f413c59f9265.png

In the directory itself it does have a leading `'`


image.png.46327f7c1d565b81897909ec062b934f.png

I've tried all 3 options for Applications and nothing seems to do what I want. Maybe I need it to re-index?

image.png.680e4fdd5c1b947fd2fcf8fe217d96dc.png



 

Link to comment

Starting Diagnostics...

File: 'Visual Studio Code.app'
Path: '/Users/jstein/Applications/Home Manager Trampolines'

-----------------------------------------------------------

Check file cache database...

File cache integrity is ok

-----------------------------------------------------------

Check if file is readable...

Alfred has permissions to read this file.

Unix Permissions: 493
Underlying Type: NSFileTypeDirectory
Extended Attributes: (
)

-----------------------------------------------------------

Check if volume '/' is indexed by macOS...

Indexing is enabled on this drive

-----------------------------------------------------------

Check direct file metadata...

Direct metadata available

Display Name: Visual Studio Code
 Other Names: Visual Studio Code.app
Content Type: com.apple.application-bundle
   Last Used: 

-----------------------------------------------------------

Check mdls file metadata...

Metadata contains required items

_kMDItemDisplayNameWithExtensions  = "Visual Studio Code.app"
kMDItemAlternateNames              = (
    "Visual Studio Code.app"
)
kMDItemCFBundleIdentifier          = "com.microsoft.VSCode"
kMDItemContentCreationDate         = 2024-06-12 21:43:52 +0000
kMDItemContentCreationDate_Ranking = 2024-06-12 00:00:00 +0000
kMDItemContentModificationDate     = 2024-06-12 21:43:52 +0000
kMDItemContentType                 = "com.apple.application-bundle"
kMDItemContentTypeTree             = (
    "com.apple.application-bundle",
    "com.apple.application",
    "public.executable",
    "com.apple.localizable-name-bundle",
    "com.apple.bundle",
    "public.directory",
    "public.item",
    "com.apple.package"
)
kMDItemCopyright                   = ""
kMDItemDateAdded                   = 2024-06-12 21:43:52 +0000
kMDItemDescription                 = ""
kMDItemDisplayName                 = "Visual Studio Code"
kMDItemDocumentIdentifier          = 0
kMDItemExecutableArchitectures     = (
    arm64,
    "x86_64"
)
kMDItemFSContentChangeDate         = 2024-06-12 21:43:52 +0000
kMDItemFSCreationDate              = 2024-06-12 21:43:52 +0000
kMDItemFSCreatorCode               = ""
kMDItemFSFinderFlags               = 0
kMDItemFSHasCustomIcon             = (null)
kMDItemFSInvisible                 = 0
kMDItemFSIsExtensionHidden         = 1
kMDItemFSIsStationery              = (null)
kMDItemFSLabel                     = 0
kMDItemFSName                      = "Visual Studio Code.app"
kMDItemFSNodeCount                 = 1
kMDItemFSOwnerGroupID              = 20
kMDItemFSOwnerUserID               = 501
kMDItemFSSize                      = 2455696
kMDItemFSTypeCode                  = ""
kMDItemInterestingDate_Ranking     = 2024-06-12 00:00:00 +0000
kMDItemKeywords                    = ""
kMDItemKind                        = "Application"
kMDItemLogicalSize                 = 2455696
kMDItemPhysicalSize                = 2523136
kMDItemVersion                     = "1.90.0"

-----------------------------------------------------------

Check file is in search scope...

File exists within Alfred's default search scope

-----------------------------------------------------------

Check MDQuery file search...

macOS returned a match for this file in your search scope.

File Search Results for search scope (
    "[0] /System/Volumes/Data/Users/jstein/Applications/Home Manager Trampolines/Visual Studio Code.app"
)

File Search Results for ~/ (
    "[0] /System/Volumes/Data/Users/jstein/Applications/Home Manager Trampolines/Visual Studio Code.app"
)

File Search Results for / (
    "[0] /System/Volumes/Data/Users/jstein/Applications/Home Manager Trampolines/Visual Studio Code.app"
)

-----------------------------------------------------------

Troubleshooting passed
 

Link to comment

@jeffsui Due to the way you've cropped the screenshot, I'm not able to see whether you have a scroll bar in your first screenshot. If you remove folders from your default search scope temporarily, does Visual Studio Code appear in default results at all?

 

Is the ~/Applications/Home Manager Trampolines/ a normal folder or a management tool folder of some sort? I have VSC installed, and it's directly in the Applications folder, not in this intermediary folder, and I've looked online and found no references to it.

 

The "easy" band-aid solution is to create a mini workflow with a keyword to it:

https://www.alfredapp.com/blog/tips-and-tricks/give-files-nicknames-to-find-them-faster/

 

However, it would be preferable to work out why it isn't showing up in your default results.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...