Skip to content
This repository was archived by the owner on Sep 25, 2024. It is now read-only.
This repository was archived by the owner on Sep 25, 2024. It is now read-only.

Potential crash with NSOpenPanel in BasePathEditorControl on Catalina #657

@sevoku

Description

@sevoku

With Catalina NSSavePanel panels run out-of-proc so that instantiation is not supported anymore (in fact it seems that it was never officially supported) and will crash, hence we have to use the static shared panels instead (NSSavePanel.SavePanel or NSOpenPanel.OpenPanel).

For more details see: dotnet/macios#6474

Affected code:

this.panel = new NSOpenPanel {
AllowsMultipleSelection = false,
CanCreateDirectories = true,
ShowsHiddenFiles = false,
ShowsResizeIndicator = true,
TreatsFilePackagesAsDirectories = true,
};

Bug filed for VS for Mac: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/989519

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions