View Issue Details

IDProjectCategoryView StatusLast Update
0015421ScribusStylespublic2018-09-09 16:20
ReporterEneen Assigned To 
PrioritynormalSeveritytextReproducibilityalways
Status newResolutionopen 
Product Version1.5.4 
Target VersionFixed in Version 
Summary0015421: Drop-caps style is not removed after paragraph style change
DescriptionPlease take a look at screen cast. Tekst-Lead style doesn't contain drop-caps but still first paragraph letter keeps character style assigned by previously applied Tekst DropCaps style. I have manually applied No Style character style to first letter to clean this up.
Tell me if you need sample sla, I'll prepare cleaned up version and share.
TagsNo tags attached.
PatchNo

Activities

Eneen

2018-09-08 07:56

reporter  

PeterBenedek

2018-09-09 08:33

developer   ~0045448

The CharStyle is stronger than ParagraphStyle.
You set it up: Style Manager -- Paragraph Style -- Paragraph Effect -- Character Style for Effect (let it be same than in 0_Tekst_drop_caps paragraph style).
In this case no problem.

output.gif (798,532 bytes)
output.gif (798,532 bytes)

PeterBenedek

2018-09-09 08:39

developer  

DropCaps_example.zip (214,385 bytes)

Eneen

2018-09-09 16:20

reporter   ~0045450

Ok, I see your point and this is also not a problem to clean this up using "No Style", but I have had re-formatted only first paragraph directly on text not on frame after formatting with drop caps to get part of text from linked frames formatted. Problem is, that after reformatting text with other paragraph style without drop-caps, character style is retained from previous formatting containing drop-caps style. Drop caps character style is applied to first paragraph letters directly but it it not cleaned when paragraph style is not containing any drop caps style. You have to remember to clean it using "No style" and this way you can loose all formatting you have made on text.

It should work like this:
- drop caps character style is applied when paragraph style contain this - ok this works
- drop caps character style is cleaned ("No style" applied) when paragraph style doesn't contain it - this is missing

However I can see limitation of this solution: what to do when in the meantime you have applied something like "italics" for citation or other style directly to text? Working on paragraph styles without any drop-caps style would lead to cleaning character styles applied to text. Maybe checking if there's style applied to first characters only would work or comparing first and second letter? Not sure.
This leads me to conclusion that applying character style directly to text may not always work and this character style should be applied "on the fly". Actually I use style for drop caps only due to this limitation:
https://bugs.scribus.net/view.php?id=7006#c45447
Maybe it's worth to add this as related.

Issue History

Date Modified Username Field Change
2018-09-08 07:56 Eneen New Issue
2018-09-08 07:56 Eneen File Added: drop_caps_character_style.gif
2018-09-09 08:33 PeterBenedek File Added: output.gif
2018-09-09 08:33 PeterBenedek File Added: DropCaps_example_file.zip
2018-09-09 08:33 PeterBenedek Note Added: 0045448
2018-09-09 08:38 PeterBenedek File Deleted: DropCaps_example_file.zip
2018-09-09 08:39 PeterBenedek File Added: DropCaps_example.zip
2018-09-09 16:20 Eneen Note Added: 0045450