Hard set drawn mask opacity and lock them for safety
Using drawn masks extensively is really annoying, even if Ctrl+Z makes it somewhat bearable. The main reason is, on larger photos, there is a lag between the masks parameters setting and the rendering/feedback (due to the recomputation of the updated preview) during which you can still input settings in a blind way.
Problem 1 :
In the darkroom, when zooming on the image preview with the mouse wheel, if you don't pay attention and hover one active mask with the cursor, you end up increasing or decreasing the drawn mask (or its transition) instead of zooming the preview. Same when you click and drag to pan the preview, 1/2 of the time, you grab a mask (especially when they are large). Notice that it's necessary to move the preview with masks active when you need to fine-tune the contours of large masks.
Solution 1 :
Define a key combination that would lock the mask size and position to avoid errors.
Problem 2 :
In the darkroom, setting the mask opacity with Ctrl+ Mouse wheel is too much of hits and misses, due, one more time, to the lag between the setting and the output. You never get the right opacity on the first try, and need to wait for the preview rendering to finish until you get the output.
Solution 2 :
Allow to hard set the opacity percent value from the keyboard in the left column, in the masks manager.
#2 Updated by Aurélien PIERRE 9 months ago
- Status changed from New to Closed: upstream
Masks handling solved by https://github.com/darktable-org/darktable/pull/1719
Safe mouse panning over masks fixed by https://github.com/darktable-org/darktable/pull/1550