[go: up one dir, main page]

Menu

#201 bug in device mapping for touchscreen device

v1.0_(example)
open
nobody
None
5
2018-11-03
2018-11-01
Shark Cow
No

Great software!

However, I would like to use the touch screen as hand tool and think I have found a bug in the mapping of devices when selecting the touchscreen device:

My touchscreen and pen have very similar names (see below); when I select the touchscreen, both touchscreen and pen behave as hand tool. When I select the pen as touchscreen device, the pen correctly works as hand tool and the touchscreen as pen...

Interestingly, the dialog always shows the pen as selected for touchscreen device; in the config file the string for the touchscreen device is correct. So probably xournal does not distinguish longer device names correctly if they differ only at the end?

Any help greatly appreciated!

sharkcow

xinput:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ELAN2514:00 04F3:25E0 id=11 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=15 [slave pointer (2)]
⎜ ↳ ELAN2514:00 04F3:25E0 Pen Pen (0) id=18 [slave pointer (2)]

Discussion

  • Shark Cow

    Shark Cow - 2018-11-01

    Edit: xournal version 0.4.8 on ubuntu 18.04.1

     
    • Denis Auroux

      Denis Auroux - 2018-11-01

      Unless I am mistaken, this means the Ubuntu package is hopelessly out of
      date -- this misbehavior was fixed in September 2014, commit [48f94d]
      "test ui.device_for_touch as exact match instead of substring of device
      name"

      Please file a bug report on Ubuntu asking them to update. There is a
      convenient bugfix release, version 0.4.8.2016, with most of the fixes
      added to 0.4.8 since its release, including this one -- get the source
      code at https://sourceforge.net/projects/xournal/files/latest/download
      or even better, the latest version on the master git repository, see
      https://sourceforge.net/p/xournal/code/ci/master/tree/

      To compile xournal from the source, you'll need the development packages
      for the appropriate libraries (not sure what they are called on ubuntu,
      might be libgtk2.0-dev, libgnomecanvas2-dev, libpoppler-glib-dev and
      their dependencies; likely also autoconf, automake). In the source
      directory, run ./autogen.sh (check for errors), then make, and as root,
      make install & make desktop-install .

      Denis

       

      Related

      Commit: [48f94d]

  • Shark Cow

    Shark Cow - 2018-11-03

    Thanks for the quick and extensive response! Compiled from git and as you say the bug is gone. Reported the outdated version with ubuntu.
    Closed :)

     

Log in to post a comment.