[Scummvm-tracker] [ScummVM :: Bugs] #13076: MACOS: ScummVM for macOS associates itself with Xcode project files
ScummVM :: Bugs
trac at scummvm.org
Sun Jun 5 18:06:11 UTC 2022
#13076: MACOS: ScummVM for macOS associates itself with Xcode project files
-------------------+-----------------------------
Reporter: kode54 | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Port: Mac OS X
Version: | Resolution:
Keywords: | Game:
-------------------+-----------------------------
Comment (by criezy):
This might be an issue specific to macOS Monterey because I have never
seen it on Big Sur on any of the macOS X variants.
The `LSHandlerRank` set to `Alternate` should not cause ScummVM to be used
by default to open those documents.
The generic file type handling was added to allow Drag&Drop of any file to
detect games.
Since I cannot reproduce the issue I will need some help to fix it.
Does it help if you add `CFBundleTypeRole` set to `Viewer` as well?
We might otherwise have to restrict the CFBundleDocumentTypes. Note that
`All files` is just a name and does not matter. What matters is the types
listed in the `LSItemContentTypes` array. A list of types can be found on
https://developer.apple.com/library/archive/documentation/Miscellaneous/Reference/UTIRef/Articles
/System-DeclaredUniformTypeIdentifiers.html
We could for example restrict to `public.directory` to only support
dropping directories, which for detection would be acceptable.
Also dropping on a ScummVM window is not impacted by this. The types
listed in the Info.plist only control what files can be dropped on the
application icon (e.g. in the Finder or in the Dock). So if
--
Ticket URL: <https://bugs.scummvm.org/ticket/13076#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list