View Issue Details

IDProjectCategoryView StatusLast Update
0014798ScribusStylespublic2017-05-10 07:50
ReporterEneen Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version1.5.3.svn 
Target VersionFixed in Version 
Summary0014798: Line spacing is inherited from default style and not reset when style is applied
DescriptionTake a look @ gif.
When style is applied before text is pasted into all works fine, automatic linespacing works. But when text is pasted when no style is applied to frame and after that New style is applied fixed linespacing is "inherited" from Default style.
Also you can notice after opening file, that text on the left has New Style applied to text even though it was not applied manually.
TagsNo tags attached.
PatchNo

Activities

Eneen

2017-05-09 19:10

reporter  

linespacing_styles.gif (3,340,047 bytes)

Eneen

2017-05-09 19:10

reporter  

linespacing_styles.sla (43,457 bytes)

jghali

2017-05-09 22:18

administrator   ~0043900

First, one thing: in automatic linespace mode, linespacing is computed from the paragraph style font size.

However in your case, you are doing two different things.

For the right frame, when setting modifying the style with an empty frame, you are modifying the default style. So after setting the font size to 6pt, the default font size for all paragraph is indeed 6pt.

For the left frame, when modifying the style on a non empty frame, you are modifying not only the default style, but also the style for each paragraph currently in the frame. So by doing so you effectively apply the "New Paragraph Style" style to each paragraph currently in the frame. Consequently after that each paragraph has effectively a default font size of 12pt coming from the default paragraph style. Setting a font size of 6pt at the frame level won't change that. By doing so you make the default font size for the frame 6 pt, and apply direct formatting to the characters contained in the frame. However given what you did previously, each paragraph has now "New Paragraph Style" style set, so the default font size for the frame is overridden by the style font size which is 12pt.

So in conclusion:
- left frame: default font size at paragraph level is 12pt
- right frame: default font size at paragraph level is 6pt
Hence difference result as automatic linespacing is based on the default font size at paragraph level.

jghali

2017-05-09 22:19

administrator   ~0043901

Another conclusion: while not ideal, as of now this is expected behavior.

Eneen

2017-05-10 07:50

reporter   ~0043902

This came out when I was trying to use one paragraph style for all headlines. Unfortunately headlines can be small like 16 or quite big like 60 and have multiple font sizes so creating lots of styles will not work. So I had to find out how to quickly control font size. Currently there are such workflow choices:
1. Apply paragraph style directly to text, forget frame styles and set font size directly on text. It's tedious solution: you always have to select text inside frame
2. Apply paragraph style to frame and set line spacing to fixed or base grid always remembering, that styles are applied to text also.
3. Always remember to set "No style" on text after applying to frame and control size from frame or use "workaround" with pasting shown on gif.
I'm not sure though why applying paragraph style to frame applies it also to text.

Issue History

Date Modified Username Field Change
2017-05-09 19:10 Eneen New Issue
2017-05-09 19:10 Eneen File Added: linespacing_styles.gif
2017-05-09 19:10 Eneen File Added: linespacing_styles.sla
2017-05-09 22:18 jghali Note Added: 0043900
2017-05-09 22:19 jghali Severity major => minor
2017-05-09 22:19 jghali Note Added: 0043901
2017-05-10 07:50 Eneen Note Added: 0043902