RSS/Atom feed Twitter
Site is read-only, email is disabled

Wayland wacom support: binding tablets to the canvas

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

Wayland wacom support: binding tablets to the canvas Peter Hutterer 27 Jun 01:54
  Wayland wacom support: binding tablets to the canvas Michael Natterer 27 Jun 08:47
   Wayland wacom support: binding tablets to the canvas Peter Hutterer 29 Jun 22:44
  Wayland wacom support: binding tablets to the canvas Alexandre Prokoudine 27 Jun 08:50
Peter Hutterer
2014-06-27 01:54:59 UTC (almost 10 years ago)

Wayland wacom support: binding tablets to the canvas

[Please CC me on the reply, I'm not on the list]

Hey guys,

As you may be aware we're currently working on getting wacom graphics tablet support into Wayland. Lyude (on CC) has sent out an inital draft for the protocol, archived here:
http://lists.freedesktop.org/archives/wayland-devel/2014-June/015583.html Dmitry from the Krita project has also triggered a discussion here. http://lists.freedesktop.org/archives/wayland-devel/2014-June/015605.html This is all still in flux, so don't expect the current draft to be the final project, but now's the time to wish for what you need.

All that aside, here's a specific question: GIMP has/had a feature where the surface of the tablet could be mapped to the canvas on the screen. Is this a feature that is currently used or in demand, or is this something we don't need to worry about?
If we do need to consider it, what are the requirements here?

Cheers, Peter

Michael Natterer
2014-06-27 08:47:12 UTC (almost 10 years ago)

Wayland wacom support: binding tablets to the canvas

On Fri, 2014-06-27 at 11:54 +1000, Peter Hutterer wrote:

[Please CC me on the reply, I'm not on the list]

Hey guys,

Hey Peter,

As you may be aware we're currently working on getting wacom graphics tablet support into Wayland. Lyude (on CC) has sent out an inital draft for the protocol, archived here:
http://lists.freedesktop.org/archives/wayland-devel/2014-June/015583.html Dmitry from the Krita project has also triggered a discussion here. http://lists.freedesktop.org/archives/wayland-devel/2014-June/015605.html This is all still in flux, so don't expect the current draft to be the final project, but now's the time to wish for what you need.

All that aside, here's a specific question: GIMP has/had a feature where the surface of the tablet could be mapped to the canvas on the screen. Is this a feature that is currently used or in demand, or is this something we don't need to worry about?
If we do need to consider it, what are the requirements here?

Many people are not even aware of this feature, because this "window mode" has been quite broken for a while in GTK+ 2.x, however in my opinion it is very useful.

GTK+ used to handle that by translating the coordinates, I don't know this works with Wayland, does Wayland have to care about that at all? Does it have XInput-like semantics of master/slave/floating? Or is all of that handled in the GDK backend?

Regards,
--Mitch

Alexandre Prokoudine
2014-06-27 08:50:35 UTC (almost 10 years ago)

Wayland wacom support: binding tablets to the canvas

On Fri, Jun 27, 2014 at 5:54 AM, Peter Hutterer wrote:

[Please CC me on the reply, I'm not on the list]

Hey guys,

As you may be aware we're currently working on getting wacom graphics tablet support into Wayland. Lyude (on CC) has sent out an inital draft for the protocol, archived here:
http://lists.freedesktop.org/archives/wayland-devel/2014-June/015583.html Dmitry from the Krita project has also triggered a discussion here. http://lists.freedesktop.org/archives/wayland-devel/2014-June/015605.html This is all still in flux, so don't expect the current draft to be the final project, but now's the time to wish for what you need.

All that aside, here's a specific question: GIMP has/had a feature where the surface of the tablet could be mapped to the canvas on the screen.

It's a sort of typical feature for GTK+ apps that deal with advanced input devices. At the very least Inkscape and Synfig have it as well.

Alex

Peter Hutterer
2014-06-29 22:44:48 UTC (almost 10 years ago)

Wayland wacom support: binding tablets to the canvas

On Fri, Jun 27, 2014 at 10:47:12AM +0200, Michael Natterer wrote:

On Fri, 2014-06-27 at 11:54 +1000, Peter Hutterer wrote:

[Please CC me on the reply, I'm not on the list]

Hey guys,

Hey Peter,

As you may be aware we're currently working on getting wacom graphics tablet support into Wayland. Lyude (on CC) has sent out an inital draft for the protocol, archived here:
http://lists.freedesktop.org/archives/wayland-devel/2014-June/015583.html Dmitry from the Krita project has also triggered a discussion here. http://lists.freedesktop.org/archives/wayland-devel/2014-June/015605.html This is all still in flux, so don't expect the current draft to be the final project, but now's the time to wish for what you need.

All that aside, here's a specific question: GIMP has/had a feature where the surface of the tablet could be mapped to the canvas on the screen. Is this a feature that is currently used or in demand, or is this something we don't need to worry about?
If we do need to consider it, what are the requirements here?

Many people are not even aware of this feature, because this "window mode" has been quite broken for a while in GTK+ 2.x, however in my opinion it is very useful.

GTK+ used to handle that by translating the coordinates, I don't know this works with Wayland, does Wayland have to care about that at all? Does it have XInput-like semantics of master/slave/floating? Or is all of that handled in the GDK backend?

tbh, I'm not sure yet. The feature doesnt' exist as such yet, we're discussing whether it's needed and if so how to integrate it. There are at least three pieces in the stack before GIMP sees anythying and they all need to work together. The current idea so far is to have a "bind" request to explicitly connect the tablet to a given client. How this will be exposed to clients is unclear at this point, we're just in the drafting phase.

it'd be nice to know how GIMP would like to handle this bit. Is it something that you'd enable generally for the tablet, or on request (e.g. when the focus takes effect), etc.?

Cheers, Peter