GNOME Bugzilla – Bug 616137
event.get_axis(gdk.AXIS_PRESSURE) returns inf
Last modified: 2018-02-10 03:35:04 UTC
Expected behavior was for the function to always return a value between 0.0 and 1.0, or null/None Problem occurs for some users when using seemingly standard USB mice on both gtk+ 2.20 (Ubuntu 10.04 https://bugs.launchpad.net/ubuntu/+source/mypaint/+bug/565664) and gtk+ 2.18 (Ubuntu 9.10 - https://gna.org/bugs/?14709) While the callling code this problem occured with uses pygtk, I'm filing against gtk+ because it doesn't seem likely to me that this is caused by the bindings.
The event type this is occurring with is GDK_MOTION_NOTIFY, set up on a gtk.DrawingArea.
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue for it.