Bug 342223

Summary: Multiline Text Background Colour Transparency isn't saved properly
Product: [Applications] krita Reporter: Aniruddha Hardikar <aniruddha.har>
Component: Tool/TextAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: freebox64, halla, nb64367
Priority: NOR    
Version: 2.9 Beta   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Aniruddha Hardikar 2014-12-26 15:09:29 UTC
Multiline text background colour is not saved properly when it's transparent. I can confirm this behaviour on windows also. Therefore I would like to believe that problem has something to do with the way the colour is saved inside the kra file. 



Reproducible: Always

Steps to Reproduce:
1. Open a new document and create a multiline text box.
2. Type in some text, make sure the background colour is transparent, partially or completely. Save and close krita.
3. Open the same document again and check the background colour of the multiline text.

Actual Results:  
In the  selector palette, Colour is 100% blue and not transparent, while on the canvas it is the correct colour but without any transparency. It needs to be set to the desired colour again.

Expected Results:  
Background Colour transparency information should have been saved properly.

Apart from that, there seems to be some weird behaviour while editing multiline text, such as the blueish background colour after selecting text persists even after exiting the text box.
Comment 1 Aniruddha Hardikar 2014-12-26 15:10:36 UTC
I forgot to mention, I'm using the latest beta from lime on Mint 17 x64. But the problem has been there since 2.8.
Comment 2 bunu 2014-12-27 18:33:04 UTC
[I am a GCI student]

I have noticed the same on krita 2.8.6 on Ubuntu 14.10. Furthermore I have found more problems with creating transparent text I will post in a seperate bug that might be merged with this.
Comment 3 mvowada 2014-12-29 09:21:47 UTC
I can reproduce the bug, the text background transparency is lost (meaning alpha goes back at 100% opacity) at the reopening of the document.

1. Click-and-drag on the canvas to create a multiline text box (Menu > Text tool > Tool Options > Mode: Multiline)
2. Switch to the "Shape handling" tool (Menu > Shape handling)
3. Double click over the multiline text box, to enter the editing text mode
4. Click-and-drag to select text
5. Change the background color going to "Tool options > Character > Background Color... (bucket with arrow-down icon) > Color wheel + click at about half of the vertical transparency ramp"
6. Save the document and close it
7. Re-open the document
Comment 4 Myriam Schweingruber 2014-12-29 13:47:37 UTC
Changing status to confirmed.
Comment 5 Aniruddha Hardikar 2015-12-09 19:08:39 UTC
Any updates on this bug?
Comment 6 Aniruddha Hardikar 2016-04-24 20:16:54 UTC
Just curious, Is this bug on track to be fixed in 3.0?
Comment 7 Halla Rempt 2016-04-25 14:42:38 UTC
No: we need to rewrite our text tool, and for 3.0 we already had a way too full program. It's going to be one of the big topics for the coming kickstarter campaign, though, so the new text tool should be implemented by 2017.
Comment 8 Aniruddha Hardikar 2016-04-28 11:31:41 UTC
 In that case, may I suggest temporarily disabling the text background transparency colour in 3.0 for the mean while? It's a rarely explored feature, useful only in specific scenarios. It can be worked around pretty easily if it's unavailable,  and disabling it for now will improve the user experience for the new release. A similar approach was taken for animation if I remember correctly.
Comment 9 Halla Rempt 2017-01-24 09:57:54 UTC
Resolving all text tool bugs as Later, since the text tool will no longer be developed, but replaced.
Comment 10 Halla Rempt 2017-12-30 10:52:23 UTC
We just merged the new text tool.
Comment 11 Aniruddha Hardikar 2017-12-31 12:03:08 UTC
That is great to hear Just in time for the new year! Thanks for all the hard work in 2017 and wishing the best in 2018 for you guys and Krita.