kando-menu / kando

🥧 The Cross-Platform Pie Menu.
https://ko-fi.com/schneegans
Other
3.1k stars 89 forks source link

kando performance optimization #650

Closed magiceses closed 1 month ago

magiceses commented 1 month ago

Description

Under macos, when I pressed the shortcut key to display kando and selected to switch the left and right desktop, I could see the obvious stutch, around 1s. It is very smooth to switch the desktop directly through the mac shortcut keys. So kando can optimize the performance of this aspect?

Affected Desktop Environments

macOS

Additional Information

No response

Schneegans commented 1 month ago

Hi there! Well, you should make sure to uncheck the "Execute Delayed" checkbox in the configuration of the "Simulate Shortcut" action. Then the delay should be reduced to a minimum.

magiceses commented 1 month ago
image

Do you mean this configuration?

Schneegans commented 1 month ago

Yes. If this makes no difference, you can try running the osascript command in a terminal. If this has some delay as well, there is not much which Kando can do about this....

Schneegans commented 1 month ago

I have just pushed some changes which will (in the next version) make it will be possible to change the fade-in and fade-out duration of the menu. You can set the fade-out duration to 0 to make the execution of actions as fast as possible.