Bug 355773

Summary: Duplicating Artistic Text will remove multiple spaces
Product: [Applications] krita Reporter: Kyle UX (chez Tinderbox) <krita>
Component: Layers/VectorAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: halla, herrkjeldsen
Priority: NOR    
Version: 2.9.9   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kyle UX (chez Tinderbox) 2015-11-23 03:47:49 UTC
When the user duplicates an Artistic Text object with copy and paste, any multiple spaces in a row will be replaced with one single space.

Reproducible: Always

Steps to Reproduce:
1. Create an Artistic Text object.
2. Double click to edit the text.
3. Type "I love     SPACES!". (5 spaces)
4. Exit the text editing mode by clicking the Shape Handling Tool.
5. Select the text and copy [Ctrl + C] then paste [Ctrl + V].
6. Notice the duplicate text presents "I love SPACES!".

Actual Results:  
The row of spaces are replaced with one single space.

Expected Results:  
The contents of the Artistic Text object should duplicate its source content exactly.
Comment 1 Marcus Kjeldsen 2016-04-10 09:15:58 UTC
I can confirm on 3.0 Alpha 1 on win10
Comment 2 Halla Rempt 2016-04-11 06:53:30 UTC
Thanks for testing. This probably is because we save the text as xml which strips double spaces. The text tools need rewriting any case.
Comment 3 Halla Rempt 2018-02-20 07:31:41 UTC
This tool has been replaced in 4.0