Bug 459683

Summary: "Toggle Layer Visiblity" doesn't work for multiple layers
Product: [Applications] krita Reporter: Yu-Hsuan Lai <raincolee>
Component: Layer StackAssignee: Krita Bugs <krita-bugs-null>
Status: ASSIGNED ---    
Severity: normal CC: griffinvalley
Priority: NOR    
Version First Reported In: 5.1.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: All   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Yu-Hsuan Lai 2022-09-26 04:35:06 UTC
SUMMARY
Not entirely sure if it's a bug, but its behavior is rather unexpected for me.

STEPS TO REPRODUCE
1. Create a layer "A"
2. Create a layer "B"
3. Hide layer "B" (now "A" is visible and "B" is hidden)
4. Select both "A" and "B"
5. Excute the action "Toggle Layer Visibility"

OBSERVED RESULT
"A" and "B" are both visible

EXPECTED RESULT
"A" is hidden and "B" is visible

NOTE
I can see why it works like that, but I believe it shouldn't. It should've toggled all select layers' visiblity.
Comment 1 wolthera 2023-01-16 14:33:45 UTC
Hi, thank you for your report.

I can confirm with the Krita Version: 5.2.0-prealpha (git 5c98a72) Appimage with Qt 5.15.7
Comment 2 Bug Janitor Service 2023-03-17 20:48:52 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1777
Comment 3 Dmitry Kazakov 2024-08-22 16:38:45 UTC
Remove triaged keyword from CONFIRMED bugs