Bug 410534

Summary: Sharing Opacity between Brush/Line
Product: [Applications] krita Reporter: Luciano <eulucianosalomoni>
Component: ToolsAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: halla
Priority: NOR    
Version: 4.2.5   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Attachments: See the gif to clarify

Description Luciano 2019-08-03 10:45:12 UTC
Created attachment 121914 [details]
See the gif to clarify

SUMMARY
When I'm using brush with 70% opacity (example) and I hold V key to temporarly switch to Line Tool the opacity changes to what is set in line tool, ignoring the brush opacity.

STEPS TO REPRODUCE
1. Pick Brush Tool
2. Set opacity to 50% (could be any number different than the opacity set in Line Tool
3. Hold V to temporarly changes to Line Tool and observe the opacity propertie on the "Brush and Stuff panel"

OBSERVED RESULT
You will see that the opacity "comes back" from the line tool.


EXPECTED RESULT
If I'm drawing with a 30% opacicity brush and need a "casual" straight line it's desired that this line had 30% opacity too. I think this is the pourpose of a "Temporary switch key"

SOFTWARE/OS VERSIONS
Windows: 10 Home 

ADDITIONAL INFORMATION
There is a GIF attatched
Comment 1 Halla Rempt 2019-08-03 13:28:11 UTC
Wolthera found this commit: 

https://invent.kde.org/kde/krita/commit/6daf2cb779a487194532002dc1e5f0cb90f77ac3

Which was made in response to this bug:

https://bugs.kde.org/show_bug.cgi?id=359809

Where the reporter wanted to have a different opacity set in the gradient tool than in the brush tool. We need to do a bit of thinking here what would work best -- maybe define the painting tools as a special group that shares opacity or something like that.
Comment 2 Luciano 2019-08-05 01:43:57 UTC
Well, I tottaly agree that the tools should remember their opacity status (the gradient tool issue) - like Krita does now.

A special group of painting tools is a good idea, because you could have the rectangle, elipse and line ith the same oppacity as brush (although some users may not like this).

Nowadays holding V Krita calls the line tool and consequently his opacity comes togheter. This is natural inside this approach. But, I think that could be different:

- What Photoshop and other app makes, I guess (just a supposition) is: when you temporarly needs a straight line they donĀ“t calls another tool. They "simply" lock the brush to only make straight lines.

I think this is more elegant, and if Krita could do this the line tool became obsolete (could be removed from tool box) But, this approach must contemplate the resources we have now (the stuffs ALT and SHIFT makes when using line tool). By the way holding V+SHIFT+ALT doesn't work when you are with brush tool.

Thank's for your quick reply.