GNOME Bugzilla – Bug 757679
Option to drag a mask from one layer to another layer
Last modified: 2018-05-24 15:54:33 UTC
Very often I want to add a mask to layer B, but the mask itself needs to be a grayscale copy of layer A. Currently the procedure is to: 1. Select layer A. 2. Add the grayscale mask to layer A. 3. Do "mask to selection" to turn the mask into a selection. 4. Select layer B. 5. Add the selection as a mask to layer B, which requires changing the "add mask" dialog from "grayscale" to "selection". 6. Select "none" to release the selection. 7. Go back to layer A and delete the mask. It would be nice if the grayscale mask on layer A (Step 2 above), could just be dragged to layer B, turning the process from a 7-step to a 3-step process.
Your needs can already be achieved by a 3-step process : 1. drag layer A and drop it to the channels dock 2. select layer B and add a layer mask from the new created channel 3. delete the created channel But I agree that being able to replace the content of drawable (layer, mask or channel) with another one by a drag/drop action would be useful.
To save screen real estate I put the layers and channels docks both in the same panel in the lower half of the toolbox. So I'd have to drag the channels dock out, follow the three steps, and drag the channels dock back to the toolbox, making 5 steps, which is still 2 less than 7, so that's an improvement - thanks! What use cases did you have in mind beyond dragging and dropping a layer mask?
(In reply to Elle Stone from comment #2) > <snip> So I'd have to drag the channels dock out, follow the three steps... No, you can just drag the thumbnail onto the *tab* for Channels Dialog, wait a moment for the dialog to open-up and then drop (in the new channels area). Likewise when dragging from Channels to Layers. (Something I do quite often!) But yes, I do agree it would be nice if you could just dnd any drawable's thumbnail into a layer mask.
(In reply to Elle Stone from comment #2) > What use cases did you have in mind beyond dragging and dropping a layer > mask? I do not have particular use cases in mind at this moment. I just notice that dragging a color or a pattern on the canvas fills the active drawable with this color or this pattern. Dragging any drawable always results to the creation of a new layer. Drawable could also be used as a filling source, like colors and patterns.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/800.