Reproductin instructions: 1. Create a new Impress presentation (default template) 2. Insert a text box 3. Type in some text (e.g. "hello"), so that the textbox doesn't disappear 4. Select the textbox 5. On the menus, choose "Format > Clear Direct Formatting" Expected result: Nothing happens - we have not applied any direct formatting. Actual result: Textbox is now styled like a rectangle would be: Blue background, solid black border. It seems like we're treating the no-background and no-border styling of the text box as though it was DF rather than its style. And indeed, the textbox is indicated to have "Default Drawing Style" - which means solid area and border. Textboxes should probably have their own style. "Object with no fill and no line" is almost a good choice - except that it has "fit to text", which textboxes don't have by default.
Indeed, the text box does not use the Default Drawing Style by default but it is applied per Clear Direct Formatting. I don't see a clear path to solve this.
(In reply to Heiko Tietze from comment #1) > Indeed, the text box does not use the Default Drawing Style by default Actually, it does and it doesn't. That is, the named style it's associated with is "Default Drawing Style", and it is apparently direct-formatted over it. > I don't see a clear path to solve this. Why not a child style for textboxes?
The text box could have the style "Object with no fill and no line" as default. The style "Text" is not suitable because it has a gray background.
(In reply to Regina Henschel from comment #3) > The text box could have the style "Object with no fill and no line" as > default. It's true that a textbox is an object with no fill and no line. But - that style has "fit height to text", while we want our textboxes to keep the size they were drawn to have. So, do you think that... * We should change "object with no fill and no line" to not fit height to text? * We should have textboxes be resized immediately after drawing and entering text, to the size of that text (so that textbox placement is really just placement of the textbox corner)? * We should use a third style, not currently existing, reflecting textboxes' current default formatting?
(In reply to Regina Henschel from comment #3) > The text box could have the style... We usually set a couple of attributes via hard-coding to the default object and it might match a style but not necessarily.