electron/remote

remote.getCurrentWindow returns incomplete window object

Nantris opened this issue · 3 comments

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.

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

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?