wavexx / screenkey

A screencast tool to display your keys inspired by Screenflick
https://www.thregr.org/~wavexx/software/screenkey/
GNU General Public License v3.0
757 stars 66 forks source link

Missing support for wayland #61

Closed albfan closed 5 years ago

albfan commented 6 years ago

Open gnome-terminal or terminator all the input goes to that windows, and nothing goes to screenkey

If you change to focus a browser or other kind of app, input goes again to screenkey

wavexx commented 6 years ago

I guess this is in wayland, right? It can be that gnome-terminal bypasses X11 entirely, and thus doesn't actually generate events screenkey can see.

albfan commented 6 years ago

Yes it is. Migrate to gtk3 would solve it? Why chrome do not capture input, neither other apps. What's the difference.

I can do a triage if you know a battery of apps to try with, is there any terminator that should work?

wavexx commented 6 years ago

On Thu, Dec 21 2017, Alberto Fanjul wrote:

Yes it is. Migrate to gtk3 would solve it? Why chrome do not capture input, neither other apps. What's the difference.

I don't know the situation exactly, as I'm not going to try wayland until I have a decent tiling window manager and server-side-decorations everywhere, but it's unlikely this is ever going to work.

wayland has a different input model, and the inputlistener in screenkey probably needs to be rewritten completely.

I'm not even sure server-side full input capture can actually be done in wayland in the current state (I'd be happy to be proven wrong).

albfan commented 6 years ago

Will ask on GNOME forums for this, meanwhile:

terminal-vs-browser

albfan commented 6 years ago

Using x11 it works correctly

works-correctly-x11