Input events seem doubled

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
yoshi314
Posts: 104
Joined: Wed May 16, 2012 12:57 am

Input events seem doubled

Post by yoshi314 »

I am using git gzoom, the problem appeared well before 3.0. Basically it seems that the inputs get doubled. Trying to open console opens and instantly closes it. Similarly trying to exit the menu to return to game brings it up again with instant flicker - i have to use the mouse.

The console messages report e.g that the follow mode on map switches instantly on and off per keypress. I am not exactly sure why is this happening. I can reproduce it on default configuration with no mods on stock wads.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Input events seem doubled

Post by wildweasel »

Can you tell us which operating system, and which exact version of GZDoom?
yoshi314
Posts: 104
Joined: Wed May 16, 2012 12:57 am

Re: Input events seem doubled

Post by yoshi314 »

currently i am runnning g3.0pre-96-gdcded0e18 on linux, and it might be relevant that i use iBus as my input method on my desktop - not sure of that affects games, though.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Input events seem doubled

Post by wildweasel »

yoshi314 wrote:not sure of that affects games, though.
I wonder about that, actually. Doesn't ZDoom handle keyboard input in some kind of raw fashion? So there's a possibility that it's interpreting both the raw signals from your input device, AND the signals already interpreted by iBus.

I'm assuming you're talking about this one: https://github.com/ibus/ibus
yoshi314
Posts: 104
Joined: Wed May 16, 2012 12:57 am

Re: Input events seem doubled

Post by yoshi314 »

yeah, but afaik ibus works with gtk/qt if specific env variables are set, not globally. then again, maybe not.

i wonder what will happen if i switch to another kb layout in ibus.

edit: it seems to have something to do with it. when i switch to german layout i can open the console. but i cannot close it, though - odd. i can do it if i switch back to original layout
i'll try disabling ibus globally


edit: i disabled ibus and went back to xcompose. things appear normal now.
User avatar
Marisa the Magician
Banned User
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Re: Input events seem doubled

Post by Marisa the Magician »

SDL2 currently has problems with ibus, uim and other input systems. One thing you can do is wrap around gzdoom through a script that unsets XMODIFIERS before launching it.
Post Reply

Return to “Closed Bugs [GZDoom]”