Skip to content

Creating a window with contextIsolation enabled does not enable contextIsolation in electron #906

@NimbusFox

Description

@NimbusFox
  • Version: 0.0.18

.net 9

  • Target: Linux and Windows (Issue was found on Linux)

In WindowManager.cs lines 128-144. If the X and Y values are -1 it uses the global json serializer else it will create a new serializer.

When it uses the global json serializer it fails to enable the contextIsolation and possibly other items as well. Where as if the X or Y value is not -1 it uses a local json serializer which passes along all the values as their defaults if they have not been set a value yet which triggers the options to be set correctly

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions