Bug 377142

Summary: Move Tool Sluggish Performance in Wrap-around Mode
Product: [Applications] krita Reporter: Emmet O'Neill <emmetoneill.pdx>
Component: Tools/MoveAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: dimula73, ffrima, halla
Priority: NOR    
Version: 3.1.2   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Attachments: Patch for testing

Description Emmet O'Neill 2017-03-03 04:49:53 UTC
The Move Tool (T) suffers from a major performance hit when working in Wrap-around Mode (W). I noticed this while painting a moderately sized (1024x1024) tiling texture. It's probably just due to the sheer number of pixels that need to be drawn in Wrap-around mode, but it feels bad and is annoying to work with.

Maybe there is some kind of optimization, level-of-detail, or 'Instant Preview Mode' kind of thing that can be used to speed up Wrap-around mode rendering?
Comment 1 Emmet O'Neill 2017-03-03 04:59:55 UTC
I should add that the performance problem becomes noticeably worse as you zoom out and can see more instances of the canvas.

Also, here are my current specs:
Windows 10 64-bit
Intel Core i7 930 (Bloomfield) 2.8Ghz
6GB DDR3 RAM @ 1333MHz
AMD Radeon HD 7770 300Mhz 1GB VRAM
Krita 3.1.2 with ~default configuration.
Comment 2 Halla Rempt 2017-03-03 08:51:26 UTC
The move tool itself already uses instant preview. This sounds more like a problem with the gpu. The more instances of the image are shown on screen, the more work it has to to do.
Comment 3 Halla Rempt 2017-03-03 09:19:36 UTC
https://phabricator.kde.org/T5519
Comment 4 Dmitry Kazakov 2017-04-18 11:57:37 UTC
Created attachment 105077 [details]
Patch for testing

I tried to add a patch for compressing the mouse events, but it changes nothing for me. The move tool is relatively quick both with and without the patch.

Could someone check this patch and see if it fixes something for you?
Comment 5 wolthera 2017-05-23 16:19:36 UTC
*** Bug 379636 has been marked as a duplicate of this bug. ***
Comment 6 Halla Rempt 2017-08-24 08:57:26 UTC
I thought it felt a bit snappier, but it could just be an illusion...
Comment 7 Emmet O'Neill 2018-10-10 07:51:21 UTC
This seems to no longer be an issue, as the performance hit seems minimal even on my pretty mediocre laptop. 

I think this can be closed and marked as fixed.