-
Notifications
You must be signed in to change notification settings - Fork 3
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
Actions not working #4
Comments
There are four possible states for a package.
touch-bar-utility first checks if the package is installed and then checks if the package is enabled. No popup has appeard, so Exposé has been detected. The error you see ocurs if the package is not loaded OR not activated. I checked the Exposé github repository and it turns out, that you have to manually activate the package by issuing the expose:toggle command. So every time you open Atom, you have up to go to the Packages tab and manually toggle Exposé. After you have done that, the command should be able to be issued by the touch bar. |
I have a similar problem with built-in commands like command-palette:toggle. They work after restarting touch-bar, but not after restarting Atom. |
The packages' states are reset when Atom relaunches. The installed and enabled states remain active, but the activated state doesn't. You have to manually toggle one time command-palette through the Packages - command-palette - toggle to activate it every time you start Atom before you can use it with the TouchBar. Some packages activated automatically, but others must be toggle one before getting activated. Sadly that is nothing I can do as I cannot remotely activate other packages from mine. |
Hi, I'm here again.
I'm using this json
[ { "type": "button", "label": "Exposé", "clickDispatchAction": "expose:toggle" } ]
and it always shows this popup:
but as you can see, expose package is loaded and activated.
The text was updated successfully, but these errors were encountered: