elstoc
(Chris E)
March 2, 2020, 8:12pm
21
Only one more from me: There seems to be some additional rotation added to gradient masks when placed. For example, if I create a new gradient mask it starts off completely horizontal. When I click to place the mask it always seems to rotate a few degrees clockwise. This happens both when the shape is initially placed and also if its placement is subsequently adjusted.
2 Likes
Jade_NL
(Jacques)
March 2, 2020, 8:14pm
22
As is described in this issue?
opened 03:42PM - 29 Feb 20 UTC
closed 08:23AM - 03 Apr 20 UTC
**Describe the bug**
I try to place a drawn mask as a gradient and after placinā¦ g it, I want to rotate it a bit.
Once I release the left mouse button (and I do hold the mouse steady), the gradient **jump-rotates clockwise for approx 5Ā°** or so. Is very hard to place
I see this happen on Olympus' ORF files (in my case EM-5 II but also on [this one](https://discuss.pixls.us/t/playraw-mairi-further/3515) ) and Fuji (X-30). Nikon's NEF seems to be w/o this problem.
**To Reproduce**
1. Open a ORF RAW file, like [the one in this thread](https://discuss.pixls.us/t/playraw-mairi-further/3515)
2. Make sure, you have history stack compressed
3. Add some modules (lens correction, haze removal, filmic)
4. Add e.g. exposure, drawn mask gradient fill, roate it a bit and realease the mouse button
5. Observe the position of the gradient
**Expected behavior**
As it was before, after releasing the mouse button, the gradient shall just stay where it is at that moment (yes I tried to drag the mouse cursor more far, in order to get less sensitive, to no avail)
**Platform (please complete the following information):**
- Darktable Version: **3.1.0+769~g1ef4476cf** started for me around +748 or so
- OS: [**Gentoo** Linux]
- OpenCL activated **yes and no**, both effected
- 2x nvidia **GTX 160OC** with nividia-drivers-**440.59**
**Additional context**
- Can you reproduce with another Darktable version --> **3.0.0 is clean**
- Can you reproduce with a RAW or Jpeg or both? --> **RAW only**
- Are the steps above reproduce with a fresh edit (removing history)? --> **particularly fresh edits**. Older edits, where just an gradient getting added, may "survive", means behave well.
- Did you compile Darktable yourself? If so which compiler was used, with what options?
--> **gcc-9.2.0** CFLAGS="-march=native -O3 -mtune=native -pipe"
- Is the issue still present using an empty/new config-dir --> **Yes**
1 Like
elstoc
(Chris E)
March 2, 2020, 8:15pm
23
Yes indeed. Thanks @Jade_NL . On first glance it looks like an issue with lens correction - it goes away if I switch the lens correction module off.
1 Like
Jade_NL
(Jacques)
March 2, 2020, 8:27pm
24
@elstoc : Just retested some things on my side and it looks like this masking issue is lens correction related in some way.
1 Like
pehar
March 3, 2020, 6:13am
25
Not only lens correction ! Observing same issue without any lens correction but using crop and rotate with keystone = vertical together with contrast brightness saturation with gradient mask .
Jade_NL
(Jacques)
March 3, 2020, 8:05am
26
Yep it doesā¦
@pehar : Can you please add this information to the above mentioned github (#4401 ) issue.
1 Like
pehar
March 3, 2020, 9:02am
27
Sorry, not possible. Github forces me to create an account and I donāt agree with their (huge and complicated) privacy statements.
elstoc
(Chris E)
March 3, 2020, 9:07am
28
Iāve added a note to the issue linking to this discussion
Jade_NL
(Jacques)
March 3, 2020, 11:09am
29
I had a hunch and did some more testing: There are (at least) 2 more modules that show this behaviour: perspective correction and liquify
Iāve added them to the github issue (with what I think all these have in common).
2 Likes
The only use case that comes to mind is to use a drawn mask to limit the effect to a given area, but I would also use exposure for that use case.