https://bugs.kde.org/show_bug.cgi?id=431431

            Bug ID: 431431
           Summary: Merging to hidden layer discards hidden layer
           Product: krita
           Version: 4.4.1
          Platform: unspecified
                OS: Unspecified
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Layer Stack
          Assignee: krita-bugs-n...@kde.org
          Reporter: el.dodg...@gmail.com
  Target Milestone: ---

SUMMARY
When merging a layer down, if the layer underneath is hidden, the hidden layer
is discarded completely.

This is counterintuitive and prone to accidents, sometimes ones that end up
being discovered long after the action has exceeded the undo limit and becomes
unrecoverable (because it can happen to layers not being used and thus not
missed). Further, it violates the "follow the same rules" principle: You cannot
paint on a hidden layer; therefore you should not be able to merge to a hidden
layer (especially if the contents are thus discarded). If someone wants to
delete a layer, just actually deleting the layer is a more sensible way to go
about doing so.

STEPS TO REPRODUCE
1. Create a new document
2. Paint on a layer (Layer 1) and hide it.
3. Add a new layer (Layer 2) and paint on that.
4. Merge Layer to to Layer 1 (without unhiding Layer 1)

OBSERVED RESULT
Layer 1 is just gone. Completely obliterated, exactly as if it had been
deleted.

EXPECTED RESULT
ONE OF:
1: Layer 1 and Layer 2 are merged, and the resulting layer is unhidden
2: Layer 1 and Layer 2 are merged, and the resulting layer is hidden
3: User is prohibited from merging down (option is greyed out) when the layer
below is hidden, or if any of the layers being merged are hidden.

SOFTWARE/OS VERSIONS
Windows: Any
macOS: Any
Linux/KDE Plasma: Any
(available in About System)
KDE Plasma Version: N/A
KDE Frameworks Version: N/A 
Qt Version: N/A

ADDITIONAL INFORMATION
It's going to take me a bloody hour to paint that droid again, because autosave
didn't happen, either.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to