Bug 434755

Summary: Soft returns don't always work
Product: [Applications] krita Reporter: Tom Mooney <tomofnz>
Component: Tool/TextAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: griffinvalley, halla
Priority: NOR    
Version First Reported In: 4.4.2   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Text showing where soft returns were inserted as hard returns.

Description Tom Mooney 2021-03-22 10:43:53 UTC
Created attachment 136938 [details]
Text showing where soft returns were inserted as hard returns.

SUMMARY


STEPS TO REPRODUCE
1. Enter some text with a mix of hard returns and soft returns.
2. Observe that some of the desired soft returns are processed as hard returns.
3. Cry.

OBSERVED RESULT
Shift Return only sometimes inserts a soft return.

EXPECTED RESULT
Nice soft returns on Shift Enter everytime

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 wolthera 2021-09-09 12:40:57 UTC
Yeah, this is a side effect of us trying to get manually newlined text working :|

It s complicated by the fact that in SVG this is also affected by XML:preserveWhiteSpace. (We try to have each line as it's own positioned piece of text, but afaik, soft returns need to be handled by way of XML:preserveWhiteSpace, and etcetcetc, it's confusing).
Comment 2 Dmitry Kazakov 2024-08-22 16:39:30 UTC
Remove triaged keyword from CONFIRMED bugs