Bug 414310

Summary: When making new a selection there's a short delay before the marching ants appear
Product: [Applications] krita Reporter: acc4commissions
Component: Tools/SelectionAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: minor CC: halla
Priority: NOR    
Version First Reported In: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description acc4commissions 2019-11-19 18:00:40 UTC
SUMMARY
git e38ce58
When making a new selection there's a short delay before the marching ants appear.

But it's faster when there's a existing selection on the canvas.


SOFTWARE/OS VERSIONS
Windows: Win7
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2019-11-19 19:44:29 UTC
Well... That's because the outline object needs to be created the first time.
Comment 2 Halla Rempt 2020-05-06 09:14:52 UTC
This was fixed in 

commit c416124848d52a9b82ef275e24e3aaa1f45a3004
Author: Dmitry Kazakov <dimula73@gmail.com>
Date:   Wed Apr 29 18:04:36 2020 +0300

    Remove 500ms delay between selection creation and cretion of marching ants
    
    This delay was originally introduced to not interfere with painting,
    which (in 2013) was done directly over the ants. Now we have overlay
    mask functionality, therefore this delay is not needed anymore.
    
    There is still a short visible delay. It is cause but the outline
    genration algorithm is really slow. Perhaps we should also try to
    fix speed when working on bug 419240.
    
    BUG:419738
    CCBUG:395861

*** This bug has been marked as a duplicate of bug 419738 ***