gimp/app/file-data
Jehan 9a2f5b0709 app: rework and fix the logic for copy-pasting multiple drawables.
There were a lot of incertainty of what should happen when we copy layers being
descendant of each other (i.e. when you select a group layer and some of its
children), then when you paste such data. So we sat down with Aryeom and tried
to come up with some consistent behavior which is somewhat expectable, but also
which would allow the most use-case.

Otherwise it was making very weird result when pasting the data, duplicating
some layers and whatnot, which was obviously a buggy behavior and never the
expected result.

We decided that if you select one leaf item, then even if you also selected a
parent item, it would be as though the parent was not selected. This is very
often what you expect anyway when you select a whole bunch of layers and would
work well if, say, you shift-click over many layers in sub-groups. Then you
wouldn't have to manually ctrl-click to unselect every group.

Then what if you were instead expecting to copy many groups? Then you could
shift-click the group arrow, closing all same-level groups. Once they are all
closed, you can shift-click the groups to only select group layers, not their
contents.

This way, both use cases are still quite doable easily with this default choice.
2022-11-12 18:28:58 +01:00
..
.gitignore
Makefile.am app: new "gex" format (GIMP Extension). 2019-04-12 18:49:18 +02:00
file-data-gbr.c Issue 4456: CRITICAL **...: g_object_unref: assertion 2020-01-05 12:36:01 +01:00
file-data-gbr.h app: factor file_gbr_drawable_to_brush() out of file_gbr_image_to_brush() 2019-03-03 19:44:02 +01:00
file-data-gex.c app: fix GEX installation with warning while decompressing. 2022-10-12 00:08:28 +02:00
file-data-gex.h app: new "gex" format (GIMP Extension). 2019-04-12 18:49:18 +02:00
file-data-gih.c app: fix #6436 *.gih grayscale export crashes GIMP 2021-11-08 17:10:32 -05:00
file-data-gih.h app, plug-ins: move file-gih-load from the file-gih plug-in to the core 2019-02-19 23:41:34 +01:00
file-data-pat.c app: rework and fix the logic for copy-pasting multiple drawables. 2022-11-12 18:28:58 +01:00
file-data-pat.h app: move file-pat-load from the file-pat plug-in to the core 2019-02-11 18:35:07 +01:00
file-data.c Issue #5313: consistent "file-pat-save-internal" procedure with… 2021-10-15 00:32:10 +02:00
file-data.h
meson.build Meson port. 2019-09-11 16:42:04 +02:00