Bug 144771 - Wacom pressure increases brush spacing
Summary: Wacom pressure increases brush spacing
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Halla Rempt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-28 00:49 UTC by Heikki Ulmanen
Modified: 2007-06-23 21:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heikki Ulmanen 2007-04-28 00:49:02 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Ubuntu Packages
OS:                Linux

Whenever I draw a brushstroke using wacom at full pressure, I can clearly see the individual stamps that comprise the stroke, even if spacing is set to 0. Decreasing pressure mitigates the issue, and at lower pressures the spacing is fine. Spacing seems to increase with brush pressure. Lines drawn with  mouse are fine.
Comment 1 Halla Rempt 2007-05-22 08:16:27 UTC
Not sure what's going on here, since I cannot reproduce it. Do you have any special settings for your tablet in your xorg.conf to modify the pressure curve?
Comment 2 Heikki Ulmanen 2007-05-22 10:43:52 UTC
Nothing special, but here is the relevant xorg.conf section anyway:

(I had some stuff that wasn't in your example xorg.conf, which I commented out for testing, but even with the following config I still get the spacing issue.)

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/input/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
#  Option	"USB"		"on"
#  Option 	"Twinview" 	"horizontal"
#  Option	"ScreenNo"	"2"

EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/input/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
#Option	"USB"		"on"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/input/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
# Option	"USB"		"on"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "pad"
  Option        "Device"        "/dev/input/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "pad"
# Option	"USB"		"on"
EndSection
Comment 3 Halla Rempt 2007-05-22 10:51:40 UTC
What's the type of your tablet? Is it serial or usb?
Comment 4 Cyrille Berger 2007-05-22 19:54:01 UTC
I can reproduce with a Wacom Intuos3. But to see it clearly, I need to increase the brush size.
Comment 5 Halla Rempt 2007-05-24 19:33:47 UTC
Fixed in 1.6 branch; however, it's not exactly a clean fix. For 2.0 we will have to make sure the line between event points is drawn by the paintop, not the brush tool.
Comment 6 Halla Rempt 2007-06-22 15:24:26 UTC
Cyrille, you have moved the paintline to the paintop -- is this bug now finished?
Comment 7 Halla Rempt 2007-06-22 16:02:44 UTC
Nope, Cyrille hasn't fixed it yet -- I'll do that.
Comment 8 Halla Rempt 2007-06-23 21:55:19 UTC
SVN commit 679373 by rempt:

BUG: 144771
Cyrille's changes did make it easier to fix, after all. This should be
correct, but it needs testing once I've got my tablet working again.


 M  +2 -2      image/kis_painter.cc  
 M  +4 -3      image/kis_paintop.cc  
 M  +56 -56    image/kis_paintop.h  
 M  +21 -0     plugins/paintops/defaultpaintops/kis_brushop.cc  
 M  +4 -0      plugins/paintops/defaultpaintops/kis_brushop.h  
 M  +72 -72    ui/kis_tool_freehand.cc