-
Notifications
You must be signed in to change notification settings - Fork 121
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
Alt key remains stuck while switching focus between certain applications and workspaces #1202
Comments
Does the issue appear only in ScummVM (e.g. not firefox or other app you mentioned?) and does it use SDL? If so, please report to sdl instead. As workaround try for sdl to run x11 (SDL_VIDEODRIVER) When report the bug, attach the log of scummvm with |
I've just done some further testing. Apart from ScummVM, I can reproduce the issue with the following games:
The issue doesn't occur with Firefox at all.
It doesn't make any difference whether I set However, I did discover the following:
I'm really not sure what is causing the issue exactly, but sure, I can try reporting it to them later. |
If wine is involved, then it's probably related to xwayland. There's one fix I can try. While it was causing issue in sway 1.9, swaywm/sway#8143 1.10 should already merge the fix. Can you try revert this and see if it helps? |
What's the correct way of compiling fcitx5 from source if I don't want to overwrite any system files managed by I've just looked at the PKGBUILD for Arch Linux, and tried the following commands:
After they successfully run, I can't find any executable with the name I've also taken a look at the building instructions here, but |
@maxigaz I suggest you make a copy of arch's pkgbuild. revert the patch above in pkgbuild and build your own fcitx5 package. Then you can just install it with pacman. If you think things goes wrong just simply do pacman -S fcitx5 to install the official version (shouldn't require internet if you still have it in the cache.) |
OK, I've just compiled and installed the package |
@maxigaz thanks, I'm glad it works. I may revert this change but leave an option to allow people to workaround the previous issue. At that time when it was causing issue, sway 1.10 was not released (and some other compositor is having issue too). |
Summary
On Sway 1.10, while the window of certain games are in focus, the Alt key remains stuck if I switch to a different workspace and back to the one the game's window is on.
This happens only in certain cases, depending on what is running on the other workspace. For example, let's say the game is running on workspace 1. Now, on workspace 2:
Steps to Reproduce
LWin + 2
.LWin + 1
.LAlt + Space
).Enter
key.The result: ScummVM switches to windowed mode, as if you pressed
LAlt + Enter
.Expected Behavior
On pressing
Enter
, a menu item or dialogue window should be selected in ScummVM (same as clicking or double clicking on whatever is highlighted).Output of fcitx5-diagnose command
System Info:
uname -a
:lsb_release
:lsb_release
not found./etc/lsb-release
:/etc/lsb-release
not found./etc/os-release
:Desktop Environment:
Cannot determine desktop environment.
XDG SESSION TYPE:
Bash Version:
Environment:
DISPLAY:
Keyboard Layout:
setxkbmap
:xprop
:Locale:
All locales:
Current locale:
Directories:
Home:
${XDG_CONFIG_HOME}
:Environment variable
XDG_CONFIG_HOME
is set to/home/maxigaz/.config
.Current value of
XDG_CONFIG_HOME
is~/.config
(/home/maxigaz/.config
).Fcitx5 Settings Directory:
Current fcitx5 settings directory is
~/.config/fcitx5
(/home/maxigaz/.config/fcitx5
).Current user:
The script is run as maxigaz (1000).
Fcitx State:
executable:
Found fcitx5 at
/usr/bin/fcitx5
.version:
Fcitx version:
5.1.11
process:
Found 1 fcitx5 process:
fcitx5-remote
:fcitx5-remote
works properly.DBus interface:
Using
dbus-send
to check dbus.Owner of DBus name
org.fcitx.Fcitx5
is:1.175
.PID of DBus name
org.fcitx.Fcitx5
owner is144412
.Debug information from dbus:
Fcitx Configure UI:
Config Tool Wrapper:
Found fcitx5-configtool at
/usr/bin/fcitx5-configtool
.Config GUI for qt:
Found
fcitx5-config-qt
at/usr/bin/fcitx5-config-qt
.Config GUI for kde:
kcmshell5
not found.Frontends setup:
The environment variable checked by this script only shows the environment under current shell. It is still possible that you did not set the environment to the whole graphic desktop session. You may inspect the actual environment variable of a certain process by using
xargs -0 -L1 /proc/$PID/environ
for a certain process that you find not working.Xim:
${XMODIFIERS}
:Environment variable XMODIFIERS is set to "@im=fcitx" correctly.
Xim Server Name from Environment variable is fcitx.
XIM_SERVERS on root window:
Xim server name is the same with that set in the environment variable.
XIM encoding:
Your LC_CTYPE is set to C whose encoding is not UTF-8. You may have trouble committing strings using XIM.
Qt:
qt4 -
${QT4_IM_MODULE}
:Environment variable QT_IM_MODULE is set to "fcitx" correctly.
fcitx5-qt4-immodule-probing
not found.qt5 -
${QT_IM_MODULE}
:Environment variable QT_IM_MODULE is set to "fcitx" correctly.
Using fcitx5-qt5-immodule-probing to check the actual im module to be used under current environment:
qt6 -
${QT_IM_MODULE}
:Environment variable QT_IM_MODULE is set to "fcitx" correctly.
Using fcitx5-qt6-immodule-probing to check the actual im module to be used under current environment:
Qt IM module files:
Found fcitx5 im module for qt:
/usr/lib/qt/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so
.Found fcitx5 qt6 module:
/usr/lib/fcitx5/qt6/libfcitx-quickphrase-editor5.so
.Found fcitx5 qt5 module:
/usr/lib/fcitx5/qt5/libfcitx-quickphrase-editor5.so
.Found unknown fcitx qt module:
/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_fcitx5.so
.Found fcitx5 im module for qt6:
/usr/lib/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so
.Following error may not be accurate because guessing Qt version from path depends on how your distribution packages Qt. It is not a critical error if you do not use any Qt application with certain version of Qt or you are using text-input support by Qt under Wayland.
Cannot find fcitx5 input method module for Qt4.
Gtk:
gtk -
${GTK_IM_MODULE}
:Environment variable GTK_IM_MODULE is set to "fcitx" correctly.
Using fcitx5-gtk2-immodule-probing to check the actual im module to be used under current environment:
Using fcitx5-gtk3-immodule-probing to check the actual im module to be used under current environment:
Using fcitx5-gtk4-immodule-probing to check the actual im module to be used under current environment:
gtk-query-immodules
:gtk 2:
Found
gtk-query-immodules
for gtk2.24.33
at/usr/bin/gtk-query-immodules-2.0
.Version Line:
Found fcitx5 im modules for gtk
2.24.33
.gtk 3:
Found
gtk-query-immodules
for gtk3.24.43
at/usr/bin/gtk-query-immodules-3.0
.Version Line:
Found fcitx5 im modules for gtk
3.24.43
.Found
gtk-query-immodules
for gtk3.24.43
at/usr/bin/gtk-query-immodules-3.0-32
.Version Line:
Failed to find fcitx5 in the output of
/usr/bin/gtk-query-immodules-3.0-32
Gtk IM module cache:
gtk 2:
Found immodules cache for gtk
2.24.33
at/usr/lib/gtk-2.0/2.10.0/immodules.cache
.Version Line:
Found fcitx5 im modules for gtk
2.24.33
.gtk 3:
Found immodules cache for gtk
3.24.43
at/usr/lib/gtk-3.0/3.0.0/immodules.cache
.Version Line:
Found fcitx5 im modules for gtk
3.24.43
.Found immodules cache for gtk
3.24.43
at/usr/lib32/gtk-3.0/3.0.0/immodules.cache
.Version Line:
Failed to find fcitx5 in immodule cache at
/usr/lib32/gtk-3.0/3.0.0/immodules.cache
Gtk IM module files:
gtk 2:
All found Gtk 2 immodule files exist.
gtk 3:
All found Gtk 3 immodule files exist.
gtk 4:
All found Gtk 4 immodule files exist.
Configuration:
Fcitx Addons:
Addon Config Dir:
Found fcitx5 addon config directory:
/usr/share/fcitx5/addon
.Addon List:
Found 21 enabled addons:
Found 0 disabled addons:
Addon Libraries:
All libraries for all addons are found.
User Interface:
Found 3 enabled user interface addons:
Input Methods:
/home/maxigaz/.config/fcitx5/profile
:Log:
date
:/home/maxigaz/.config/fcitx5/crash.log
:Warning: the output of fcitx5-diagnose contains sensitive information, including the distribution name, kernel version, name of currently running programs, etc.
Though such information can be helpful to developers for diagnostic purpose, please double check and remove as necessary before posting it online publicly.
The text was updated successfully, but these errors were encountered: