[Wayland-bugs] [Bug 84034] New: input-method.xml has a factory for wl_keyboard causing version conflict
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Sep 18 02:23:43 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=84034
Priority: medium
Bug ID: 84034
Assignee: wayland-bugs at lists.freedesktop.org
Summary: input-method.xml has a factory for wl_keyboard causing
version conflict
Severity: normal
Classification: Unclassified
OS: All
Reporter: ppaalanen at gmail.com
Hardware: All
Status: NEW
Version: unspecified
Component: weston
Product: Wayland
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20140918/6250cb96/attachment.html>
More information about the wayland-bugs
mailing list