Comments (12)
@sentialx I'm not completely sure, but it would seem that the fiddle I posted now crashes on windowManager.getWindows();
from node-window-manager.
@sentialx I can confirm that my test script is now working as expected! The loss of window.getTitle
is regrettable, but my primary goal is working!
from node-window-manager.
Does it work for you on 1.3.0
?
from node-window-manager.
I'm sorry, but I feel like I was misunderstood: this module now crashes on windowManager.getWindows()
, and I'm not even sure getBounds
or setBounds
work. Should I file a new issue for getWindows()
causing a crash?
from node-window-manager.
@Fauntleroy Does the example.js
file work for you?
from node-window-manager.
It does not, it seems to crash on const window = windowManager.getActiveWindow();
.
from node-window-manager.
@Fauntleroy Could you try adding windowManager.requestAccessibility()
to the top? I forgot about it.
from node-window-manager.
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.
from node-window-manager.
What node-window-manager
version do you use?
from node-window-manager.
Electron Fiddle always installs the latest version of the module, so 1.3.1:
from node-window-manager.
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...
from node-window-manager.
@Fauntleroy Fixed in 2.0.0, although the window.getTitle
method will crash on macOS Catalina, because it needs some kind of desktop capturer permission (#32).
from node-window-manager.
Related Issues (20)
- window.bringToTop() doesn't work HOT 5
- Prebuilt binaries
- window.isVisible() always returns true HOT 3
- ELIFECYCLE error after repeated `windowManager.getWindows()` usage. HOT 3
- MAC OSX: Allocation CGWindowListCopyWindowInfo and Window Lists Never Releases
- Linux Support HOT 4
- ELECTRON: Doesn't work with packaged app with version > 1.3.1 HOT 5
- Crash when using the lib on Windows HOT 1
- "Is not a valid Win32 application" error HOT 6
- .getIcon() returns empty buffer sometimes HOT 2
- windowmanager.getWindows() crashes electron process on macos Big Sur HOT 4
- setBounds does not work on chrome windows HOT 1
- [Windows] Is it possible to list out windows that are shown on task bar? HOT 2
- Install fails in Electron HOT 3
- Install fails on windows with error in extract-file-icons HOT 2
- While creating new Window by passing Id crashes the electron app HOT 1
- window processIds consistent with Node child_process subprocess pids HOT 1
- mac npm i error
- The node version is too low to node-gyp rebuild
- Support for higher npm version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-window-manager.