View Issue Details

IDProjectCategoryView StatusLast Update
0013074ScribusCanvaspublic2024-01-02 19:23
ReporterKunda Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
PlatformMacOSOSXOS Version10.9.5
Product Version1.5.1svn 
Target Version1.5.5 
Summary0013074: After grouping [text|image] boxes one of them is missing lines/refresh
DescriptionSee attached gif
Steps To Reproduce1) make 1 text (or 1 image) boxes
2) duplicate (Ctrl+c) said box and move it so it doesn't overlap
or
2) create a whole new box and move it so it doesn't overlap
3) Group said boxes from the last created box to the new created box
or
3) Group said boxes starting from first created box and THEN the last created box
4) click out of the frame to remove highlight
See missing lines

Note: if you duplicate boxes or if you create new boxes you will get different results. Also depends on which box you start to group the 2 boxes from.
TagsHOST-Oman
PatchNo

Relationships

related to 0003796 confirmed can't view or access groups overlapped by other groups (in outline or on canvas) 
related to 0013886 confirmed Strange functionality when resizing object within group 
related to 0013996 closedfschmid Grouping text frames will result in a loss of chained text arrows 
related to 0014003 closedfschmid Grouped single linked text frame with another object has missing refresh text arrow issue 
child of 0003812 acknowledged Metabug: Grouped objects 
child of 0013075 acknowledged Metabug: missing display refresh 

Activities

Kunda

2015-05-21 16:04

updater   ~0035185

<jluc> dunno but it seems to be due to the lack of refresh at the end of group action
<jluc> this missing refresh has lot of other symptoms
<jluc> so issue is not missing lines but missing refresh
<jluc> (for example : text flow re-arrangement)

as.bahanta

2015-11-03 05:59

reporter   ~0037168

Hi,
I looked into where grouping is happening and I think it is not due to lack of refresh/update. It seems it is due to calculations error when I increased the group's width and height there were no missing lines. Although, I'm wondering why sometimes the text frame does not restore it's style after grouping.For example, the lines sometimes gets thicker or darker and sometimes it gets lighter and Gray.

as.bahanta

2015-11-03 06:32

reporter  

issue0013074.diff (556 bytes)   
Index: scribusdoc.cpp
===================================================================
--- scribusdoc.cpp	(revision 20505)
+++ scribusdoc.cpp	(working copy)
@@ -15332,8 +15332,8 @@
 	}
 	double gx = minx;
 	double gy = miny;
-	double gw = maxx - minx;
-	double gh = maxy - miny;
+	double gw = ( maxx - minx ) + 1;
+	double gh = ( maxy - miny ) + 1;
 	undoManager->setUndoEnabled(false);
 	int z = itemAdd(PageItem::Group, PageItem::Rectangle, gx, gy, gw, gh, 0, CommonStrings::None, CommonStrings::None, true);
 	PageItem *groupItem = Items->takeAt(z);
issue0013074.diff (556 bytes)   

as.bahanta

2015-11-03 07:23

reporter   ~0037170

It seems there is some rounding issues.I made a work around for this issue by increasing the width and the height of the group by 1.

Kunda

2015-11-05 01:48

updater   ~0037228

Thanks as.bahanta for looking in to this.

Kunda

2015-11-05 01:52

updater   ~0037229

Last edited: 2015-11-05 01:53

 Although, I'm wondering why sometimes the text frame does not restore it's style after grouping.For example, the lines sometimes gets thicker or darker and sometimes it gets lighter and Gray...It seems there is some rounding issues.I made a work around for this issue by increasing the width and the height of the group by 1. 

as.bahanta, perhaps the answer can be found in examining what look like similar bugs in 0013075 ?

Kunda

2016-01-18 21:03

updater  

missing-lines-after-ungroup.gif (48,376 bytes)   
missing-lines-after-ungroup.gif (48,376 bytes)   

Issue History

Date Modified Username Field Change
2015-05-21 13:59 Kunda New Issue
2015-05-21 14:00 Kunda Relationship added child of 0003812
2015-05-21 16:04 Kunda Note Added: 0035185
2015-05-21 16:04 Kunda Status new => confirmed
2015-05-21 16:14 JLuc Relationship added related to 0013075
2015-05-22 14:18 Kunda Summary After grouping [text|image] boxes one of them is missing lines => After grouping [text|image] boxes one of them is missing lines/refresh
2015-06-04 03:01 Kunda Relationship replaced child of 0013075
2015-11-01 17:05 as.bahanta Tag Attached: HOST-Oman
2015-11-03 05:59 as.bahanta Note Added: 0037168
2015-11-03 06:32 as.bahanta File Added: issue0013074.diff
2015-11-03 07:23 as.bahanta Note Added: 0037170
2015-11-05 01:48 Kunda Note Added: 0037228
2015-11-05 01:52 Kunda Note Added: 0037229
2015-11-05 01:53 Kunda Note Edited: 0037229
2015-11-05 12:24 Kunda Sticky Issue No => Yes
2016-01-18 21:03 Kunda File Added: missing-lines-after-ungroup.gif
2016-01-18 21:25 Kunda Description Updated
2016-01-19 16:48 Kunda Relationship added related to 0003796
2016-01-23 17:16 cbradney Target Version 1.5.1 => 1.5.3
2016-03-31 15:56 Kunda Relationship added related to 0013886
2016-03-31 16:09 Kunda Relationship added parent of 0012351
2016-03-31 16:11 Kunda Relationship deleted parent of 0012351
2016-04-30 19:26 Kunda Relationship added related to 0013996
2016-04-30 19:40 Kunda Relationship added related to 0014003
2016-12-08 22:04 Kunda Target Version 1.5.3 => 1.5.4
2018-04-30 12:12 jghali Target Version 1.5.4 => 1.5.5
2024-01-02 19:23 cbradney Sticky Issue Yes => No