Giter VIP home page Giter VIP logo

Comments (11)

pjebs avatar pjebs commented on May 29, 2024

What OS and electron version are you using?

from electron-alert.

pjebs avatar pjebs commented on May 29, 2024

electron/electron#20963

from electron-alert.

zensabbah avatar zensabbah commented on May 29, 2024

OSX Mojave and Electron 4.2.12

from electron-alert.

pjebs avatar pjebs commented on May 29, 2024

I really don't know why this function doesn't exist for you. It's a recognised function in the API.

from electron-alert.

zensabbah avatar zensabbah commented on May 29, 2024

No idea dude!

from electron-alert.

pjebs avatar pjebs commented on May 29, 2024

Have you thought about upgrading from v4?

from electron-alert.

zensabbah avatar zensabbah commented on May 29, 2024

I'm working in a project, maybe at the end, but thanks for the suggestion!

from electron-alert.

pjebs avatar pjebs commented on May 29, 2024

I wrote this article: https://electron.guide/final-polish/renderer/#prevent-browserwindow-refreshes

I'm thinking of removing globalShortcut altogether from this library and instead requiring the user of the library to follow the instructions in the article instead.

globalShortcut interferes with the all shortcuts on a mac and is probably not good practice.

from electron-alert.

zensabbah avatar zensabbah commented on May 29, 2024

Ok! Thanks a lot for your help!

from electron-alert.

CaiIsProgrammer avatar CaiIsProgrammer commented on May 29, 2024

can we get globalShortcut removed from the project please?

from electron-alert.

pjebs avatar pjebs commented on May 29, 2024

@CaiIsProgrammer a new version will allow globalShortcut to be removed when setting bwOptions.noGlobalShortcut = true

from electron-alert.

Related Issues (12)

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.