-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
[Catalina] Accessing many window methods crashes application #27
Comments
Does it work for you on |
@sentialx I'm not completely sure, but it would seem that the fiddle I posted now crashes on |
I'm sorry, but I feel like I was misunderstood: this module now crashes on |
@Fauntleroy Does the |
It does not, it seems to crash on |
@Fauntleroy Could you try adding |
I added it back to my test script. It either does nothing, or access has already been granted. In any case, the crashes still persist when trying to use just about any window method. |
What |
Okay, it seems it works for me because I don't have macOS Catalina. I'm curious what did they change so that it doesn't work... |
@Fauntleroy Fixed in 2.0.0, although the |
@sentialx I can confirm that my test script is now working as expected! The loss of |
When attempting to use methods like
getBounds
andsetBounds
on window objects acquired withwindowManager.getWindows
—or fromnew Window
—the application crashes. I've been able to use these methods in the past on the window object returned bywindowManager.getActiveWindow()
. Is this some kind of permission or security issue?I have an Electron Fiddle here: https://gist.github.com/Fauntleroy/84fde89e6ede40becffa1fe53132ab7b
Steps to reproduce:
The text was updated successfully, but these errors were encountered: