Bug 388413 - Text tool resets its color, align and line spacing settings every time I edit the text.
Summary: Text tool resets its color, align and line spacing settings every time I edit...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tool/Text (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-01 03:39 UTC by acc4commissions
Modified: 2018-10-02 17:23 UTC (History)
4 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 acc4commissions 2018-01-01 03:39:35 UTC
Font, weight, size settings don't. 

And I don't think it's critical, but the superscript and subscript (I'm not sure if it's the names you use cause the most menus of nightly builds are invisible in my pc) are reset as well, and they don't even apply to the actual text on the canvas in the first place.
Comment 1 Alvin Wong 2018-01-01 06:25:21 UTC
If you are reporting an issue with a nightly build, please set the version to "git master" and include the commit hash (or the name of the downloaded package file, i.e. `krita-nightly-**********`).
Comment 2 acc4commissions 2018-01-01 06:28:38 UTC
'krita-nightly-v4.0.0-prealpha.2-458-g9927ae411d'

Done. Sorry for the inconvenience.
Comment 3 wolthera 2018-01-01 11:59:14 UTC
Yeah, I fixed text-align yesterday. Color and line-spacing I attempted to fix, but they proved to be too complicated. More info here: https://phabricator.kde.org/T1004#122280

Subscript and superscript are caused because they are filtered out(because there's stuff like margins and such that make no sense in svg), but I'd like to talk to dmitry whether the filtering system can't be handled a little bit more elegantly.
Comment 4 wolthera 2018-01-01 12:00:48 UTC
BTW, the nightly builds 'missing' menus is caused by there being no translations, but your version of krita tries to get the current translation anyway. You can 'fix' this by deleting your kritarc, though it might proly be fixed once we start packaging translations again :)
Comment 5 Erik Forken 2018-05-04 10:26:45 UTC
I'm experiencing also a problem with line breaks.
If the text is not "Left aligned", every time I open the Edit text tool, it resets every line break.
You can see the problem also with "Both" mode enabled (Edit text -> settings menu -> editor mode tab -> both option). If you enter a 2 lines text, apply center alignement, click on SVG Source tab and back to the Rich text one now you have a single line text.
Comment 6 Erik Forken 2018-05-04 10:27:56 UTC
tested on 4.0.1 and also 4.1.0 prealpha
Comment 7 Dmitry Kazakov 2018-10-02 17:23:03 UTC
Hi, all!

I think I have fixed this bug in a commit that got into 4.1.3:
https://phabricator.kde.org/R37:8b5f09d2fcbb81c4eb3ec03905d63a1387cd9ce2

I've also pushed more fixes right now. They will be available in tomorrow's automated stable builds. Please test it when the new package is ready :)

Windows:
https://binary-factory.kde.org/job/Krita_Stable_Windows_Build/

Linux:
https://binary-factory.kde.org/job/Krita_Stable_Appimage_Build/