Bug 349703

Summary: High CPU usage with multiline text
Product: [Applications] krita Reporter: mvowada <freebox64>
Component: ToolsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: halla
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Video
Test with OpenGL enabled and disabled.

Description mvowada 2015-06-29 07:26:33 UTC
I've noticed a considerable CPU usage:
A) when I type on a multiline text frame, as well as
B) when I move the multiline text frame over the canvas (please, see video below).

- Krita: 2.9.5 (git 9fe0557)
- Ubuntu 14.04 - Unity
- Core2 Quad CPU

Reproducible: Always

Steps to Reproduce:
Either case:
1. enter some multiline text
1. move a multiline text box

Actual Results:  
Considerable CPU usage and lags.

Expected Results:  
Lower CPU usage and responsiveness.

This issue has been mentioned in part also in:
- Bug 346006
- Bug 306181
Comment 1 mvowada 2015-06-29 07:30:42 UTC
Created attachment 93394 [details]
Video
Comment 2 Halla Rempt 2015-07-01 05:44:00 UTC
is that with opengl enabled or disabled?
Comment 3 mvowada 2015-07-01 09:23:04 UTC
Created attachment 93444 [details]
Test with OpenGL enabled and disabled.

Hello Boudewijn,
It seems it happens in either case, that is with OpenGL enabled "AND" disabled (see PNG file in attachment).
Tested with:
- GeForce 9800 GT/PCIe/SSE2 Video card
- OpenGL version string: 3.3.0 NVIDIA 331.113
Comment 4 Halla Rempt 2015-08-11 10:34:28 UTC
Let's track all the multiline text tool bugs in 306181 -- it needs rewriting in any case.

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