After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 757679 - Option to drag a mask from one layer to another layer
Option to drag a mask from one layer to another layer
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: User Interface
git master
Other All
: Normal enhancement
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2015-11-06 12:04 UTC by Elle Stone
Modified: 2018-05-24 15:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Elle Stone 2015-11-06 12:04:15 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.
Comment 1 Thomas Manni 2015-11-07 16:51:08 UTC
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.
Comment 2 Elle Stone 2015-11-07 19:58:08 UTC
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?
Comment 3 Jonathan Tait 2015-11-07 20:44:06 UTC
(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.
Comment 4 Thomas Manni 2015-11-07 21:02:16 UTC
(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.
Comment 5 GNOME Infrastructure Team 2018-05-24 15:54:33 UTC
-- 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.