Bug 290950 - Krita 2.4(b5): freeze after typing very big values in the text box
Summary: Krita 2.4(b5): freeze after typing very big values in the text box
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-08 10:06 UTC by Silvio Grosso
Modified: 2012-01-14 00:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silvio Grosso 2012-01-08 10:06:56 UTC
Version:           SVN (using Devel) 
OS:                Linux

BUNTU 11.10 - 64 bit (Oneiric Ocelot) - UNITY SHELL
KDE: Platform Version 4.7.97 (4.8 RC2)
KRITA 2.4 - BETA 5 (installed through ppa:neon/ppa)
OpenGl is disabled (Setting > Configures > Display)
Vbox 4.1.4 (Windows 7 as Host; Ubuntu is the guest)

My Distro is updated - upgraded daily (through the ppa:neon/ppa package)

Reproducible: Always

Steps to Reproduce:
- Fire up Krita and open a new Rgb custom document;
- Write some text;
- Select this text (well, it is a very difficult but....)
- When you have finally *selected* your text, type in the box a very high value:  e.g. 99999.
 I know this value is way too big but I am testing Krita :-)
- Krita freezes because it is unable to apply this big value to the *selected* text.

To recap, Krita does NOT crash on Ubuntu 11.10 but its GUI becomes unresponsive.



Actual Results:  
Krita 2.4 is unable to handle very BIG values for the text tool.


Expected Results:  
Krita 2.4 beta 5 should not freeze its Gui when handling big text values.


I have tried to type big text values on Gimp 2.7.4 to see how it behaves :-)
With Gimp you can type these big values (e.g. 99999).
BUT, as soon as you hit enter to apply them, they are deleted (in order to avoid Gimp to crash or freeze).

I have recorded a video with all my steps to freeze Krita 2.4 beta 5.
You can get it here:
http://dl.dropbox.com/u/3095134/KRITA_2.4-B5_BIG_TEXT_FREEZING.zip

On Windows 7, Krita 2.4 beta 5 crashes as soon as you hit enter.
While on Ubuntu 11.10, as detailed above, only freezes its GUI.

I suppose this bug affects Calligra Words as well.
Comment 1 Sven Langkamp 2012-01-14 00:31:35 UTC
Git commit 5a60d1b0100e2240d1e698e8ed0ddd3ecfd60362 by Sven Langkamp.
Committed on 14/01/2012 at 01:29.
Pushed by langkamp into branch 'master'.

limit shape layer rendering to image bounds, fixes freezing when text tool is used with gigantic font sizes

M  +1    -0    krita/ui/flake/kis_shape_layer_canvas.cpp

http://commits.kde.org/calligra/5a60d1b0100e2240d1e698e8ed0ddd3ecfd60362