View Issue Details

IDProjectCategoryView StatusLast Update
0005320ScribusStylespublic2020-11-20 08:12
ReporterLe_Tigre Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status confirmedResolutionopen 
PlatformLinuxOSSuse 10.1OS Version1.3.3.6
Product Version1.3.3.7 
Summary0005320: Copy/Paste between docs may create unneccessary line styles
DescriptionI don't know how it will work in 1.3.4, so maybe this is unuseful. But I've to say that when you import a page, or just make a ctrl+C/ctrl+V of frames from another document, it import the line styles, naming it "Copy of style_name".
As we do make many import, it makes some very big files. So I have to open the file in a text editor and delete all unuseful styles. For example, my file was 8,7 Mo, and went to 1,6 Mo...

So my question is: would it be possible that if the style already exists in final document, Scribus looks if it's the same style, and then DO NOT import a "Copy of" because it already exists?
Am I clear?
TagsNo tags attached.
Patch

Relationships

related to 0003345 new Paste text without formatting 
related to 0011814 confirmed Managing styles when pasting an object coming from another document 
related to 0012629 feedback Copy/Paste will import a bunch of XML when pasting in to Scribus from certain sources 
related to 0010634 new Pasting text applies style to destination paragraph 
related to 0016348 new Paste without formatting for Scribus 

Activities

avox

2007-02-10 00:13

administrator   ~0015186

Normally it should recognize if two styles are identical and then not import a copy.

Do you want that behaviour even if old and imported style have different names?

cbradney

2007-02-10 00:54

administrator   ~0015188

Different names means different style, a user might change one expecting to only change one part of a doc

Le_Tigre

2007-02-12 10:25

reporter   ~0015218

Last edited: 2007-02-12 10:32

Look an example of a line:

[code]
  <MultiLine Name="Copie =||11 deCopie =||3 deCopie =||1 de1 noir" >
   <SubLine Dash="1" Width="1" LineJoin="0" Shade="100" LineEnd="0" Color="Black" />
  </MultiLine>
[/code]

And I've plenty of that. That's mean that it doesn't recognize it'a an identical style, but create a "copy of".

[Note: I've replaced the iso 035 (dièse in french) by =|| ]

cbradney

2007-04-23 20:14

administrator   ~0015976

Not for 1.3.4. Involves too many small changes at this last stage.

jghali

2007-05-08 17:08

administrator   ~0016125

Last edited: 2007-05-08 17:20

I committed a patch to 13310 cvs. That should fix the issue on page import and maybe on copy/paste. Please test.

Le_Tigre

2007-05-09 14:55

reporter   ~0016131

En fait, quand on copie un cadre, il copie TOUS les styles de filets du document dans lequel se trouve les filets.

Ex. J'ai un doc avec Style1, Style2, Style3; si je copie un cadre venant de ce document dans un document où il y a déjà Style1, Style2, Style3, j'aurais en plus Copie 1 de Style1, Copie 2 de Style2, etc.

Et si je copie un cadre venant d'un autre document ayant les mêmes styles, j'aurais Copie 2 de Style1, etc.

Voilà pourquoi on se retrouve avec des listes interminables de styles de filets (puisqu'on passe notre temps à copier des cadres d'un doc dans l'autre).

Et donc ce n'est pas résolu dans la 1.3.3.10cvs

jghali

2007-05-09 22:14

administrator   ~0016137

i cannot replicate with a new doc, can you provide me a sample doc showing the issue with 1.3.3.10cvs so i can refine my patch?

jghali

2007-05-10 22:45

administrator   ~0016146

Last edited: 2016-04-14 21:12

I have applied the patch in 134cvs now, not fully testable tho due to 0005654

Issue History

Date Modified Username Field Change
2007-02-09 09:21 Le_Tigre New Issue
2007-02-10 00:13 avox Note Added: 0015186
2007-02-10 00:54 cbradney Note Added: 0015188
2007-02-12 10:25 Le_Tigre Note Added: 0015218
2007-02-12 10:28 Le_Tigre Note Edited: 0015218
2007-02-12 10:28 Le_Tigre Note Edited: 0015218
2007-02-12 10:29 Le_Tigre Note Edited: 0015218
2007-02-12 10:30 Le_Tigre Note Edited: 0015218
2007-02-12 10:32 Le_Tigre Note Edited: 0015218
2007-02-12 19:38 cbradney Relationship added child of 0003964
2007-04-23 20:13 cbradney Relationship deleted child of 0003964
2007-04-23 20:14 cbradney Note Added: 0015976
2007-05-08 15:08 jghali Summary line styles import are not cool => Copy/Paste between docs may create unneccessary line styles
2007-05-08 17:08 jghali Note Added: 0016125
2007-05-08 17:20 jghali Note Edited: 0016125
2007-05-09 14:55 Le_Tigre Note Added: 0016131
2007-05-09 22:14 jghali Note Added: 0016137
2007-05-10 22:45 jghali Note Added: 0016146
2007-05-10 22:46 jghali Note Edited: 0016146
2008-02-06 00:46 christoph_s Status new => confirmed
2014-09-17 15:15 Kunda Relationship added related to 0012629
2014-09-19 18:41 Kunda Relationship added related to 0003345
2014-09-20 11:55 JLuc Tag Attached: #styles
2014-10-08 23:23 Kunda Tag Detached: #styles
2016-04-02 15:03 Kunda Relationship added related to 0010634
2016-04-14 21:12 JLuc Note Edited: 0016146
2016-04-14 21:13 JLuc Relationship added related to 0011814
2020-11-20 08:12 JLuc Relationship added related to 0016348