pencil2d / pencil

Pencil2D is an easy, intuitive tool to make 2D hand-drawn animations. Pencil2D is open source and cross-platform.
http://pencil2d.org
GNU General Public License v2.0
1.47k stars 273 forks source link

wrong cursor icon when using a tablet #1017

Closed jin-eld closed 3 years ago

jin-eld commented 6 years ago

--Issue Summary--

When using a tablet, wrong cursor icons are displayed, for instance, I select the drawing pen, then I move the cursor into the drawing area. While doing so I pass a window border, which changes the cursor to a "move border arrows" icon, the icon stays when I move the cursor into the drawing area. This makes it hard to aim at the exact position where you want to start painting.

As soon as I draw a pixel the icon corrects itself.

The screenshot tool would always capture a normal cursor and not the icon displayed, so I had to photograph my screen :)

image

--Steps to reproduce--

Use your tablet pen to select a drawing tool, then move into the drawing area, observe the pen cursor/pointer icon.

--System Information--

git revision 33a13d2aef2c31aa87c3a1428f412773b08397f1

Linux, Fedora 27

4GB

Huion H610

J5lx commented 6 years ago

Confirmed on Arch Linux with Pencil2D 0.6.1.1 and Huion 420, issue occurs when hovering over UI using the tablet rather than a regular mouse.

Jose-Moreno commented 5 years ago

As referenced in the Ubuntu 18.10 appimage tracker this is also happening in that distro.

J5lx commented 4 years ago

As forum user danya notes, this issue does only occur with docked windows, floating windows do not have this problem. Additionally, there appears to be (at least in 2017) a very similar issue on macOS which I suppose might very well be related.

Jose-Moreno commented 4 years ago

@J5lx @chchwy I'm reopening this. I've just tested the latest september 24th nightly build AppImage under Ubuntu 18.10 and this issue was only fixed for the mouse input. However when using a stylus tablet input, the problem remains the same.

J5lx commented 4 years ago

Ah yes, I’m remember this, we talked about it on Discord a while ago. The issue is actually fixed for most “versions” of Pencil2D (such as Flatpak and compiled from source), but in the AppImage it still occurs. My personal hunch was that it might be related to the very old version of Qt used in our AppImages, but I wasn’t able to find suitable builds of newer versions at the time, so I haven’t been able to check whether that’s true.