joshbduncan / AiCommandPalette

Adobe Illustrator Command Palette
https://joshbduncan.com/software.html
MIT License
37 stars 4 forks source link

temp windows flicker fix #9

Closed joshbduncan closed 2 years ago

joshbduncan commented 2 years ago

This is a temporary fix for the Windows OS flickering bug described in issue #8. Until/if a better solution is found for now the query field in Ai Command Palette will not be active when the palette is displayed. This is completely against the whole idea of Ai Command Palette by making the user click inside of the query field before searching for a command.

Sergey Osokin made a good suggestion within the issue about using the mouseover event listener to activate the query field. Still not perfect but better than the flickering.

I plan to try a few other options before I merge this in but as of now, Windows users will not be able to just start typing when the command palette is displayed. If you don't mind the flicker issue and want Ai Command Palette to operate normally, you can toggle the flicker fix with the "Disable/Enable Windows Flicker Fix" config command. This setting will be saved in your user settings and can be toggled at any time.