https://bugs.kde.org/show_bug.cgi?id=396019
Bug ID: 396019 Summary: Folding layer 1 not possible when layer 2 yet folded Product: kate Version: 17.12.0 Platform: Other OS: All Status: UNCONFIRMED Severity: major Priority: NOR Component: folding Assignee: kwrite-bugs-n...@kde.org Reporter: sommer...@gmail.com Target Milestone: --- Steps to reproduce: 1.) Open the attached file “bug.mss” in Kate. 2.) Click on code folding at line 1: The lines 2, 3, 4 are hidden as expected. The last line (line 5) with the closing “}” isn’t hidden. 3.) Click again on code folding at line 1: The lines 2, 3, 4 appear. 4.) Click on code folding at line 2: The lines 3, 4 are hidden. This time, the line with the closing “}” (line 4) is hidden. 5.) Now, lines 1, 2, 5 are visible. Click on code folding at line 1: Nothing happens. Bugs: A: Current behaviour: The behaviour of step 2 and step 4 isn’t consistent: One time, the line with the closing “}” is hidden, another time not. Expected behaviour: The behaviour is consistent in both situations. B: Current behaviour: In step 5, nothing happens. Expected behaviour: Code folding as usual. -- You are receiving this mail because: You are watching all bug changes.