Bug 347660 - Freehand Path Tool on a Vector Layer with Fill option set to Pattern doesn't fill shape area with pattern
Summary: Freehand Path Tool on a Vector Layer with Fill option set to Pattern doesn't ...
Status: VERIFIED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tool/Text (show other bugs)
Version: 2.9.4
Platform: Microsoft Windows Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-13 11:30 UTC by epchain
Modified: 2018-01-02 20:40 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Video. (445.96 KB, video/mp4)
2015-06-24 08:07 UTC, mvowada
Details

Note You need to log in before you can comment on or make changes to this bug.
Description epchain 2015-05-13 11:30:42 UTC
When I create an image, adding a Vector Layer and trying to use Freehand Path Tool with Fill option set to Pattern, this tool doesn't fill shape with pattern. And it does after I use Bezier Curve Tool for the same purpose.

Reproducible: Always

Steps to Reproduce:
1. Close Krita, if opened
2. Open Krita. Notice, that currently no pattern is selected (icon is white)
3. Create new Image. I used built-in "Texture 1k 8bit srbg" template.
4. Add a Vector Layer and select it
5. Select Freehand Path Tool and set Fill to Pattern and Outline to Brush
6. Select some pattern (note, that you cannon select first one, only after you select some other)
7. Try to draw a shape, and it doesn't get filled.
8. Select Bezier Curve Tool with same options and draw a shape. It will get filled.
9. Select back Freehand Path Tool, draw again, and tool will fill shape area with pattern.

Actual Results:  
Freehand Path Tool doesn't immediately fill shape area with pattern, only after I use Bezier Curve Tool and switch back to Freehand Path Tool.


Expected Results:  
Freehand Path Tool should fill shape area with pattern, when appropriate options are set.

I use Krita x64 on Win 8.1 x64
Comment 1 Marcus Kjeldsen 2015-06-23 18:24:21 UTC
I can confirm on desktop 2.9.5, win8.1 :)
Comment 2 mvowada 2015-06-24 08:04:58 UTC
I can confirm. In my case it happens following these steps in this order:

1. restart Krita
2. the toolbar icon "Fill Patterns" has to be empty (blank).
3. create a new "Vector" layer
4. choose one tool among: "Rectangle"(*), "Ellipse"(*), "Polygon", "Bezier", "Freehand" (for some reason "Polyline" doesn't have options to be set for fills and strokes within the "Tool Options" docker)
5. set the fill to "Pattern" in "Tool Options"
6. select a pattern type from (toolbar "Brushes and Stuff") > "Fill Patterns"
7. create a shape on canvas

(*) note that "Rectangle" and "Ellipse" tools will fill shapes with gradients.
Krita: 2.9.5 (git a9c99c9) - Ubuntu 14.04
Comment 3 mvowada 2015-06-24 08:07:42 UTC
Created attachment 93318 [details]
Video.
Comment 4 Dmitry Kazakov 2017-03-20 17:02:35 UTC
In the current version of patterns in my branch patterns are not implemented. So I'll mark the bug as 'later' so we could check the bug when the real functionality is implemented.
Comment 5 Halla Rempt 2017-12-30 10:52:19 UTC
We just merged the new text tool.
Comment 6 epchain 2018-01-02 20:40:55 UTC
I followed steps I originally have written using version 3.3.1. Everything now works perfectly.