Bug 411768

Summary: Line Tool preview is delayed
Product: [Applications] krita Reporter: rittels
Component: ToolsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: ahab.greybeard
Priority: NOR    
Version: 4.2.5   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description rittels 2019-09-09 19:37:47 UTC
SUMMARY
When using the line tool with the "Show Preview" the preview is delayed by a whole second and shown only when pausing.
If "Show Guideline" is checked, the guideline will appear instantly and update live, otherwise nothing whatsoever is shown until you finish the line or pause for a second.

STEPS TO REPRODUCE
1. Activate line tool
2. Make sure "Show Preview" is checked
3. Draw a line

OBSERVED RESULT
Delayed preview, only appears if pausing the line for a whole second.

EXPECTED RESULT
Live, instantaneous preview (as if i were drawing on a ruler).

SOFTWARE/OS VERSIONS
Windows: 10 (x86_64)
ADDITIONAL INFORMATION
Comment 1 Ahab Greybeard 2019-09-11 16:14:11 UTC
I can confirm that this is the case and has been since version 4.1.7.
Comment 2 Bug Janitor Service 2021-10-25 23:36:30 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1124
Comment 3 Dmitry Kazakov 2021-10-28 05:22:08 UTC
Git commit b9b45e86668dd5d784082bb7efdf337b8ec0d28a by Dmitry Kazakov, on behalf of Reinold Rojas.
Committed on 28/10/2021 at 05:21.
Pushed by dkazakov into branch 'master'.

Decrease wait time to render line tool preview

M  +2    -2    plugins/tools/basictools/kis_tool_line.cc

https://invent.kde.org/graphics/krita/commit/b9b45e86668dd5d784082bb7efdf337b8ec0d28a
Comment 4 Dmitry Kazakov 2021-11-17 14:01:26 UTC
Git commit 13b44311d1355a64dc25a25980dc3a26eaa04852 by Dmitry Kazakov, on behalf of Reinold Rojas.
Committed on 17/11/2021 at 13:47.
Pushed by dkazakov into branch 'krita/5.0'.

Decrease wait time to render line tool preview

M  +2    -2    plugins/tools/basictools/kis_tool_line.cc

https://invent.kde.org/graphics/krita/commit/13b44311d1355a64dc25a25980dc3a26eaa04852