<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - inconsistent interpretation of preserved modifiers with xkbcommon"
href="https://bugzilla.gnome.org/show_bug.cgi?id=754110#c23">Comment # 23</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - inconsistent interpretation of preserved modifiers with xkbcommon"
href="https://bugzilla.gnome.org/show_bug.cgi?id=754110">bug 754110</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=carlosg%40gnome.org" title="Carlos Garnacho <carlosg@gnome.org>"> <span class="fn">Carlos Garnacho</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=316879&action=diff" name="attach_316879" title="wayland: Test partial consumed modifier matches more thoroughly">attachment 316879</a> <a href="attachment.cgi?id=316879&action=edit" title="wayland: Test partial consumed modifier matches more thoroughly">[details]</a></span> <a href='review?bug=754110&attachment=316879'>[review]</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>