DRC <[email protected]> writes:

> Ah, OK.  I think you're running into this issue, then, which only affects 
> applications that use Qt5:
>
> https://github.com/TurboVNC/turbovnc/issues/154#issuecomment-446469303
>
> Qt5 is overly strict in its support for extended input devices.  It expects 
> the valuator for pressure to be literally called "Abs Pressure", and if it 
> can't find a valuator with that name, it doesn't properly read pressure 
> events. 
> The current workaround is to start the TurboVNC Server with -virtualtablet, 
> but I expect to fix this issue properly in TurboVNC 3.0 by dropping support 
> for X Input v1:
>
> https://github.com/TurboVNC/turbovnc/issues/156

I tried setting the -virtualtablet flag.

- The automatic desktop resize when resizing the turbovnc client window
  stopped working. The remote desktop is a fixed size.

- Pressure sensitivity in Krita started working.

- Pressure sensitivity in Inkscape still didnt work.

I think Inkscape uses GTK 2. I can maybe try recompiling it with gtk3 to
see if it makes a difference (but im not sure the inkscape devs finished
their gtk3 port yet.)

Regards
/Joakim

>
> On 8/16/19 3:34 PM, [email protected] wrote:
>
>  DRC <[email protected]> writes:
>
>  It should be possible, yes.  TurboVNC uses an RFB extension called "GII" 
> that is basically designed as a remote interface for X Input.  The Linux 
> TurboVNC Viewer clones any X Input extended pointer devices from the client 
> into
>  the
> TurboVNC Server session.  It sounds like it is doing that properly, but 
> perhaps there is some issue with the translation of events.  Can you send me 
> the output of
>
>     xinput --list --long
>
> both on the client and in the TurboVNC Server session?
>
> Also double check the Inkscape settings on the server.  I know that, with 
> GIMP, it is necessary to map the X Input devices to pressure and other 
> parameters within the GIMP settings, and you have to do that once for your 
> account on the
> server before remote pressure events can be properly interpreted by that 
> application.
>
>
> I was able to get pressure sensitivity working in Gimp, on the server.
> So at least something is working properly.
>
> Now that I changed to X rather than Wayland on the client, the devices
> are reported as Wacom.
>
> Inkscape and Krita are still missbehaving.
>
> Inkscape shows the extended devices, but I cant seem to enable them,
> which is different on the client side.
>
> I attach the xinput logs below.
>
>
>
>
>  
> On 8/15/19 3:28 PM, joakimv wrote:
>
>  I Have a hp laptop with a pen screen.
>
>  The pen screen isnt wacom but some other type of generic device, a little 
> unclear which.
>
>  On the laptop I can use the pen screen pressure sensitivity in inkscape for 
> instance. 
>
>  There, the device is reported as xwayland-stylus.
>
>  Remotely using turbovnc, I also see xwayland-stylus in the remote inkscape, 
> but pressure events are not propagated.
>
>  Is there some type of workaround for this?
>
>  Regards
>  /Joakim
>
-- 
Joakim Verona
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TurboVNC User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/turbovnc-users/87imqwdc22.fsf%40chopper.

Reply via email to