View Issue Details

IDProjectCategoryView StatusLast Update
0014721ScribusTypographypublic2020-04-28 10:37
ReporterEneen Assigned To 
PrioritynormalSeveritytextReproducibilityalways
Status newResolutionopen 
Product Version1.5.3.svn 
Target VersionFixed in Version 
Summary0014721: Orphan control doesn't seem to work.
DescriptionWidow control works fine, but orphan doesn't seem to. Take a look @ screenshot
TagsNo tags attached.
PatchNo

Activities

Eneen

2017-04-06 19:55

reporter  

window_orphan_bug.jpeg (211,435 bytes)
window_orphan_bug.jpeg (211,435 bytes)
window_orphan_test.sla (22,066 bytes)

Fahad

2019-12-05 09:22

developer   ~0047201

I tried to understand what is the problem. As far as I understood the code, there are two functions dealing with Orphan & Widow which are:
moveLinesFromPreviousFrame() => this only for frame to frame
adjustParagraphEndings () => called at the end of a frame or column

to fix this problem we need a new function moveLinesFromPreviousColumn() and introduce a new var maxColumnChars to store max chars in one column and works similar to m_maxChars to text frame. Then copy moveLinesFromPreviousFrame()'s logic in moveLinesFromPreviousColumn().

Unfortunately, my laptop takes almost one hour for any change in pageitem_textframe header file and I don't have free time these days. I wrote this analysis hoping somebody can implement it since it is a handy feature.

Issue History

Date Modified Username Field Change
2017-04-06 19:55 Eneen New Issue
2017-04-06 19:55 Eneen File Added: window_orphan_bug.jpeg
2017-04-06 19:55 Eneen File Added: window_orphan_test.sla
2019-12-05 09:22 Fahad Note Added: 0047201