xournalpp / xournalpp

Xournal++ is a handwriting notetaking software with PDF annotation support. Written in C++ with GTK3, supporting Linux (e.g. Ubuntu, Debian, Arch, SUSE), macOS and Windows 10. Supports pen input from devices such as Wacom Tablets.
https://xournalpp.github.io
GNU General Public License v2.0
11.31k stars 806 forks source link

Stylus buttons will select but will not perform any selection #5907

Open ZeroCtrl3D opened 1 month ago

ZeroCtrl3D commented 1 month ago

Operating System

Windows

(Linux only) Distribution

No response

(Linux only) Desktop Environment

No response

(Linux Only) Display Server

None

Installation Method

Offical

Xournal++ Version

1.2.3

libgtk Version

3.24.41

Bug Description

When pressing the side button of the stylus you select the tool (like select area or marking tool), the curser changes but it doesnt work with any tool.

Expected Behaviour

While pressing the button enable the selected tool.

(or Toggle the tool to the selected tool [not implemented, just an idea])

Steps to Reproduce

  1. Use stylus
  2. Press and hold button
  3. Try to use the tool
  4. Release button

Additional Context

It does work like intended if you bind it to the erasor button. Lenovo Pen Setting wont help and overwrite the button if you bind it to anything other than the button.

Hardware: Lenovo Yoga 14s ITL Bamboo Inc Pen

ZeroCtrl3D commented 1 month ago

the setting for "x setwacom ..." did the trick

haennes commented 1 month ago

DO NOT CLICK THE LINK This tries to run something in powershell.

Even worse. It runs a binary that is downloaded using powershell. This look illegitimate.

@Prateek-coder19 If you dont "fix" this looking absolutely fishy I will report you to GitHub soon

to fix your trouble check this solution click maybe this will solve your problem.

rolandlo commented 4 weeks ago

I have deleted this (and other) posts by @Prateek-coder19 and reported one of those posts to Github.