After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 757581 - Perspective Tool is slow
Perspective Tool is slow
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
2.8.14
Other Mac OS
: Normal normal
: 2.10
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks: 141797
 
 
Reported: 2015-11-04 11:38 UTC by Jo
Modified: 2018-01-15 20:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jo 2015-11-04 11:38:17 UTC
i always wonder, why the transformation tool -perspective-, is that lame - please check that code

is the tool so lame because of:
# the famous redraw-bug ?
# multithreding isnt used?
Comment 1 Jehan 2015-11-05 19:26:44 UTC
Could you be more explicit please on the problems you encounter?

And could you please use respectful language? I don't think you'd like us to speak to you the same way.
Comment 2 Jo 2015-11-05 20:44:41 UTC
that the tool is extremely slow (maybe lame wasnt a happy choice of words) is a fact and not my intention to blame somebody. Therefore, its clearly to consider as a bug. Its more that point i wanted to highlight.

the same slow behavior applies for the cage tool too: when i create or move the nodes, my Mac hangs always for 2 or more (especially moving nodes ) seconds before i can proceed.
Comment 3 Michael Schumacher 2017-07-03 18:48:36 UTC
*** Bug 784478 has been marked as a duplicate of this bug. ***
Comment 4 Michael Natterer 2017-07-03 20:58:33 UTC
How is cage transform related to perspective transform in any way?

Also, perspective transform should be exactly as fast or slow as rotation,
unified or shear.
Comment 5 Jo 2017-07-04 06:27:47 UTC
(In reply to Michael Natterer from comment #4)
> How is cage transform related to perspective transform in any way?
> 
> Also, perspective transform should be exactly as fast or slow as rotation,
> unified or shear.

Before i worked on a MacPro, a power desktop computer, now just a laptop. The transformation delay of the cage tool takes way to long, so that im forced to use other apps. The cage tool should be a better code because it was introduced way later than the perspective tool, but perspective is definitely quicker, whereas the cage tool unacceptable - at least for laptops, i bought it a month ago
Comment 6 Michael Natterer 2017-07-04 12:39:04 UTC
Please let's keep cage transform out of this bug, it's 100% different code.
Comment 7 Jo 2017-07-04 16:18:52 UTC
(In reply to Michael Natterer from comment #6)
> Please let's keep cage transform out of this bug, it's 100% different code.

i would prioritize the cage tool as it is more powerful, the perspective tool needs improvement, but works more or less slow as it is.

Anyway, there should be already another bug report to address the cage tool issue, i guess.
Comment 8 Michael Natterer 2017-07-28 19:35:13 UTC
We won't change anything about transform tools in 2.8, can you
check git master or any 2.9 recent version please?
Comment 9 Jo 2017-08-04 10:42:46 UTC
(In reply to Michael Natterer from comment #8)
> We won't change anything about transform tools in 2.8, can you
> check git master or any 2.9 recent version please?

usually i dont use development versions, maybe 2.9 is a valid exception. Seems a lot of people uses this package. I can try and report back!
Comment 10 Michael Schumacher 2017-10-17 21:35:38 UTC
Jo, any news there?
Comment 11 Jo 2017-12-12 13:45:51 UTC
I tried with gimp 2.9.6 from Partha. 
The combined transformation tool is unusable slow and perspective same as in older versions. 

I'm happy to see where the next gimp is moving so far (the developer version). I switched to other painting software meanwhile but will check in here sometimes as Gimp helped me a lot.
Comment 12 Ell 2018-01-15 20:04:59 UTC
In master,

commit 7f56393138d6da3d42c6b62cbfbf78f8101c2670
Author: Ell <ell_se@yahoo.com>
Date:   Mon Jan 15 12:17:13 2018 -0500

    app: use GEGL for transform-tools preview
    
    Before you get too exceited -- no, this commit doesn't integrate
    transform previews into the image graph :)  We still use a
    separate canvas-item overlay, just like before, but instead of
    using an impromptu implementation to render the preview, we use
    gegl:transform.  We properly adjust the matrix passed to the op
    according to the display scale, so that we still render only as
    much as needed.
    
    This is both notably faster than the current code, and, for
    perspective transforms, more accurate.

 app/display/gimpcanvastransformpreview.c | 1014 ++++++++++++++++++++++++-----------------------------------------------------------------------------------------------
 1 file changed, 205 insertions(+), 809 deletions(-)

notably improves the preview speed of transform tools, which is especially notable for perspective transforms, which are no longer exceptionally slow.

Closing as fixed.