Merge and Anchor buttons disappearing in Layers dockable is broken
Environment/Versions
- GIMP version: master
- Package:
- Operating System: likely all
Description of the bug
The "Anchor" button is currently always present. It is meant to only appear when a floating selection is present, and when it does the "Merge" button should be hidden. See behavior GIMP 2.10. This got broken somewhere along the changes we did.
Also when "Anchor" is shown, all buttons should be deactivated but "New", "Anchor" and "Delete" (all 3 of them being hightlighted specially), because these are the only possible actions (regarding layer management) at this point. I notice that "New group" and the "Search/Link" buttons are still active. They should be deactivated too.
Opening this report for not forgetting to fix this.
@cmyk.student Since you were looking at this code, patch welcome if you want. ;-)