<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - input-method.xml has a factory for wl_keyboard causing version conflict"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84034">84034</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>input-method.xml has a factory for wl_keyboard causing version conflict
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ppaalanen@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>weston
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr></table>
<p>
<div>
<pre>Request wl_input_method_context.grab_keyboard creates a new wl_keyboard object.
wl_seat.get_keyboard is the primary request for creating wl_keyboard objects.
This causes a runtime interface versioning conflict.
wl_keyboard in core is already at version 4, but you can only create
wl_keyboard version 1 via wl_input_method_context. You cannot bump
wl_input_method_context version without starting to get wl_keyboards of higher
version. The major problem comes, when you bump input-method interface version
beyond what is currently the highest version of wl_seat, and then someone adds
a new thing to wl_keyboard. Input-method would start dealing out wl_keyboards
automatically with a version claiming to support the new thing without clients
or servers ever implementing the support.
wl_input_method_context.grab_keyboard should not be creating objects of type
wl_keyboard, but the type should be unique for wl_input_method_context.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>