Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Electron 11: remote.screen EventEmitter methods are undefined #26713

Closed
3 tasks done
deanylev opened this issue Nov 27, 2020 · 2 comments · Fixed by #26809
Closed
3 tasks done

Electron 11: remote.screen EventEmitter methods are undefined #26713

deanylev opened this issue Nov 27, 2020 · 2 comments · Fixed by #26809
Assignees
Labels
11-x-y 12-x-y bug/regression ↩️ A new version of Electron broke something
Projects

Comments

@deanylev
Copy link

deanylev commented Nov 27, 2020

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

  • Electron Version:
    • 11.03
  • Operating System:
    • macOS 11.0.1

Expected Behavior

remote.screen has EventEmitter methods such as on defined, to listen to screen events such as display-added

Actual Behavior

remote.screen does not have any defined EventEmitter methods

To Reproduce

In the devtools, inspect require('electron').remote.screen and notice that it does not have the on method defined

Additional Information

There was a PR to address other remote.screen methods not being defined that was merged in 11.0.3 (#26660), but it did not seem to address this bug

@VerteDinde VerteDinde added 11-x-y bug/regression ↩️ A new version of Electron broke something labels Nov 30, 2020
@nornagon
Copy link
Member

nornagon commented Dec 1, 2020

Duplicate of #26610.

@nornagon nornagon closed this as completed Dec 1, 2020
@nornagon nornagon reopened this Dec 1, 2020
@nornagon
Copy link
Member

nornagon commented Dec 1, 2020

Oops, I see now that this is a different issue.

@VerteDinde VerteDinde added this to Unsorted Issues in 12-x-y Dec 2, 2020
@sofianguy sofianguy moved this from Unsorted Issues to Blocks Stable in 12-x-y Dec 3, 2020
@sofianguy sofianguy moved this from Blocks Stable to Fixed for Next Release in 12-x-y Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
11-x-y 12-x-y bug/regression ↩️ A new version of Electron broke something
Projects
No open projects
12-x-y
Fixed for Next Release
Development

Successfully merging a pull request may close this issue.

4 participants