[Wayland-bugs] [Bug 754110] inconsistent interpretation of preserved modifiers with xkbcommon

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Wed Jan 20 15:21:47 PST 2016


https://bugzilla.gnome.org/show_bug.cgi?id=754110

Ran Benita <ran234 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ran234 at gmail.com

--- Comment #28 from Ran Benita <ran234 at gmail.com> ---
Some background:
https://bugzilla.gnome.org/show_bug.cgi?id=100439
https://mail.gnome.org/archives/gtk-devel-list/2003-August/msg00173.html

And the GDK behavior is documented, so presumably it's considered API by now,
and the wayland backend should reproduce it as faithfully as possible:
https://developer.gnome.org/gdk3/3.18/gdk3-Keyboard-Handling.html#gdk-keymap-translate-keyboard-state

Really, the root of all evil seems to be the CTRL+ALT type, it's the only one
people complain about. It would have been nice if it was just fixed by adding
the sensible preserves, but right now I don't think it would be smart to change
- too risky.

I haven't read Carlos' patch deeply, but if after reading the above links you
think it's correct I can review it if you want.

I don't think libxkbcommon should be changed, unless you find that a scratch
xkb_state etc. does not suffice. This does leave occasional non-toolkit users
out in the cold (like the one in the xkbcommon bug), which is not so nice. So
maybe CTRL+ALT should be changed after all. But such users are in the same boat
as pure-Xlib users, and shortcuts need *a lot* of hacks/special-cases besides
this one.

-- 
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/20160120/219a9f67/attachment.html>


More information about the wayland-bugs mailing list