Bug 401658

Summary: Bold Problem in SVG Text Tool
Product: [Applications] krita Reporter: ikansumpit
Component: Tool/TextAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: 4.1.1   
Target Milestone: ---   
Platform: Other   
OS: macOS   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Bold text color is automatically changed into black

Description ikansumpit 2018-12-02 16:18:20 UTC
Created attachment 116626 [details]
Bold text color is automatically changed into black

SUMMARY
Making Bold text in SVG Text tool always changes the bold text color into black. You have to manually change it into back to the desired color. 

STEPS TO REPRODUCE
1. Type with SVG Text Tool a paragraph of words, in multiple lines.
2. Give the paragraph any color (other than black), click Save button.
3. Bold the first word on the first line.
4. Then, Bold any word on any other line.
5. click Save button

OBSERVED RESULT
1. The bold text color is changed into black suddenly
2. For any other line (except the first) you can manually change back the color by clicking on the color button above.
3. For the first line, the bold text will still remain black, you have to add another character (whatever it is) in front of the first word, then you can click the color button above to change back the color.

EXPECTED RESULT
1. Type a paragraph, give it a color
2. Edit some texts in that paragraph into bold
3. Bold Text color remains the same

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

ADDITIONAL INFORMATION
This bug is also found in Krita Windows version
Krita version 4.1.1 until 4.1.5
Comment 1 Halla Rempt 2018-12-19 09:29:30 UTC
I can reproduce it in the 4.1 branch. In master, it's fixed, though.