Giter Club home page Giter Club logo

Comments (12)

Fauntleroy avatar Fauntleroy commented on August 22, 2024 2

@sentialx I'm not completely sure, but it would seem that the fiddle I posted now crashes on windowManager.getWindows();

from node-window-manager.

Fauntleroy avatar Fauntleroy commented on August 22, 2024 1

@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.

sentialx avatar sentialx commented on August 22, 2024

Does it work for you on 1.3.0?

from node-window-manager.

Fauntleroy avatar Fauntleroy commented on August 22, 2024

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.

sentialx avatar sentialx commented on August 22, 2024

@Fauntleroy Does the example.js file work for you?

from node-window-manager.

Fauntleroy avatar Fauntleroy commented on August 22, 2024

It does not, it seems to crash on const window = windowManager.getActiveWindow();.

from node-window-manager.

sentialx avatar sentialx commented on August 22, 2024

@Fauntleroy Could you try adding windowManager.requestAccessibility() to the top? I forgot about it.

from node-window-manager.

Fauntleroy avatar Fauntleroy commented on August 22, 2024

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.

sentialx avatar sentialx commented on August 22, 2024

What node-window-manager version do you use?

from node-window-manager.

Fauntleroy avatar Fauntleroy commented on August 22, 2024

Electron Fiddle always installs the latest version of the module, so 1.3.1:

image

from node-window-manager.

sentialx avatar sentialx commented on August 22, 2024

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.

sentialx avatar sentialx commented on August 22, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.