Bug 346006 - Freeze and crash when editing multiline text
Summary: Freeze and crash when editing multiline text
Status: RESOLVED DUPLICATE of bug 306181
Alias: None
Product: krita
Classification: Applications
Component: Layers/Vector (show other bugs)
Version: 2.9
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-09 01:14 UTC by Tyson Tan
Modified: 2015-08-11 10:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Krita crash quit when frozen by editing multiline texts (13.23 KB, text/plain)
2015-04-09 01:15 UTC, Tyson Tan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tyson Tan 2015-04-09 01:14:17 UTC
Krita freezes when editing multiline text. I was trying to cancel highlighting the texts by inserting a space. The interface shifts between grey-out and normal, but not responsive either way. I force quit the application and Krita crashed.

Reproducible: Always

Steps to Reproduce:
1. Insert a section of multiline text;
2. Make the texts red, now the texts are highlighted;
3. Switch to Shape Handling Tool, drags the handles around;
4. Use Text tool to edit the texts;
5. Try input a space and using the arrow keys to move input mark;
6. Krita freezes;
Comment 1 Tyson Tan 2015-04-09 01:15:21 UTC
Created attachment 91959 [details]
Krita crash quit when frozen by editing multiline texts
Comment 2 Stefano Bonicatti 2015-05-28 16:13:41 UTC
I'm not able to reproduce, is this still happening to you?
Comment 3 mvowada 2015-06-27 11:28:41 UTC
Hello Tyson, I've just checked following the steps above, with the latest version of Krita: 2.9.5 (git 9fe0557) on Ubuntu 14.04.
I've tried several times, but I haven't been able to reproduce the issue.
Comment 4 Tyson Tan 2015-06-27 13:25:15 UTC
There were crashes. Probably related to the implement of multiple document interface and it's now fixed...probably? But there is still huge slowdown or outright not responsive to my input all time when I use Multiline text tool. 

1. Major slowdown. Every letter I input takes more than 100ms to show up. And if I select some text and try to change its color or something, it will take a few seconds, sometimes even much longer for the according Tool options (now in the toolbar) to show up. I think it was the slowdown that I took it as freezing. Fairly so if the slowdown locks up Krita for a minute with its UI gray out.

2. When using Multiline tool and Shape handling tool with a tablet stylus, the cursor flickers back and forth among mouse pointer / hand / text indicator. After the first input, hovering the cursor through the canvas, I can see brush size bar and its value changes like crazy but it's also grey out. Sometimes the cursor becomes a brush and I can not even edit. Was the brush tool activated when I was using text tool? FYI, there are a handful of other tools and UI components in Krita that are fine with mouse but problematic with tablet stylus.

3. CPU usage sky-rockets during each action when using Multiline text tool. I'm using Thinkpad X230t, it sports an i7-3520M with 16GB dual DDR3-1866 memory which I suppose fairly mainstream if not powerful. It's always dead silent except on two occasions: Building Krita / Using Krita's multiline text tool. ;b

Is there anyway to track performance issue for the text tool?
Comment 5 Halla Rempt 2015-08-11 10:34:52 UTC
Hi... Let's track all the multiline text tool bugs in 306181 -- it needs rewriting in any case, and a redesign.

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