Bug 386128 - Creating quick group slowing down with a bigger file size
Summary: Creating quick group slowing down with a bigger file size
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Layer Stack (show other bugs)
Version: 3.3.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-10-24 01:03 UTC by katearcher89
Modified: 2018-10-28 03:40 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description katearcher89 2017-10-24 01:03:36 UTC
If a file getting bigger than a certain size creating a new quick group become extremely slow.

1. Create a new file, like 6x9k.
2. Start to draw random stuff creating new layers periodically.
3. Group these layers from time to time.
4. See as grouping become slower and slower.
5. After you hit a certain size(in my case its a 6 or 7 gb reported file size on the bottom of the krita window; I have 16gb windows 7-64 machine) grouping would become extremely slow(like one or two minutes till the operation indicator on the bottom disappears)
6. If it takes longer that a minute you can try to press save and on the window "wait for the operation to end and save" choose save without waiting for and you'll get infinite grouping. 
7. But if you open the file saved that way there will be the desired group that you were waiting for in the previous steps(I suppose that means that the grouping itself not the culprit but some of the operations after the grouping are)

(I've tested this with my files on ubuntu 17.04 machine and get the same results more or less)

desired effect: Grouping should take the same amount of time no matter how many layers you have or how much memory a file used.
Comment 1 Halla Rempt 2017-11-26 15:08:51 UTC
Hi Kate,

Can you please give us a file to test with? We'd also need to know which layers you're trying to group and ungroup to try to reproduce.
Comment 2 katearcher89 2017-11-26 17:55:06 UTC
(In reply to Boudewijn Rempt from comment #1)
> Hi Kate,
> 
> Can you please give us a file to test with? We'd also need to know which
> layers you're trying to group and ungroup to try to reproduce.

Hi!

Here is a file: https://www.dropbox.com/s/n720soowefsbcd6/page_colored_02_01.kra?dl=0

 - You can create a new layer anywhere, for example above layer_05,(you can draw something on it to make sure it is created and all that)
 - hit ctrl-g or select quick group in layers docker on that layer
 - you can make few strokes after that
 - what up to several minutes until strokes will appear

This lag works on this file on two of my systems; one is win7/i7/16gb and krita 3.2.2 and ubuntu17.04/i5/8gb and krita 3.2.1.

What's curious is that grouping layers inside of the level 1 group is way faster for this file, but on several others I was having same problems anywhere in the group hierarchy. 

And another side note: This lag is happening not on all files I have, and there are similar structured, same size(on disk and reported in a bottom bar) and dimensions files that work just fine(given that they are pretty heavy documents to handle on their own right).
Comment 3 Andrew Crouthamel 2018-09-28 02:28:41 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-28 03:40:25 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!