View Issue Details

IDProjectCategoryView StatusLast Update
0003520ScribusStory Editor / Text Framespublic2006-04-10 19:31
Reportermkoren Assigned Tofschmid  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformx86OSDebian LinuxOS VersionStable/Testing
Product Version1.3.3 
Fixed in Version1.3.3.1cvs 
Summary0003520: copying inline frames results in crash
DescriptionAttempting to copy an inline frame in edit text mode by copy and paste does not work properly, and trying to open the frame subsequently in the story editor causes a crash (signal 11). After the copy, an appropriate space is reserved for the copy in the text frame, but nothing is displayed there.
Steps To Reproduce1. Create shape and text frame; control-c shape; edit text; ctrl-v -> ok, inline frame.

2. Select inline frame in text box; ctrl-c; ctrl-v -> blank space added where duplicate inline frame should be.

3. Try to open text frame in SE -> crash - sig. 11
Additional InformationLooking at the resulting files, which I saved before opening the SE, it seems the problem is that the in-text-frame cut and paste just copies the internal reference to the inline frame ("&#x19") without creating a new "FRAMEOBJECT" for it. I'll upload the original file and two new versions...the interesting differences between the in-frame copy version and the last file, in which I copied the original frame in again the usual way, seem to be that in the latter (which works)
a) "GROUPC" in the "DOCUMENT" field is incremented from 2 to 3;
b) a second "FRAMEOBJECT" item is created, and
c) the "&#x19" associated with the duplicate inline frame is placed in its own "ITEXT" xml field thingy. :)
Hope this helps.
TagsNo tags attached.
Patch

Relationships

related to 0002668 closedTsoots Scribus crashes when playing around with inline graphics 

Activities

2006-03-28 05:17

 

inline.sla (48,729 bytes)

2006-03-28 05:19

 

inline-copy-in-frame.sla (48,841 bytes)

2006-03-28 05:19

 

mkoren

2006-03-28 21:47

reporter   ~0009541

The same happens attempting to cut and paste inline frames between different text frames or duplicate a text frame containing inline frames.

cbradney

2006-03-29 20:36

administrator   ~0009561

No code for this yet, and we set cembedded to 0 on paste.

cbradney

2006-03-29 20:37

administrator   ~0009562

Franz will you have time to code this in a few days?

fschmid

2006-04-08 07:34

administrator   ~0009688

Have fixed that crash now. Copying inline frames is not that easy as it might seem, as we need to enable it to work across documents. This gives the question where to creates these frames. In a global inline frames liste??

cbradney

2006-04-08 12:40

administrator   ~0009691

Have applied your fix to 1.3.3.1cvs too. For 1.3.3.1, I think we should leave it as it is now. No crash, and no risk of and new work breaking anything.

cbradney

2006-04-08 12:59

administrator   ~0009692

I think we should wait for allowing copying of the inline frames until we can copy with objects not with the XML based copy we use now.

Issue History

Date Modified Username Field Change
2006-03-28 05:17 mkoren New Issue
2006-03-28 05:17 mkoren File Added: inline.sla
2006-03-28 05:19 mkoren File Added: inline-copy-in-frame.sla
2006-03-28 05:19 mkoren File Added: inline-copy-from-external.sla
2006-03-28 08:54 jo-hannes Relationship added related to 0002668
2006-03-28 21:47 mkoren Note Added: 0009541
2006-03-29 20:35 cbradney Status new => assigned
2006-03-29 20:35 cbradney Assigned To => fschmid
2006-03-29 20:36 cbradney Note Added: 0009561
2006-03-29 20:37 cbradney Note Added: 0009562
2006-04-08 07:34 fschmid Status assigned => resolved
2006-04-08 07:34 fschmid Fixed in Version => 1.3.4cvs
2006-04-08 07:34 fschmid Resolution open => fixed
2006-04-08 07:34 fschmid Note Added: 0009688
2006-04-08 12:40 cbradney Note Added: 0009691
2006-04-08 12:59 cbradney Note Added: 0009692
2006-04-08 12:59 cbradney Fixed in Version 1.3.4cvs => 1.3.3.1cvs
2006-04-10 19:31 cbradney Status resolved => closed
2015-09-17 20:08 Kunda Category Story Editor / Text Frames => Story Ed/Txt Frames
2015-09-17 20:12 Kunda Category Story Ed/Txt Frames => Story Editor / Text Frames