Bug 135650 - Can't set default font/char size in draw, can do it in writer
Summary: Can't set default font/char size in draw, can do it in writer
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-11 23:49 UTC by lachenmaier
Modified: 2020-08-12 23:40 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lachenmaier 2020-08-11 23:49:24 UTC
Description:
Writer lets me set the default font name and default font size by merely un-selecting everything, going to the standard toolbar, pulling down the font name or font size icon menus. It will then use that font and font size for text I type in until I change it. This behavior is exactly what I want to do in Draw with Text Boxes.  If it isn't a bug, I would sure like to request that Draw work like Writer.

Steps to Reproduce:
1.Unselect all drawing objects.
2.Change font name/size.
3.Create Text Box and type into it. 

Actual Results:
Font name and size go back to the original name/size before you changed it and text in text box is original name/size.  Also, the font name/size switches back to what you set in step 2 above.

Expected Results:
Font name/size in Text Box would be the name/size I just selected in Step 2 above.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 6.0.7.3
Build ID: 1:6.0.7-0ubuntu0.18.04.10
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); Calc: group

Output from checking for OpenGL
glxinfo | grep OpenGL
vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 620 (KBL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.8
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 20.0.8
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.0.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
Comment 1 m_a_riosv 2020-08-12 09:26:25 UTC
If I'm not wrong you can change the 'Default drawing style', so all text boxes with no direct format should change.
Comment 2 V Stuart Foote 2020-08-12 14:47:04 UTC
(In reply to m.a.riosv from comment #1)
> If I'm not wrong you can change the 'Default drawing style', so all text
> boxes with no direct format should change.

Yes correct. The Direct Formatting applied to each draw object can not be repeated without copying/pasting the draw object. So it requires use of Styles to have persistence object to object in the current document.

Adjust the 'Font' tab for 'Default Drawing Style' to apply to text entered in any draw shape, or draw textbox for the current document (Draw, Impress, Writer or Calc).

Also, a modification made to the default style will propagate to all draw objects with the style. So, if you need draw objects with different fonts/weights--you'll need to create a couple of styles modeled on the default.

Finally you need to create a template document containing the modified style(s) to reuse them on other documents.

If that is unclear, please see the user guides for more complete explanations. Here: https://documentation.libreoffice.org
Comment 3 lachenmaier 2020-08-12 22:29:15 UTC
As I tried to explain my modus operandi is:

 I set the font/size and create a few text boxes.  Then I want to change the font/size and create a few more.  I click the Styles sidebar, select Default>Modify, make the changes, and go back to my drawing.  Now I see that all my text boxes that I just typed have been changed to the new font size.  Now I have to change them all back, go create an new Style for second set of text boxes.  I type the next set of text boxes.  Now I want create a few text boxes with a third font/size.  Again I have to create a new Style.  Now, in order to save these font/sizes for next time I have to create a template.  

Now I a make a new drawing. I bring up the template I saved last time, but I want a completely different set of font/sizes.  Again I have to create new Styles for each font/size.  And I have to remember to save it before I quit Draw, or I lose them.

What a nuisance just to change font/size!!!!!!!!  Writer does it so much better!!!!  Suggest modification of Draw to work like Writer.  So much easier and it would also be consistent across LO apps.
Comment 4 V Stuart Foote 2020-08-12 23:40:43 UTC
(In reply to lachenmaier from comment #3)
>...
> What a nuisance just to change font/size!!!!!!!!  Writer does it so much
> better!!!!  Suggest modification of Draw to work like Writer.  So much
> easier and it would also be consistent across LO apps.

Nope! Not better, the Writer UI is limited to Direct Formatting for the Text Box and Shape Text Frames in Writer. With only limited styling when a Text Box is added to the Draw shape and taking 'Frame Contents' styling for the inscribed frame.

In Draw on the other hand--adding additional styles beyond the single font/size 'Default Drawing Style' is more efficient than applying direct formatting to multiple Draw objects.  

As you note repetitively applying Direct Formatting to draw object text is not supported--that is for a given Draw objects text, the objects context menu Character dialog provides the Direct Formatting, no Toolbar listboxes for applying the DF. And the context menu selections (e.g. Character...) are only applicable to that object.

The Draw object styles mechanism are simply more efficient work flows, offering ability to define hundreds of drawing styles to template for reuse--and applicable not just to lettering.