Bug 417911

Summary: references disappear
Product: [Applications] krita Reporter: Nikolay <nemitko>
Component: Tools/Reference ImagesAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: ghevan
Priority: NOR    
Version: 4.2.8   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Opened the file and switched to another composition

Description Nikolay 2020-02-20 09:24:08 UTC
Created attachment 126190 [details]
Opened the file and switched to another composition

SUMMARY
Hello. I use the reference image tool tool and the Compositions at the same time. Compositions of 7 pieces (a convenient thing, I draw a storyboard). So, when you first open the file, all the refs are in place, but if you switch to another composition and use the zoom, the refs are erased and can no longer be used.

STEPS TO REPRODUCE
1. Open file containing refs and compositions
2. Go from one song to another
3. Zoom in

OBSERVED RESULT
Refs will disappear

EXPECTED RESULT
Continue to use refs

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

ADDITIONAL INFORMATION
Comment 1 vanyossi 2020-02-20 13:47:42 UTC
After chanigng compositions que references are no longer selectable. A zoom, pan or rotate will make them dissapear. References are still in the file, as saving an reopening will show them again.
Comment 2 wolthera 2020-08-07 16:25:40 UTC
Git commit ce8879455c7ce7eb02823e367d9da625fb240c2a by Wolthera van Hövell tot Westerflier.
Committed on 07/08/2020 at 16:25.
Pushed by woltherav into branch 'master'.

Fix skipping over fake nodes for composition visibility.

The compositions should not be handling anything related to fake
nodes, such as the ones where the reference layer and the
assistants/guides live one.
Related: bug 420051

M  +5    -0    libs/image/kis_layer_composition.cpp

https://invent.kde.org/graphics/krita/commit/ce8879455c7ce7eb02823e367d9da625fb240c2a
Comment 3 wolthera 2020-08-07 16:26:50 UTC
Git commit 0a0caa8594d2429ab36cc6fb8356fa8bd80d4362 by Wolthera van Hövell tot Westerflier.
Committed on 07/08/2020 at 16:26.
Pushed by woltherav into branch 'krita/4.3'.

Fix skipping over fake nodes for composition visibility.

The compositions should not be handling anything related to fake
nodes, such as the ones where the reference layer and the
assistants/guides live one.
Related: bug 420051

M  +5    -0    libs/image/kis_layer_composition.cpp

https://invent.kde.org/graphics/krita/commit/0a0caa8594d2429ab36cc6fb8356fa8bd80d4362