View Issue Details

IDProjectCategoryView StatusLast Update
0009575ScribusStory Editor / Text Framespublic2010-12-11 19:44
Reportersubeditor Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
PlatformPC AMD64 X2, Ati Radeon 3200OSUbuntuOS Version10.10
Product Version1.3.9 
Summary0009575: New text cannot be pasted in duplicated frames which had styled text before
DescriptionWhen trying paste new text in duplicated frames which had styled text in it before no part of new text is displayed until frame is resized to fit it completely. But even after resizing text is not editable in any way since in story editor there is only "@" symbol.
Pasted text should be large enough ti overflow frame.
In attached file frame 2 is gotten by duplicating frame 1, frame 3 - by duplicating frame 2.
Steps To Reproduce1. Create text frame, fill it with text, assign style to it.
2. Duplicate this frame.
3. Delete text in gotten frame (ctrl-a, then delete).
4. Put some text in buffer (from Scribus itself or from OO, only amount of text matters - it should be larger than frame can hold) -> no text is visible, only "@" present in story editor.
TagsNo tags attached.
Patch

Relationships

duplicate of 0009456 closedfschmid don't use the copy paste buffer when duplicating an object 

Activities

subeditor

2010-12-10 23:02

reporter  

missing_on_duplicate.sla (53,323 bytes)

jghali

2010-12-10 23:24

administrator   ~0025059

Unable to reproduce

subeditor

2010-12-11 07:47

reporter   ~0025061

Can you see text in Frame 3 in layout? What do you see in Story editor in this frame?

jghali

2010-12-11 11:40

administrator   ~0025062

Last edited: 2010-12-11 11:40

What is in your document does not matter as it does not help to reproduce the problem. And in your case i just cannot reproduce what you describe with the steps you provided.

ale

2010-12-11 11:42

manager   ~0025063

i can't reproduce the steps.

but if take the frame 2 from subeditor's file -- which is empty -- and duplicate it, i indeed get a frame filled with text.

there is certainly a problem... the question is: where does it come from?

that file also has a nice brownish color which nobody wants to see... at least on my computer...

subeditor

2010-12-11 12:37

reporter   ~0025064

It does not matter... Great!
Should I repost this problem as "Text visible in frame cannot be edited and even not visible in story editor"?

jghali

2010-12-11 13:06

administrator   ~0025068

The '@' character visible in story editor is a replacement character for inline objects. What subeditor copied in the frame is not text but a frame object!! When loading the document, the inline frame does not fit 'Frame2' object and consequently does not display. The fact that inline Frame displays after copy/pasting is only caused by small numerical errors induced by the xml serialization process used when copy/pasting object and consequent number => text => number conversions. Inline frame can be displayed by just increasing a bit 'Frame2' object size.

subeditor

2010-12-11 17:40

reporter   ~0025078

If no text is selected in "edit content" mode entire active frame is copied by ctrl-c. Is it expected behavior?

subeditor

2010-12-11 17:59

reporter   ~0025079

Seems I got this bug. On duplicate Scribus replaces buffer content.
Well, may be I miss something earlier, lets try another way to reproduce.

1. Create text frame (1), fill it with text.
2. Put some text in buffer.
2. Duplicate frame (1) - instead of text copied in step 1 you have XML in buffer:

