Jump to content

Chrome Packaged App Title


felixbuenemann

Recommended Posts

Currently Alfred does not display the proper name for Chrome Packaged Apps like Postman. The apps live in ~/Applications/Chrome Apps.localized so they are in scope, but the apps have cryptic names like "Default fhbjgbiflinjbdggehcddcbncdddomop.app". However Finder shows the proper Name which seems to come from the key CrAppModeShortcutName in the app's Info.plist (eg. "Postman - REST Client (Packaged App)").

 

It would be great if Alfred could find and display the app name based on this key instead of the bundle name.

Link to comment
Share on other sites

Currently Alfred does not display the proper name for Chrome Packaged Apps like Postman. The apps live in ~/Applications/Chrome Apps.localized so they are in scope, but the apps have cryptic names like "Default fhbjgbiflinjbdggehcddcbncdddomop.app". However Finder shows the proper Name which seems to come from the key CrAppModeShortcutName in the app's Info.plist (eg. "Postman - REST Client (Packaged App)").

 

It would be great if Alfred could find and display the app name based on this key instead of the bundle name.

 

Could you please drag a chrome bundled app into this tool and paste the output:

 

http://cachefly.alfredapp.com/tools/AlfredMetadataTool_v1.1.zip

 

Cheers,

Andrew

Link to comment
Share on other sites

  • 1 month later...

Currently Alfred does not display the proper name for Chrome Packaged Apps like Postman. The apps live in ~/Applications/Chrome Apps.localized so they are in scope, but the apps have cryptic names like "Default fhbjgbiflinjbdggehcddcbncdddomop.app". However Finder shows the proper Name which seems to come from the key CrAppModeShortcutName in the app's Info.plist (eg. "Postman - REST Client (Packaged App)").

 

It would be great if Alfred could find and display the app name based on this key instead of the bundle name.

 

Hi Felix,

 

I investigated this further today to see whether Chrome Apps were being found. I've installed a couple of apps and they seem to be found by name right away, so it would be useful if you could download the Metadata tool Andrew mentioned above, to let us know what metadata your particular Chrome apps are showing.

 

chrome_apps.png

Even if your issue has resolved itself since, could you let us know so that I can close this report? :)

 

Cheers,

Vero

Link to comment
Share on other sites

  • 2 weeks later...

The problem still exists in Alfred v2.7.1 (running on OS X 10.10.4 14E11f):

alfred_postman1.png?dl=1

 

Here's the info from the metadata analyzer 1.1:

/Users/felix/Applications/Chrome Apps.localized/Default fhbjgbiflinjbdggehcddcbncdddomop.app

Internal File Metadata
======================

 Display Name: Default fhbjgbiflinjbdggehcddcbncdddomop
    Alt Names: Default fhbjgbiflinjbdggehcddcbncdddomop.app
    File Type: com.apple.application-bundle
     Comments: 
     Keywords: 
    Last Used: 2015-04-28 23:59:23 +0000

Raw mdls File Metadata
======================

kMDItemAlternateNames          = (
    "Default fhbjgbiflinjbdggehcddcbncdddomop.app"
)
kMDItemCFBundleIdentifier      = "com.google.Chrome.app.Default-fhbjgbiflinjbdggehcddcbncdddomop"
kMDItemContentCreationDate     = 2015-04-28 23:56:15 +0000
kMDItemContentModificationDate = 2015-04-28 23:56:15 +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"
)
kMDItemDateAdded               = 2015-04-28 23:56:15 +0000
kMDItemDisplayName             = "Default fhbjgbiflinjbdggehcddcbncdddomop"
kMDItemExecutableArchitectures = (
    "x86_64"
)
kMDItemFSContentChangeDate     = 2015-04-28 23:56:15 +0000
kMDItemFSCreationDate          = 2015-04-28 23:56:15 +0000
kMDItemFSCreatorCode           = ""
kMDItemFSFinderFlags           = 0
kMDItemFSHasCustomIcon         = (null)
kMDItemFSInvisible             = 0
kMDItemFSIsExtensionHidden     = 1
kMDItemFSIsStationery          = (null)
kMDItemFSLabel                 = 0
kMDItemFSName                  = "Default fhbjgbiflinjbdggehcddcbncdddomop.app"
kMDItemFSNodeCount             = 1
kMDItemFSOwnerGroupID          = 20
kMDItemFSOwnerUserID           = 501
kMDItemFSSize                  = 86082
kMDItemFSTypeCode              = ""
kMDItemKind                    = "Programm"
kMDItemLanguages               = (
    en
)
kMDItemLastUsedDate            = 2015-04-28 23:59:23 +0000
kMDItemLogicalSize             = 86082
kMDItemPhysicalSize            = 102400
kMDItemUseCount                = 1
kMDItemUsedDates               = (
    "2015-04-28 22:00:00 +0000"
)
kMDItemVersion                 = "41.0.2272.104"

Note that OS X's native spotlight dialog also doesn't show the proper app name, while the info pane in Finder does.

Link to comment
Share on other sites

The problem still exists in Alfred v2.7.1 (running on OS X 10.10.4 14E11f):

 

 

Here's the info from the metadata analyzer 1.1:

/Users/felix/Applications/Chrome Apps.localized/Default fhbjgbiflinjbdggehcddcbncdddomop.app

Note that OS X's native spotlight dialog also doesn't show the proper app name, while the info pane in Finder does.

 

 

Thanks for updating this. Looking at your metadata, it looks like something's not quite right with that Chrome app. In comparison, below is the metadata on my Mac for a Chrome app, where the Display Name shows the name of the app as expected, and the kMDItemDisplayName is filled in correctly.

 

It looks like even the kMDItemDisplayName is filled with the wrong info on yours, so the name "Postman" doesn't appear anywhere in the app's metadata.

 

 

