samhocevar / wincompose

🔣 Compose Key for Windows
http://wincompose.info/
Other
2.61k stars 83 forks source link

WinCompose disables itself when connecting to remote desktop #325

Open ghalse opened 4 years ago

ghalse commented 4 years ago

Since I updated to 0.9.4, I've noticed that WinCompose keeps disabling itself when I connect via remote desktop. In the debug windows I see global.disabled being set to true when I connect from a remote computer.

Unfortunately, the behaviour does not seem to be configurable, nor does it automatically re-enable itself when you return to the console; I have to manually re-enable it every time.

This gets tedious for people who frequently switch between using remote desktop and working directly on the console. More often than not I discover this when I try to type a keystroke and it doesn't work -- and then remember I connect remotely, and re-enable it. It has gone from being something that just worked (tm) to being something that requires a lot of work to be useful.

Is there any way to add a configuration option to disable this behaviour? Or, if it is needed to fix some other problem, to automatically re-enable when the remote desktop session ends?

samhocevar commented 4 years ago

Thanks for the report. It appears that connecting through remote desktop launches a new instance of WinCompose, which causes the currently running instance to disable itself. I will think about a fix.

ghalse commented 4 years ago

Ah, so it's a bug rather than a feature. I'd assumed the latter, so that's somewhat good news.