GNOME Bugzilla – Bug 786519
Regression in 3.22.18: Keyboard key release event is not generated for Alt and Shift
Last modified: 2017-08-22 15:44:05 UTC
My system: Fedora Workstation 26 x64 with MATE Desktop Gtk+ version: 3.22.18-2 I have a browser extension for Chrome/Opera named "Zoomba". It allows to zoom pages with the mouse wheel, with pressed Control or Shift key. Recently I noticed, that when I started zooming with Control key pressed, the zoom was changed even when I released the Control key. I debugged it and I saw, that the javascript event "keyup" was not triggered. In Gtk version 3.22.17 the problem does not exists. Uprading only one package gtk3-3.22.18-2 is causing this error. My extension is not so important, but this problem probably will cause other errors, when keyboard in browsers will be used. I looked at the differences between these versions, and I found changes in key release event handling in gtkimcontextsimple.c.
Are you able to test whether this problem is fixed by commit 7a3126f4bb8d5017b1989f112dadd96f87677f50 from bug 786594 ?
Pretty sure this is the same issue. Please reopen if you still see it with 3.22.19
I tested my testcase on the fixed version, and it's OK now. What I have done: I - downloaded current (fixed) 3.22.18 branch and compiled it in a separate directory - checked that gtkimcontextsimple.c contains the fix. - copied a libgtk-3.so.0.2200.18 library to /usr/lib64 - tested my extension on Chrome and Opera with success - reinstalled current Fedora Gtk package from the official repository. - tested again - error occurred as expected - repeated tests twice to ensure that everything is correct. So, now I will be used the fixed version and I'll be waiting for the next release from Fedora. Thank you for so fast reaction :)
Thanks for confirming!
*** Bug 786594 has been marked as a duplicate of this bug. ***