dalboris / vpaint

Experimental vector graphics and 2D animation editor

Home Page:http://www.vpaint.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The drawing dot/circle freeze.

ebarranco opened this issue · comments

When I use the sketch tool the drawing dot/circle icon freeze at the end of every stroke and it doesn't follow the cursor anymore. I show you the behavior here.

Working a little more with vpaint, the same happened with the sculpt tool, the circle stay on the last line, not following the cursor and just appear when I try to modify other line.

Thanks for the report! This is definitely a bug in the case of the Sketch tool. Thanks a lot for the video it was very helpful since unfortunately, I cannot reproduce this issue in my machines, either on macOS 10.14 or Kubuntu 18.0. I'll try later on other platforms. Can you tell me since when did you notice the bug? Were there a version with layers and without the bug?

However, in the case of the sculpt tool, it may be the expected behaviour: the dot/sculpt tool is supposed to only appear when there is something within the sculpt radius. However, if you say that the circle stays on the last line even when nothing is within the sculpt radius, this is indeed the bug. This is the expected behaviour:

gh103-01

Do you see something different?

Anyway, I'll first work on #104 since it may introduce other issues or solve this one (unlikely, but we never know...), and then come back to this.

I think about the last changes because a did a video a day before. If you watch my previous issue about the background you can see the sketch tool works normally, either way here I show you side by side both versions and the differences that I see now with the sketch and sculpt tool.

Thanks a lot for the videos, that's definitely a really big problem, not subtle at all :) Can you explicitly clarify what commit SHA1 is the build of the left-side VPaint, and what commit SHA1 is the build of the right-side VPaint? I may be wrong, but I'd be surprised if any of the last two commits (6a4dac0, 8b4b63c) could create such a regression.

I don't even now what SHA1 is... sorry :S the version to the left is vpaint-1-6-linux-64bit from here github releases. The right version is from my arch repositories vpaint-git when you commit a change, my package manager notify me and I just update.

Ah, ok, the left side is VPaint 1.6, I didn' t realize the lack of layers :)

The "SHA1", or "hash" of a commit is basically its name. It is the number you can see here on the right of its commit in the git history:

https://github.com/dalboris/vpaint/commits/master

I do not know how Arch repository work: do you know if it is possible to compile at a specific commit, instead of the latest one?

It seems that it's possible to do that but I can't really understand much. Give me a day to learn git and I'll back with the info.

@dalboris I was wondering why you can't reproduce it, and suddenly I couldn't either. It was because I try it with my mouse, the bug only shows when I'm using my Wacom tablet. With my mouse works as expected.

Sadly, I can't reproduce with my tablet either :( I got a Wacom Intuos 3 A5. Which tablet do you have?

Wacom Bamboo Pen and Touch Tablet (CTH670)

Ok thanks! And good news: I managed to reproduce the problem by compiling against Qt 5.11.2 instead of Qt 5.12 :) This means:

  1. The problem should fix itself once you upgrade to Qt 5.12, and
  2. I can make some tests and try to fix the problem for Qt 5.11 (not today). No need for any more work on your side.

Ok, I was just building direct from git the different commits. I know how to do it now. :) Maybe will help for future reports :)

I used my OS version 5.11.2-3. But I'm downloading the last version from the page but is a really big download. I'll use that and make you know the result.

Yes, those are big downloads and it takes a little while to install. For info, I usually download the web installer, and then only install the "Desktop gcc 64-bit" module of the Qt version I'm interested in:

qt-maintenance-tool

VPaint doesn't depend on any other modules.

And once you've done the process at least once, you can install additional ones via the "maintenance tool": ~/Qt/MaintenanceTool

Ok, I'll do that way.

I finish to compile @dalboris and it works look! Today I learned a lot of useful things, thanks.

Awesome, great news! :) I'll close this issue then, since I'm planning to release VPaint 1.7 as an AppImage with Qt 5.12.