View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013074 | Scribus | Canvas | public | 2015-05-21 13:59 | 2024-01-02 19:23 |
Reporter | Kunda | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Platform | Mac | OS | OSX | OS Version | 10.9.5 |
Product Version | 1.5.1svn | ||||
Target Version | 1.5.5 | ||||
Summary | 0013074: After grouping [text|image] boxes one of them is missing lines/refresh | ||||
Description | See attached gif | ||||
Steps To Reproduce | 1) 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. | ||||
Tags | HOST-Oman | ||||
Patch | No | ||||
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 | closed | fschmid | Grouping text frames will result in a loss of chained text arrows |
related to | 0014003 | closed | fschmid | 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 |
|
<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) |
|
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. |
|
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); |
|
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. |
|
Thanks as.bahanta for looking in to this. |
|
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 ? |
|
|
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 |