talonhub / community

Voice command set for Talon, community-supported.
MIT License
623 stars 779 forks source link

Custom subtitles steal focus from talon debug window #1552

Closed knausj85 closed 1 month ago

knausj85 commented 1 month ago

Version: 0.4.0-386-g7246, Branch: beta, OS: macOS-14.6.1-x86_64-i386-64bit

When attempting to use the talon debug window even with very basic commands, the custom subtitles (https://github.com/talonhub/community/tree/main/plugin/subtitles) steal focus.

A temporary workaround is to disable subtitles in talon_debug_window/talon_debug_window.talon. I'm not sure if this is a talon bug or a custom subtitle bug

lunixbochs commented 1 month ago

do talon's subtitles steal focus?

knausj85 commented 1 month ago

do talon's subtitles steal focus?

It appears so. This appears to be Mac specific (can't speak to Linux)

lunixbochs commented 1 month ago

maybe winit is calling something like makeKeyAndOrderFront when we create a canvas

lunixbochs commented 1 month ago

I think this is fixed in beta 389

knausj85 commented 1 month ago

Verified fixed in Version: 0.4.0-389-g05a6, Branch: beta, OS: macOS-14.6.1-x86_64-i386-64bit