Open orbea opened 5 years ago
For example when using using
mod+arrow key
(For the purpose of this issuemod
is the windows key, but it could be other keys likealt
) to switch between workspaces in a window manager RetroArch will correctly see thatmod+arrow key
is pressed and not do anything, but when switching back RetroArch will receive an arrow key as input instead ofmod+arrow key
which have unintended effects based on the specific key used.
Just to add that on Steam, the video player also shows this behaviour so I'm starting to think that this is a Gnome problem.
What could the video player and Retroarch have in common that makes this problem appear? Other apps doesn't seem to suffer from it.
Does this happen on other UI's? XFCE, KDE etc...
Description
Under some circumstances RetroArch fails to read keyboard input correctly and this can conflict with keybinds used by window managers or other programs.
For example when using using
mod+arrow key
(For the purpose of this issuemod
is the windows key, but it could be other keys likealt
) to switch between workspaces in a window manager RetroArch will correctly see thatmod+arrow key
is pressed and not do anything, but when switching back RetroArch will receive an arrow key as input instead ofmod+arrow key
which have unintended effects based on the specific key used.This does not seem to be an issue with other programs such as firefox or libreoffice and seems to affect all video, input or menu drivers.
This entirely not working with a KMS context, but in practice its not really an issue there. I suspect this may also differ with a wayland or other contexts (I am using an x context)? Maybe the specific window manager might also make a difference?
Expected behavior
When RetroArch is receiving input it should always see that a key combination is being pressed instead of individual keys.
Actual behavior
Under some circumstances RetroArch will incorrectly see individual keys being pressed instead of a key combination.
Steps to reproduce the bug
mod+arrow key
. This should be easiest with unix based systems, but it should be possible with windows too?mod+right arrow
.mod+left arrow
.or with a KMS context this can be observed easier.
mod+p
.p
is entered into the search dialog and that RetroArch did not see thatmod+p
was pressed instead of presumablymod
andp
. This doesn't happen with a x context.Bisect Results
I went back to
v1.3.6
and found no change in behavior.Version/Commit
You can find this information under Information/System Information
Environment information
Slackware64-current
gcc-8.3.0