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

            Bug ID: 408204
           Summary: Layer stack behavior changed since 4.1.7
           Product: krita
           Version: git master
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Layer Stack
          Assignee: krita-bugs-n...@kde.org
          Reporter: loen...@gmail.com
  Target Milestone: ---

When upgrading from 4.1.7 to 4.2.0 and 4.3.0 (git) I faced with two issues with
layer stack. It's likely to be in the same piece of the code and because of
that I didn't fill two bugs.


First is related to clicks to thumbnail. In 4.1.7 when you click to group layer
thumbnail it gets folded and unfolded, which is convenient and I always used
this. Now (since 4.2.0) you can only fold/unfold layer by clicking the very
small area to the right of thumbnail. It's hard to click to it with the pen
actually. 


The second bug (4.3.0 git master) is related to layer creating and traversing
layer box by the keyboard. When you do one of the actions, below, the layer
group is expecting to be unfolded (as in 4.1.7), but it doesn't:
1. surround a layer by group (Ctrl+G)
2. create layer mask
3. navigating with Page Up/Page Down.


Guess the first bug was introduced due to some change in logic of layer
selection, maybe adding the feature to select non-transparent layer area by
<Modifier>+Click to thumbnail, and some related effect of this was fixed in
e775a0e82501633b5769e17263fa7ad5d036a29e but the thumbnail-click behavior
wasn't restored.


I believe that the second bug is introduced in
c475619ef738854bf40d6b6844510c13da1357dc, when the last "else" block was added.
the "setCurrentIndex" is never called in this case and because of that
automating unfolding doesn't work. (Also the code analyzer is claiming about
misusing the "hasCorrectModifier" and "action" variables).


I will try to fix it on free time.

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

Reply via email to