View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012010 | Scribus | Canvas | public | 2014-01-24 12:36 | 2014-02-22 16:27 |
Reporter | a_winkler | Assigned To | fschmid | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x86_64 | OS | Ubuntu | OS Version | 3.10 |
Product Version | 1.5.0svn | ||||
Fixed in Version | 1.5.0svn | ||||
Summary | 0012010: When moving items, the bounding box is drawn to large | ||||
Description | When moving an item, the grey outline of the bounding box is drawn too large by 1pt at the bottom and at the right. This can be noticed when moving a rectangular shape with no outline (stroke color set to none), please see the attached screenshot. | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
|
|
I don't think that this is properly fixed. When moving an item, there are drawn two different grey outlines which should be exactly the same for a rectangular shape with stroke color set to none: 1) The outer bounding box of the item (including the line width) 2) The path of the item. 1) is drawn correctly. However, 2) seems to be drawn only for integer values of pt. This can be noticed with a rectangular shape of for example 100,5 x 100,5 ptĀ². If this is a performance-related limitation of Scribus, the question is whether it makes sense to draw 2) at all when moving an item. IMHO it would be enough to show just the bounding box during the movement. |
|
I can't do it better because the outer bounding box is calculated in floating points and the path of the item is calculated in integers due to performance reasons. These different calculations and the fact that the display itself has only integer coordinates give naturally some rounding errors. As long as these rounding errors do not exceed 1 pixel, i don't care about them. Or do you know a way to cut a display pixel in parts? |
|
These rounding errors for the path seem to cause a maximum error of 1pt (real world dimension) which may correspond to several screen pixels, depending on the zoom level. This may be confusing when trying to exactly position an item at a high zoom level. That's why I suggested to show only the bounding box but not the path (this is what Indesign CS3 does, for example). Another option would be to show the bounding box in a different color than the path. However, I think that this is not a big issue at all. Thanks that you had a look into it! |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-01-24 12:36 | a_winkler | New Issue | |
2014-01-24 12:36 | a_winkler | File Added: tooLargeBoundingBox.png | |
2014-01-24 18:53 | fschmid | Status | new => resolved |
2014-01-24 18:53 | fschmid | Fixed in Version | => 1.5.0svn |
2014-01-24 18:53 | fschmid | Resolution | open => fixed |
2014-01-24 18:53 | fschmid | Assigned To | => fschmid |
2014-01-26 11:33 | a_winkler | Note Added: 0031197 | |
2014-01-26 22:01 | fschmid | Note Added: 0031201 | |
2014-01-26 22:02 | fschmid | Note Edited: 0031201 | |
2014-01-26 22:38 | a_winkler | Note Added: 0031203 | |
2014-02-22 16:27 | christoph_s | Status | resolved => closed |