Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-08-21 17:44:53

jt1122
Member
Registered: 2021-03-26
Posts: 245

xev doesn't detect keypress event

Hi,

I'm using xfce 4.18 with Debian testing.

I'm trying to us xev to get keypress events in an app window, for example:

 xev -id 12345678 

It only detects "keyRelease" events but not "keyPress" ones.
On the window that xev opens (without the -id option) it detects both events/

Any fixes?

Thanks

Offline

#2 2024-08-23 04:20:00

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 862

Re: xev doesn't detect keypress event

have you tried this on other apps or just the one app of interest (besides xev's own window).  i'm just wondering if that app has set up anything weird.

Offline

#3 2024-08-23 12:52:30

jt1122
Member
Registered: 2021-03-26
Posts: 245

Re: xev doesn't detect keypress event

Hi,

I've checked that prior to posting here. It's the same with other app such as xcolors.

Offline

#4 2024-08-23 23:14:38

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 862

Re: xev doesn't detect keypress event

then, it is beyond my level of knowledge of GUI programming (almost 0).  i've never seen xev fail like that.  i've wanted to look into its source code to see how it can get what another process gets, like is this a feature in X and are there security implications.

Offline

#5 2024-08-24 09:21:40

jt1122
Member
Registered: 2021-03-26
Posts: 245

Re: xev doesn't detect keypress event

Thanks

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 9 queries executed - Memory usage: 522.5 KiB (Peak: 523.13 KiB) ]