peek icon indicating copy to clipboard operation
peek copied to clipboard

Cannot type anything with Gnome/Wayland

Open madflow opened this issue 6 years ago • 12 comments

On my Arch Linux Box with Gnome+Wayland I cannot type anything in web textboxes (or anything else) when the Peek selection window is active.

The same happens on a Ubuntu 18.04 System with Gnome.

Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.1 LTS
Release:	18.04
Codename:	bionic

When I switch to "Gnome+XORG" at the login screen - Peek works again.

Maybe this is in a known issue?

I am not married to using Wayland but this is the default.

madflow avatar Sep 21 '18 06:09 madflow

Same problem on Arch Linux. I suppose this is related to the general issue with Wayland: https://github.com/phw/peek/issues/33 But the developer wontfix.

simonbcn avatar Oct 23 '18 14:10 simonbcn

@simonbcn Thanks for the hint! I will close this issue since it is a duplicate.

madflow avatar Oct 23 '18 15:10 madflow

No, this is a separate issue. Wayland is supported as long as you are using Gnome with XWayland available. That you are not able to type is a bug somewhere. This definitely worked at some point. Can you not type anywhere or just not click through the Peek window?

phw avatar Oct 23 '18 15:10 phw

@phw I cannot type click through the window. I guess it is more precise to say, that the underlying window containing the textarea/console etc. does not get focused when I click on it through the peek window. When I open the Gnome Terminal and focus the window by clicking "next" to the Peek frame, then I can type again.

EDIT: I has been a while - Clicking on links on webpages or on browser controls does work - just not typing.

madflow avatar Oct 23 '18 18:10 madflow

Me too. But I found a simple solution :)

  1. Make the application that you want to interact (or say typing into) always on the top. Just simply right click on the title bar and click "Always on the top";

  2. Click Peek's Record button to record;

  3. Right click Peek's tile bar and uncheck "Always on the top".

And now you can input : )

BTW, do not take the step 3 before step 2, cause when you click Record button, Peek is on the top again.

Generally speaking, always ensure the application you want to interact with is on the top and Peek is not on the top.

And I just tested my OS, archlinux, Peek installed by pacman -S peek and version is 1.3.1-3.

Anudorannador avatar Oct 24 '18 21:10 Anudorannador

In desktop applications (other than the browser) I can neither click nor type.

simonbcn avatar Oct 25 '18 12:10 simonbcn

I have the same problem in Fedora 29 using Gnome + Wayland. Only can type on gnome shell, but cannot type in whatever other windows (Firefox, Sublime Text, etc.). I test changing to Gnome+Xorg and can type in all places again, so its some problem with Gnome+Wayland.

fvromera avatar Nov 13 '18 08:11 fvromera

Same issue here, I cannot click throught window :( I'm currenty using i3wm on manjaro.

Desktop=i3 Type=x11

There should be just option do turnof this frame, thats all.

Migacz85 avatar Jan 17 '19 13:01 Migacz85

Just as an update: I can reproduce this with Wayland. This definitely worked at some point, but doesn't anymore. I am not sure if I can fix this. Having Peek fully support Wayland currently seems to be rather unlikely.

@Migacz85 i3 is a totally different story, please refer to #52

phw avatar Jun 16 '19 10:06 phw

1.5.1: I ran into this today. I think the difference is whether the app you're trying to record is compositing on Wayland directly, or going through XWayland.

Modern Firefox has Wayland support, and failed to receive input. Setting Firefox "Always on Top" hides Peek controls completely so not sure how that's supposed to work https://github.com/phw/peek/issues/365#issuecomment-432828444

Chrome OTOH succeeded in getting input fine.

This on Gnome 3.34.

lkraav avatar Jun 20 '20 14:06 lkraav

I have been experiencing the same issue with Ubuntu 22.04 LTS and also with the Ubuntu 22.10. Not quite sure how to effectively work around it - unfortunately this does make using Peek rather difficult, for now I am reverting to the built in screen recorder (which is recording properly again with 22.10 as it ships Gnome 43 which fixes the buffer error present in the gstreamer version bundled into Gnome 42).

GrayedFox avatar Oct 30 '22 22:10 GrayedFox

Same for me but you can't perform other actions either as reported in #1231, seems it has the same root problem.

Thanks to @Anudorannador, his workaround above has worked for me.

pablomartin4btc avatar Sep 10 '23 21:09 pablomartin4btc