Bug 377142 - Move Tool Sluggish Performance in Wrap-around Mode
Summary: Move Tool Sluggish Performance in Wrap-around Mode
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Move (show other bugs)
Version: 3.1.2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 379636 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-03-03 04:49 UTC by Emmet O'Neill
Modified: 2018-10-10 07:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch for testing (5.27 KB, patch)
2017-04-18 11:57 UTC, Dmitry Kazakov
Details

Note You need to log in before you can comment on or make changes to this bug.
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.