Skip to content

remote.getCurrentWindow returns incomplete window object #132

Description

@Nantris

Is this an inherent limitation? A design choice?

image

Through this we cannot access anything, like for instance to see if the window is set to remain alwaysOnTop.

Activity

  1. Nantris commented on Jul 9, 2022

    @Nantris
    Author

    Thanks for your reply, but that's what we're already doing, and it does not work as remote used to work. Almost every property is missing. Where's alwaysOnTop? Where's everything else besides these five properties?

    • devToolsWebContents
    • name
    • setBounds
    • _events
    • _eventsCount
  2. MarshallOfSound commented on Jul 9, 2022

    @MarshallOfSound
    Member
  3. Nantris commented on Jul 9, 2022

    @Nantris
    Author

    Very appreciative for the reply @MarshallOfSound. Bummer to not have access to all the old features of remote for debugging though; it made life so much easier when debugging certain issues.

    I can't test this currently, but I don't suppose that we could transmit the entire BrowserWindow across contextBridge either, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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