Bug 361284 - Text,changing font size AND font Type will result in crash
Summary: Text,changing font size AND font Type will result in crash
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tool/Text (show other bugs)
Version: 3.0 Alpha
Platform: Microsoft Windows Microsoft Windows
: NOR major
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-01 17:50 UTC by adriana
Modified: 2016-04-29 03:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description adriana 2016-04-01 17:50:05 UTC
once creating a text, moving into the tool options outliner,and changing the font size within the text properties.pressing the arrow key to make the text smaller...i get a crash.
Checked to see if i could at least change font type(i had a custom font i wanted) and that too resulted in a crash.

Reproducible: Always

Steps to Reproduce:
1.FOR FONT SIZE,make file.Create text with text tool,select text and highlight(now text is highlighted blue)
2.go to tool options, text properties to change size of font (default is 20)
3.press down arrow next to the font size,to reduce font. (should crash)
4. FOR CUSTOM FONT CHANGE.make file. create text. highlight text(now Blue).
5.under text properties, select text font type.

Actual Results:  
FOR TEXT FONT SIZE
pressing the arrow to reduce the font size, will cause krita to freeze. 
FOR TEXT FONT CHANGE
pressing the arrow key to open close the dropdown so i could select custom font with down arrow key on keybord. will give a crash

Expected Results:  
FOR TEXT FONT SIZE
the highlighted text should have shrunk in size
FOR TEXT FONT CHANGE
should have been able to select custom font

i have noticed when the text is not highlighted blue for selection. and i press the arrow icon to reduce font size, the font size Number changes and no crash occurs...(of course my text does nothing as far as changing size goes.)
FOR TEXT FONT CHANGE
i tried to type the custom font i wanted,but also resulted with a crash.

annnnd.... i thought i was typing my custom font in the text properties box,but i was overwriting my text on my canvas.i attempted to ctrl Z the get the text on my canvas back to what was originally written,but crtl Z caused a crash. as well
Comment 1 Halla Rempt 2016-04-02 08:00:42 UTC
Hi,

Thanks for your rport, right now, I don't get a freeze, but I'm unable to select fonts and make them stick. We know that the text tools are in a really bad shape, and I doubt we'll get them fixed for 3.0; they need a complete rewrite, I'm afraid.
Comment 2 Marcus Kjeldsen 2016-04-10 09:14:12 UTC
I can confirm crash on size and font change on 3.0 alpha 1
Comment 3 Scott Petrovic 2016-04-29 03:01:50 UTC
Git commit 65a5ce33c12b2b03a467f71e1f06d78b782400ba by Scott Petrovic.
Committed on 29/04/2016 at 03:01.
Pushed by scottpetrovic into branch 'master'.

M  +1    -1    plugins/flake/textshape/TextTool.cpp

http://commits.kde.org/krita/65a5ce33c12b2b03a467f71e1f06d78b782400ba