Layers dialog context menu should show 'Delete Layer Group' instead of default 'Delete Layer' for layer groups
Operating System: (if feature is platform specific)
Distributor ID: ManjaroLinux
Description: Manjaro Linux
Release: 18.1.0
Codename: Juhraya
GNU Image Manipulation Program version 2.10.12
git-describe: GIMP_2_10_10-209-g3d8535b55f
C compiler:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto
Thread model: posix
gcc version 9.1.0 (GCC)
using GEGL version 0.4.16 (compiled against version 0.4.16)
using GLib version 2.60.6 (compiled against version 2.60.6)
using GdkPixbuf version 2.38.1 (compiled against version 2.38.1)
using GTK+ version 2.24.32 (compiled against version 2.24.32)
using Pango version 1.44.5 (compiled against version 1.44.5)
using Fontconfig version 2.13.1 (compiled against version 2.13.1)
using Cairo version 1.17.3 (compiled against version 1.17.3)
Description of the feature
When right clicking over a gimp "Layer Group", the context menu shows the normal "Delete Layer" option. I'm proposing that the context menu be context-sensitive enough that it's aware it's selected a "Layer Group" and therefore report "Delete Layer Group" instead.
Use cases
Edited by Michael Schumacher