mkiol/dsnote

Start listening, text to active window not working

31337-4554551n opened this issue · 6 comments

When enabling accesibility, use of global keyboard shortcuts,
start listening, text to active window doesn't paste the text.

It starts listening, then when it stops the spoken text doesn't appear anywhere.

[edit] If the chosen window is a flatpak app, it works, fine. but not if it's trying to input into a deb installed software

Speechnote 4.4.0 flatpak
OS: Pop!_OS 22.04 LTS x86_64
DE: GNOME 42.9
GPU: AMD ATI 76:00.0 Rembrandt
GPU: AMD ATI Radeon RX 6700/6700 XT
Window system X11

Thanks for reporting.

Yes, it's a common problem. From my observation it is not related to flapak/not-flatpak, but rather it just works perfectly for some apps and does not for other. I still didn't figure out what is root cause...

This feature uses "fake" X11 key strokes events to send text to external window. For some reasons, this method doesn't work always.

Interesting, because for me it works on every flatpak app, and none of the non flatpak apps. Interesting coincidence if that's not the commonality.

I need to make more tests. Maybe this "flatpak" is the right lead...