Description: Newly created text boxes have no background color or line color, so I expect that when I use Default Formatting function on a TextBox, background and line are set to none. Instead of this expectation the background and also the line are both changed some blue color. So applying default formatting on a newly created text box, will change its settings, however it got the default settings when I created it in theory. Steps to Reproduce: 1. Open Impres 2. Insert a text box (Insert -> Text Box) 3. Select Default Formatting from text box context menu Actual Results: Text box changes its background and line properties. Expected Results: Text box should not change since it was just created so it should have the default formatting. Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
Created attachment 135508 [details] Screenshot showing the background and line which is applied on the text box
Confirming with: Version: 6.0.0.0.alpha0+ Build ID: 46b4eb8b0e9325f8c29cd391baf9504bccee1837 CPU threads: 4; OS: Windows 6.19; UI render: default; TinderBox: Win-x86@42, Branch:master, Time: 2017-08-11_06:44:17 Locale: nl-NL (nl_NL); Calc: CL and with Versie: 4.4.6.3 Build ID: e8938fd3328e95dcf59dd64e7facd2c7d67c704d Locale: nl_NL
The behavior of "Default Formatting" is correct. Reason: The style, which holds the direct formatting of a text box has the style attribute 'style:parent-style-name="standard" '. So when you remove all direct settings, then the text box gets the style "standard" as its style. And "standard" contains line and filling color. So it is not a real bug. But an improvement is possible. Suggestion: Set the already existing style "text" as predefined style of a text-box or at least as parent-style in an automatic style of the text-box. It differs from "standard" in setting draw:stroke="none" and draw:fill="none"