Bug 419397

Summary: Reference image open in another window deletes when using transform tool in other window.
Product: [Applications] krita Reporter: Robert <rgbear9>
Component: Tools/TransformAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Robert 2020-03-29 22:20:14 UTC
SUMMARY
In Krita git master and 4.2.9 appimage on gentoo linux, when using a reference image in another sub window, that has been zoomed in, and in the other sub window that has the painting, if the transform tool is used on the painting document. Then the reference, that is in the it's own window, will be deleted until enter is hit to set the transform on the other document and then will reappear.

STEPS TO REPRODUCE
1. Have to have the two sub-windows open beside each other. 
2. Zoom in on the reference window. 
3. Use the selection tool to isolate an area on the painting document, then use the transform tool to edit the painting.

OBSERVED RESULT
The other document/image is deleted and doesn't remain until on the painted document is finished with hitting enter when transform tool is used.

EXPECTED RESULT
Thes expected result is the image in another sub-window not to be affected when the focus is in another sub-window/document.

SOFTWARE/OS VERSIONS

Operating System: Gentoo Linux 
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.1
Kernel Version: 5.5.3-gentoo-x86_64
OS Type: 64-bit
Processors: 12 × Intel® Core™ i7-5820K CPU @ 3.30GHz
Memory: 15.5 GiB of RAM


ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2020-04-02 12:20:51 UTC
I cannot reproduce this, but I suspect it simply means that your graphics memory is running out and the texture used for the reference image get bumped out by the texture for the transform tool preview.
Comment 2 Robert 2020-04-03 07:04:06 UTC
(In reply to Boudewijn Rempt from comment #1)
> I cannot reproduce this, but I suspect it simply means that your graphics
> memory is running out and the texture used for the reference image get
> bumped out by the texture for the transform tool preview.

I just did a rebuild of my nvidia drivers and kernel and now the second sub-window with the reference image is no longer vanishing.
Comment 3 Halla Rempt 2020-04-03 11:16:15 UTC
Thanks for checking!
Comment 4 Robert 2020-04-03 22:30:21 UTC
I had somehow added the IC2 module in the nvidia driver/kernel and that was causing the issue.