View Issue Details

IDProjectCategoryView StatusLast Update
0013381ScribusStory Editor / Text Framespublic2015-11-28 05:41
ReporterJLuc Assigned Tocbradney  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntuOS Version14.04
Product Version1.5.1svn 
Fixed in Version1.5.1svn 
Summary0013381: Linking text brings destination frame to top
DescriptionLinking text from frame A to frame B brings frame B to the top.

B frame level should not change.
Steps To ReproduceSee uploaded document

- Frame A is level 3 (top)
- the other text frame is frame B at level 1 (bottom)
- Image is at level 2 (over frame B)
- hence, long "lorem ipsum" in frame A text should flow around image when frame A is linked to frame B
- Do it : link frame A to frame B
- See : frame B is brought to top (level 3) and text runs over image instead of flowing around image.
And frame A is now level 2 (under frame B !),
and image is level 1.

TagsHOST-Oman
PatchNo

Relationships

related to 0003488 closedcbradney Item list corruption when linking items and not renumbering them 
related to 0013393 closedjghali Edit > Duplicate changes relative levels of selected items 

Activities

cbradney

2015-09-28 21:21

administrator   ~0036437

Jean.. this seems to be because of this, lin 229-237 of canvasmode_framelinks.cpp:
                    int cid = m_doc->Items->indexOf(currItem);
                    int bid = m_doc->Items->indexOf(bb);
                    // CB We need to do this because we draw in the order of the item list
                    // Which is also item number list.. but 0003488: we must also renumber the items
                    if (bid < cid)
                    {
                        m_doc->Items->insert(cid+1, bb);
                        bb = m_doc->Items->takeAt(bid);
                    }


But we used to need it.. not sure if we still do though.

aliyousuf

2015-11-08 04:22

reporter   ~0037305

I need example about this problem.I do not understand this problem

aliyousuf

2015-11-08 07:12

reporter   ~0037309

I can not reproduce this issue

ale

2015-11-08 12:26

manager   ~0037320

i think i understand what the issue is about, but i don't seem to be able to reproduce, either.

JLuc

2015-11-09 19:37

developer  

JLuc

2015-11-09 19:39

developer   ~0037356

I uploaded sample document and added detailed explanations so you can reproduce.

JLuc

2015-11-10 21:00

developer   ~0037401

I confirm the bug is now fixed

JLuc

2015-11-10 21:00

developer   ~0037402

I confirm the bug is now fixed

Issue History

Date Modified Username Field Change
2015-09-28 20:08 JLuc New Issue
2015-09-28 20:09 JLuc Summary Linking text to a frame bring that frame to top => Linking text to a frame brings that frame to top
2015-09-28 20:09 JLuc Summary Linking text to a frame brings that frame to top => Linking text brings destination frame to top
2015-09-28 21:13 cbradney Assigned To => cbradney
2015-09-28 21:13 cbradney Status new => confirmed
2015-09-28 21:21 cbradney Note Added: 0036437
2015-09-28 21:21 cbradney Assigned To cbradney =>
2015-10-04 17:22 JLuc Relationship added related to 0013393
2015-11-05 12:50 Kunda Target Version => 1.5.2
2015-11-08 04:22 aliyousuf Note Added: 0037305
2015-11-08 07:10 aliyousuf File Added: 0013381.sla
2015-11-08 07:11 aliyousuf Tag Attached: HOST-Oman
2015-11-08 07:12 aliyousuf Note Added: 0037309
2015-11-08 12:26 ale Note Added: 0037320
2015-11-09 19:31 JLuc File Deleted: 0013381.sla
2015-11-09 19:32 JLuc File Added: linking brings to top #13381.sla
2015-11-09 19:37 JLuc File Deleted: linking brings to top #13381.sla
2015-11-09 19:37 JLuc File Added: linking brings to top #13381.sla
2015-11-09 19:38 JLuc Steps to Reproduce Updated
2015-11-09 19:39 JLuc Note Added: 0037356
2015-11-09 20:38 cbradney Relationship added related to 0003488
2015-11-09 20:57 cbradney Status confirmed => resolved
2015-11-09 20:57 cbradney Fixed in Version => 1.5.1svn
2015-11-09 20:57 cbradney Resolution open => fixed
2015-11-09 20:57 cbradney Assigned To => cbradney
2015-11-10 21:00 JLuc Note Added: 0037401
2015-11-10 21:00 JLuc Note Added: 0037402
2015-11-10 21:00 JLuc Status resolved => closed
2015-11-28 05:41 Kunda Target Version 1.5.2 =>