GNOME Bugzilla – Bug 315308
Transforms to selections do not translate to linked layers
Last modified: 2018-05-24 11:37:12 UTC
1) Create two layers. 2) Link them. 3) Make a selection on one of the linked layers. 4) Apply a transform to the selction. (rotate for instace) What happens: The transform is applied to the selection of the current layer while the rest of the layer is untouched. However, the transform is applied to the linked layer as a whole. What should happen: The transform applied to the linked layer(s) should only apply to the selected area as it does in the current layer.
Created attachment 56797 [details] [review] Proposed skeleton for implementing this I dig a bit on the code, and found the place were I think this could be fixed. Although I do not have the time now for the proper fix, I indicated what I think should be done in the patch. I hope this turns the work easier - if it is the right fix at all. The patch here is to app/core/gimpitem.c Besides this file I looked into: app/tools/transformtool.c app/core/gimpitem-linked.c
I've looked at the patch and IMO this is not the right approach. GimpItem is a base class and should not contain specific logic for and dependencies to derived classes.
-- 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/160.