Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on timeout #4

Open
RichardJActon opened this issue Oct 18, 2022 · 8 comments
Open

Crash on timeout #4

RichardJActon opened this issue Oct 18, 2022 · 8 comments

Comments

@RichardJActon
Copy link

wshowkeys initially works fine but when you pause typing and the text times out it crashes generating this error message:

zwlr_layer_surface_v1@12: error 1: the layer surface has a width of 0 but its anchor doesn't include the left and the right screen edge wl_display_dispatch: Protocol error

If you set a higher value of -t it does not crash until it times out

I'm running it on:
Fedora Linux 36 (KDE Plasma 5.25.5)
Kernel 5.19.15-201.fc36.x86_64

@ErynGalen
Copy link

ErynGalen commented Apr 7, 2023

I have the same issue here, I'd be interested if anyone knew what is causing this.
(on Archlinux, latest commit)

@lisuke
Copy link

lisuke commented Apr 8, 2023

❯ wshowkeys
zwlr_layer_surface_v1@11: error 2: layer_surface has never been configured
wl_display_dispatch: Protocol error

OS: Arch Linux
KERNEL: 6.2.10-arch1-1
DE: Hyprland

@DreamMaoMao
Copy link

DreamMaoMao commented Nov 25, 2023

i have the same question , it can't use -t to set timeout, when timeout toggle, it will crash.
OS: Arch Linux x86_64
Kernel: 6.5.7-arch1-1
DE: Hyprland

image

when i set -t 30 ,It won't crash for 30 seconds, but if you don't enter anything beyond 30 seconds, it will crash, so the problem is the crash caused by the timeout policy

@khaneliman
Copy link

khaneliman commented Apr 24, 2024

I am running into the same issue as the other commenters, which are all using Hyprland. I see a different error on the OP though which is using plasma. Curious if it just has anything to do with the outdated protocol definition?

zwlr_layer_surface_v1@12: error 2: layer_surface has never been configured
wl_display_dispatch: Protocol error

@nktnet1
Copy link

nktnet1 commented Jul 11, 2024

Similar issues, but no logs for when it stopped working.

Run with the command:

wshowkeys -a bottom

which has the same error message as #9 initially (although potentially unrelated):

$ wshowkeys -a bottom
libinput error: event8  - PIXA3848:00 093A:3848 Touchpad: kernel bug: clickpad advertising right button. See https://wayland.freedesktop.org/libinput/doc/1.26.1/clickpad-with-right-button.html for details

Also, the link https://wayland.freedesktop.org/libinput/doc/1.26.1/clickpad-with-right-button.html results in a 404.


For anyone looking for an alternative, there is:

it's not exactly the same interface/usage as wshowkeys or "screenkey" on xorg (it's controlled with a GUI), but a working alternative nonetheless.

@JasonGantner
Copy link

Can you check the exit status and messages that are produced with JasonGantner#3 and JasonGantner#4 please?

I can't reproduce the exact same error on sway but this should at least rule out a few options

@ErynGalen
Copy link

I can't reproduce the issue now on latest master.
What about others?

@ErynGalen
Copy link

EDIT: I can reproduce the error, no useful info is given with your PRs, the same crash happens

zwlr_layer_surface_v1#11: error 2: layer_surface has never been configured
wl_display_dispatch: Protocol error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants