Bug 332386 - transform tool preview breaks when toggling layer visibility
Summary: transform tool preview breaks when toggling layer visibility
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Transform (other bugs)
Version First Reported In: 2.8.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 343783 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-03-21 04:09 UTC by Chris Jones
Modified: 2016-06-16 09:08 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Redraw error example (41.63 KB, image/jpeg)
2016-04-04 07:48 UTC, rebuilderster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Jones 2014-03-21 04:09:53 UTC
Using the Transform tool on a large layer, the image on the layer often disappears while manipulating it, and it can't be made to reappear.  Usually it's after scaling it up and clicking the visibility icon off and on.  Sometimes the transparency is also glitchy while adjusting it when using the Transform tool.


Reproducible: Sometimes

Steps to Reproduce:
1.  Create a 4000 x 4000 canvas
2.  Create a new layer
3.  Draw something large on the layer
4.  Select the Transform tool and use it to scale the layer up
5.  With the Transform tool still selected, turn the layer visibility off and on
Actual Results:  
The image is gone even though the layer visibility is on, or transparency fails to work on the layer

Expected Results:  
Image remains visible

If this is an OpenGL issue, then I am becoming increasingly suspicious of my GPU (GeForce 9600 GT), since this other OpenGL related bug I reported has not yet been confirmed: https://bugs.kde.org/show_bug.cgi?id=331794
Comment 1 Halla Rempt 2014-05-03 10:18:39 UTC
No, this isn't an opengl issue, I think. It must be some logic error that happens with the transform tool and layer visibility. I can also reproduce it on Intel gpu's.
Comment 2 Halla Rempt 2015-08-08 07:06:29 UTC
Dmitry, could you take a look at this? I'm sure it's something simple, but it still happens.
Comment 3 wolthera 2016-02-06 17:41:39 UTC
*** Bug 343783 has been marked as a duplicate of this bug. ***
Comment 4 rebuilderster 2016-04-04 07:48:25 UTC
Created attachment 98235 [details]
Redraw error example

Example of  redraw error when selecting with rectangle tool on a layer.
Comment 5 rebuilderster 2016-04-04 07:48:57 UTC
I sometimes get what is probably the same error when using the rectangle selection tool. The example attached resulted from: 
-copy image to new document.
-resize document to 3508 px wide
-create new layer, draw on it
-use rectangle selection to select something on the new layer

Most of the layer in the bacground turns transparent, as if some tiles fail to draw correctly.
Comment 6 Dmitry Kazakov 2016-04-11 18:40:56 UTC
Hm, I cannot reproduce it here. I think I have fixed this bug during the Krita 3.0 release cycle.
Could you please check with Krita 3.0?
Comment 7 Chris Jones 2016-04-12 01:23:39 UTC
Repeating the steps in my original post, the problem appears resolved.  I couldn't reproduce rebuilderster@gmail.com's error, although I'm not certain I'm replicating the steps in exactly the same way.  2.x often exhibits strange behaviour on a second open document - could it be related to this?  I haven't tested 3.0 enough to encounter issues with a second document yet.
Comment 8 Halla Rempt 2016-06-16 09:08:50 UTC
Thanks for checking!