/Users/vero/Applications/Chrome Apps.localized/Default bgjohebimpjdhhocbknplfelpmdhifhd.app

 
Internal File Metadata
======================
 
 Display Name: Todoist for Chromebook
    Alt Names: Default bgjohebimpjdhhocbknplfelpmdhifhd.app
    File Type: com.apple.application-bundle
     Comments: 
     Keywords: 
    Last Used: 
 
Raw mdls File Metadata
======================
 
kMDItemAlternateNames          = (
    "Default bgjohebimpjdhhocbknplfelpmdhifhd.app"
)
kMDItemCFBundleIdentifier      = "com.google.Chrome.app.Default-bgjohebimpjdhhocbknplfelpmdhifhd"
kMDItemContentCreationDate     = 2015-04-15 11:52:53 +0000
kMDItemContentModificationDate = 2015-04-15 11:52:53 +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"
)
kMDItemDateAdded               = 2015-04-15 11:52:53 +0000
kMDItemDisplayName             = "Todoist for Chromebook"
kMDItemExecutableArchitectures = (
    "x86_64"
)
kMDItemFSContentChangeDate     = 2015-04-15 11:52:53 +0000
kMDItemFSCreationDate          = 2015-04-15 11:52:53 +0000
kMDItemFSCreatorCode           = ""
kMDItemFSFinderFlags           = 0
kMDItemFSHasCustomIcon         = (null)
kMDItemFSInvisible             = 0
kMDItemFSIsExtensionHidden     = 1
kMDItemFSIsStationery          = (null)
kMDItemFSLabel                 = 0
kMDItemFSName                  = "Default bgjohebimpjdhhocbknplfelpmdhifhd.app"
kMDItemFSNodeCount             = 1
kMDItemFSOwnerGroupID          = 20
kMDItemFSOwnerUserID           = 501
kMDItemFSSize                  = 94632
kMDItemFSTypeCode              = ""
kMDItemKind                    = "Application"
kMDItemLanguages               = (
    en
)
kMDItemLogicalSize             = 94632
kMDItemPhysicalSize            = 110592
kMDItemVersion                 = "41.0.2272.118"
 

 

As you said, OS X's Spotlight won't be able to show the proper name app either as it's missing from the app's Metadata.

 

The quickest and best way to get around this, since it's not an issue we can really resolve in Alfred, is with a workflow: Create a workflow and attach a keyword input to a "Launch app" action, setting the keyword to the name of the app. :)

 

If you have multiple Chrome apps, you can add these as keyword + "launch app" action all within a single workflow.

 

Let me know if you need any help with creating this workflow :)

Link to comment
Share on other sites

This is strange, I also installed Todoist for Chromebook and it also only shows up using the cryptic name:

/Users/felix/Applications/Chrome Apps.localized/Default bgjohebimpjdhhocbknplfelpmdhifhd.app

Internal File Metadata
======================

 Display Name: Default bgjohebimpjdhhocbknplfelpmdhifhd
    Alt Names: Default bgjohebimpjdhhocbknplfelpmdhifhd.app
    File Type: com.apple.application-bundle
     Comments: 
     Keywords: 
    Last Used: 2015-04-29 18:26:02 +0000

Raw mdls File Metadata
======================

kMDItemAlternateNames          = (
    "Default bgjohebimpjdhhocbknplfelpmdhifhd.app"
)
kMDItemCFBundleIdentifier      = "com.google.Chrome.app.Default-bgjohebimpjdhhocbknplfelpmdhifhd"
kMDItemContentCreationDate     = 2015-04-29 18:26:00 +0000
kMDItemContentModificationDate = 2015-04-29 18:26:00 +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"
)
kMDItemDateAdded               = 2015-04-29 18:26:00 +0000
kMDItemDisplayName             = "Default bgjohebimpjdhhocbknplfelpmdhifhd"
kMDItemExecutableArchitectures = (
    "x86_64"
)
kMDItemFSContentChangeDate     = 2015-04-29 18:26:00 +0000
kMDItemFSCreationDate          = 2015-04-29 18:26:00 +0000
kMDItemFSCreatorCode           = ""
kMDItemFSFinderFlags           = 0
kMDItemFSHasCustomIcon         = (null)
kMDItemFSInvisible             = 0
kMDItemFSIsExtensionHidden     = 1
kMDItemFSIsStationery          = (null)
kMDItemFSLabel                 = 0
kMDItemFSName                  = "Default bgjohebimpjdhhocbknplfelpmdhifhd.app"
kMDItemFSNodeCount             = 1
kMDItemFSOwnerGroupID          = 20
kMDItemFSOwnerUserID           = 501
kMDItemFSSize                  = 94637
kMDItemFSTypeCode              = ""
kMDItemKind                    = "Programm"
kMDItemLanguages               = (
    en
)
kMDItemLastUsedDate            = 2015-04-29 18:26:02 +0000
kMDItemLogicalSize             = 94637
kMDItemPhysicalSize            = 110592
kMDItemUseCount                = 1
kMDItemUsedDates               = (
    "2015-04-28 22:00:00 +0000"
)
kMDItemVersion                 = "41.0.2272.104"

The app is listed in Finder under ~/Apps/Chrome-Apps as "Todoist für Chromebook"  (German locale).

 

So I what causes the different behavior between your (Vero's) and my system?

Edited by felixbuenemann
Link to comment
Share on other sites

For others hitting the same problem use the following workaround:

 

Just add English as a secondary preferred language under System Preferences -> Language & Region -> Preferred languages.

To keep your default system language, make sure that your native language is the top entry in the list.

 

@Andrew/Vero This seems to be a Chromium bug, so feel free to mark this topic as resolved.

Link to comment
Share on other sites

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...