<?xml version="1.0" encoding="UTF-8"?><SCRIBUSFRAGMENT ><font name="Nimbus Roman No9 L Regular" /><colors ><color CMYK="#000000ff" Register="no" Spot="no" name="Black" /><color RGB="#966432" Register="no" Spot="no" name="???" /></colors><style Alignment="0" DropCapLines="2" DropCapOffset="0" FirstIndent="0" GapAfter="0" GapBefore="0" HasDropCap="no" LeftMargin="0" LineSpacing="15" LineSpacingMode="0" RightMargin="0" id="styleDefault_0020Paragraph_0020Style" name="Default Paragraph Style" /><charstyle BaselineOffset="0" Features="inherit " FillColor="Black" FillShade="100" Font="Nimbus Roman No9 L Regular" FontSize="120" Language="Russian" OutlineWidth="10" ScaleH="1000" ScaleV="1000" ShadowXOffset="50" ShadowYOffset="-50" StrikethruOffset="-1" StrikethruWidth="-1" StrokeColor="Black" StrokeShade="100" Tracking="0" UnderlineOffset="-1" UnderlineWidth="-1" id="charstyleDefault_0020Character_0020Style" name="Default Character Style" /><item bottom-distance="0" cms-intent="1" cms-profile="" corner-radius="0" do-overprint="no" fill-blendmode="0" fill-color="???" fill-evenodd="yes" fill-gradient-type="0" fill-shade="100" fill-transparency="0" first-line-offset="0" frame-contour="M0 0 C0 0 274.846 0 274.846 0 C274.846 0 274.846 250.615 274.846 250.615 C274.846 250.615 0 250.615 0 250.615 C0 250.615 0 0 0 0 " frame-has-default-shape="yes" frame-shape="M0 0 C0 0 274.846 0 274.846 0 C274.846 0 274.846 250.615 274.846 250.615 C274.846 250.615 0 250.615 0 250.615 C0 250.615 0 0 0 0 " frame-type="0" height="250.6153846" id="obj203" image-embedded-profile="" image-flipped-hor="no" image-flipped-vert="no" image-scale-framesize="no" image-scale-proportional="yes" image-shown="yes" image-use-embedded="yes" image-x-position="0" image-x-scale="1" image-y-position="0" image-y-scale="1" is-annotation="no" is-bookmark="no" isTableItem="no" itemtype="4" layer="0" left-distance="0" level="4" line-blendmode="0" line-cap="0" line-color="???" line-customstyle="" line-end-arrow="0" line-join="0" line-shade="100" line-start-arrow="0" line-style="1" line-transparency="0" line-width="1" locked="no" ownpage="0" pagenumber="0" pathtext-baseoffset="0" pathtext-flipped="no" pathtext-showpath="no" pathtext-type="0" printable="yes" right-distance="0" rotation="0" size-locked="no" text-autoframes="no" text-columngap="0" text-columns="1" text-flow-mode="0" text-reversed="no" top-distance="0" width="274.8461538" xorigin="499.4892308" yorigin="48.61538462" ><text-content ><defaultstyle />

<style /><span ><charstyle />1. Create text frame, fill it with text, assign style to it.</span>

<style /><span >2. Duplicate this frame.</span>

<style /><span >3. Delete text in gotten frame (ctrl-a, then delete).</span>

<style /><span >4. Put some text in buffer (from Scribus itself or from OO, only amount of text matters - it should be larger than frame can hold) -> no text is visible, only "@" present in story editor.</span>

</text-content></item></SCRIBUSFRAGMENT>

jghali

2010-12-11 19:07

administrator   ~0025080

>> Seems I got this bug. On duplicate Scribus replaces buffer content.

Already logged issue : 0009456

jghali

2010-12-11 19:08

administrator   ~0025081

Closing as this is obviously a duplicate

subeditor

2010-12-11 19:42

reporter   ~0025082

It's logged for 1.5 svn which can differ a lot. Please, provide fix also for mainstream.

jghali

2010-12-11 19:44

administrator   ~0025083

9456 is also valid for 1.4.0svn

Issue History

Date Modified Username Field Change
2010-12-10 23:02 subeditor New Issue
2010-12-10 23:02 subeditor File Added: missing_on_duplicate.sla
2010-12-10 23:24 jghali Note Added: 0025059
2010-12-11 07:47 subeditor Note Added: 0025061
2010-12-11 11:40 jghali Note Added: 0025062
2010-12-11 11:40 jghali Note Edited: 0025062
2010-12-11 11:42 ale Note Added: 0025063
2010-12-11 12:37 subeditor Note Added: 0025064
2010-12-11 13:06 jghali Note Added: 0025068
2010-12-11 17:40 subeditor Note Added: 0025078
2010-12-11 17:59 subeditor Note Added: 0025079
2010-12-11 19:07 jghali Note Added: 0025080
2010-12-11 19:08 jghali Note Added: 0025081
2010-12-11 19:08 jghali Relationship added duplicate of 0009456
2010-12-11 19:08 jghali Status new => resolved
2010-12-11 19:08 jghali Resolution open => duplicate
2010-12-11 19:08 jghali Assigned To => jghali
2010-12-11 19:08 jghali Status resolved => closed
2010-12-11 19:42 subeditor Note Added: 0025082
2010-12-11 19:42 subeditor Status closed => feedback
2010-12-11 19:42 subeditor Resolution duplicate => reopened
2010-12-11 19:44 jghali Note Added: 0025083
2010-12-11 19:44 jghali Status feedback => resolved
2010-12-11 19:44 jghali Resolution reopened => duplicate
2010-12-11 19:44 jghali 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