[Wayland-bugs] [Bug 754110] inconsistent interpretation of preserved modifiers with xkbcommon
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Mon Dec 7 05:56:17 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=754110
--- Comment #23 from Carlos Garnacho <carlosg at gnome.org> ---
Created attachment 316879
--> https://bugzilla.gnome.org/attachment.cgi?id=316879&action=edit
wayland: Test partial consumed modifier matches more thoroughly
Keycodes in the "CTRL+ALT" group used to trigger server-side actions
(VT switching, terminate server, ...) and are traditionally never seen
by GTK+. However, libxkbcommon observes those, and gives those a
treatment suitable for the server-side, but unfortunately incompatible
with what GTK+ was doing there:
- To xkbcommon, the consumed modifiers mask for any key in this group
(eg. F1) would contain Ctrl|Shift|Mod1|Mod5, but however only the
presence of Ctrl+(Mod1|5) would produce a different keysym.
- GTK+ OTOH has never seen these keycombos, so to it, all the modifier
combinations that can be seen result on the same keysym (eg. Shift+F1,
ctrl+F1), as such GTK+ doesn't announce these modifiers as "consumed".
In order make GTK+ compatible with other backends, perform extra checks
on the consumed modifiers, if we're positive that the current combination
of modifiers doesn't result in a different keysym than it would happen
without those active, they are removed from the consumed modifiers mask.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20151207/4713b671/attachment.html>
More information about the wayland-bugs
mailing list