Git Product home page Git Product logo

Comments (4)

zenangst avatar zenangst commented on June 18, 2024 1

@bjrmatos

Interesting, I see the problem and know why it happens.
Keyboard Cowboy doesn't care about which apps has focus, it checks which is front most. Raycast never becomes front most, unless the preference is actually opened.

There is workaround that could be applied here, but it would involve using the Accessibility API, which is known to be slow.

We could consider enabling an additional flag on the group, that it should only be applied if the currently focused element belongs to the application attached in the group rules. That might work, it would be an opt-in feature in that case.

I'll have to do some additional investigation to figure out if this solution is viable.

from keyboardcowboy.

zenangst avatar zenangst commented on June 18, 2024 1

Thought a little more about this problem and it is not as easy as I thought it would be.
Mainly because we don't have a subscription mechanism in place for when the currently focused element changes. Will have to do a little more tinkering before we can come up with a viable solution.

from keyboardcowboy.

zenangst avatar zenangst commented on June 18, 2024

And again, thanks for bringing this to my attention, I've never stumbled upon this issue before.

As a workaround, you should be able to rebind the key in Google Chrome by using the System Settings way of rebinding it (if the shortcut is located in the menu for the app). Have you tried that already?

from keyboardcowboy.

bjrmatos avatar bjrmatos commented on June 18, 2024

We could consider enabling an additional flag on the group, that it should only be applied if the currently focused element belongs to the application attached in the group rules. That might work, it would be an opt-in feature in that case.

I'll have to do some additional investigation to figure out if this solution is viable.

oh yes, excellent, i will keep an eye for any updates, thank you!

As a workaround, you should be able to rebind the key in Google Chrome by using the System Settings way of rebinding it (if the shortcut is located in the menu for the app). Have you tried that already?

hmm no, i have not tried it, it is a good idea, i will check. it may be great for this case however i have plans for other shortcuts that are not in the menu, i just don't want to have conflicts with Raycast shortcuts :)

thanks again for looking into this

from keyboardcowboy.

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.