Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows: Pressure sensitivity does only work after second start #659

Closed
andreasb242 opened this issue Dec 30, 2018 · 18 comments
Closed

Windows: Pressure sensitivity does only work after second start #659

andreasb242 opened this issue Dec 30, 2018 · 18 comments
Assignees
Labels
bug Dependency Issue The issue is within a dependency and cannot be solved by us. Input os::windows Operating System Microsoft Windows priority::high

Comments

@andreasb242
Copy link
Contributor

On the first start pressure sensitivity is not available, after restart it's working.
As this is probably a GTK issue there will probably be no real fix, instead create a workaround.

@andreasb242 andreasb242 added bug os::windows Operating System Microsoft Windows priority::high labels Dec 30, 2018
@andreasb242 andreasb242 self-assigned this Dec 30, 2018
@andreasb242
Copy link
Contributor Author

After testing I found out:
start Xournal++, do not touch with the pen
start again, touch with the Pen. Does not work
start the 3rd time: working

So it don't matter how many times it's started, it needs pen contact and then a restart. Strange, and really hard to find a workaround.

@andreasb242
Copy link
Contributor Author

@cbm755
Copy link
Contributor

cbm755 commented Feb 17, 2019

Also, just to note that xournal does this too (presumably b/c its underlying GTK bug).

@andreasb242
Copy link
Contributor Author

Yes, this is a GTK Bug, I found it already, but had no time to fix it.

 andreasb242 @andreasb242 commented 1 day ago

I got a hint on my other Merge Request: https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-24/gdk/win32/gdkdevicemanager-win32.c#L1065

The axes count is initialized dynamically on init. My guess is now, that this count is not there, if the pen has not yet touched the screen. I didn't check this yet, but it would produce exactly the current behavior.

I could confirm this behavior, but I didn't get my mac pull merged yet, so I wont work on two GTK pulls at the same time.

@LittleHuba LittleHuba added Dependency Issue The issue is within a dependency and cannot be solved by us. and removed GTK Bug labels May 22, 2019
@jason076
Copy link
Contributor

I have a Surface Pro4 and my Stylus is always recognized as a normal mouse. I have tried the workarounds from above, but they dont't work. I have the Xournal++ Version 1.0.12

@LittleHuba
Copy link
Member

LittleHuba commented May 28, 2019

@jason076
Please try #1151.
You will have to compile by hand though.

@jason076
Copy link
Contributor

jason076 commented May 28, 2019

@jason076
Please try #1151.
You will have to compile by hand though.

@LittleHuba
I have compiled and tried it, but it does not recognizes any input devices. The stylus is still working like a normal mouse.

@LittleHuba
Copy link
Member

Did you activate the new input system in the settings and set the specific device class for your devices?

@jens1o
Copy link

jens1o commented Aug 19, 2019

Is there help I could provide to get this resolved?

@BUCKFAE
Copy link

BUCKFAE commented Feb 15, 2020

@jason076
Please try #1151.
You will have to compile by hand though.

@LittleHuba
I have compiled and tried it, but it does not recognizes any input devices. The stylus is still working like a normal mouse.

Same for me. Any updates on this? SurfacePro (2017).

@hacker1024
Copy link

I have a Surface Pro4 and my Stylus is always recognized as a normal mouse. I have tried the workarounds from above, but they dont't work. I have the Xournal++ Version 1.0.12

I have this issue too, on the latest 1.0.18. The above PR is merged, but only one device comes up when configuring input devices.

I have a Dell Inspiron 7586, which uses the same pen tech as Surface devices (and is compatible with Surface pens). It works on Linux, but not Windows.

Any progress on this? Should I create a dedicated issue?

@hacker1024
Copy link

It seems that our issue is caused by #1346.

@gerroon
Copy link

gerroon commented Nov 15, 2020

I just installed 1.0.19 and no pressure witrh Wacom trablet on Win 10 no matter how many times I restart. This used to work in the 1.0.18 :(

@AuraElicase
Copy link

I have the same issue on ROG Flow X13 which have the same pen tech as Surface.

@rolandlo
Copy link
Member

rolandlo commented Aug 2, 2021

Have you tried version 1.1.0-hotfix.1 ?

@AuraElicase
Copy link

Now I have tried it, it fixed my problem. Thanks.

@rolandlo
Copy link
Member

rolandlo commented Aug 2, 2021

I am closing the issue, since the problem was fixed in GTK+ 3.24.30, which is contained in the 1.1.0-hotfix.1 release.

@rolandlo rolandlo closed this as completed Aug 2, 2021
@nicegamer7
Copy link

The note in the readme can be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Dependency Issue The issue is within a dependency and cannot be solved by us. Input os::windows Operating System Microsoft Windows priority::high
Projects
None yet
Development

No branches or pull requests