<div dir="ltr"><div><div><div><div>Hi,<br></div>I'm just assuming since the lines are drawn in Gray.The calculations error that I'm taking about are in scribusdoc.cpp:15336<br><a href="https://github.com/scribusproject/scribus/blob/master/scribus/scribusdoc.cpp#L15336">https://github.com/scribusproject/scribus/blob/master/scribus/scribusdoc.cpp#L15336</a><br></div> when I added 1 to gh and gw the lines are drawn, so that made me think there might be some rounding/calculation issue.<br></div><div>On the other hand, I noticed the group width and height are calculated more than once.It calculations happens in ScribusDoc::itemSelection_GroupObjects() and in Selection::setGroupRect() which is called by Selection::getVisualGroupRect() in ScribusDoc::itemSelection_GroupObjects(). </div><div><br></div>Regards,<br></div>Asma <br></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 November 2015 at 14:00, ale rimoldi <span dir="ltr"><<a href="mailto:ale.comp_06@xox.ch" target="_blank">ale.comp_06@xox.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
hey asma,<span class=""><br>
<br>
<div>On 19/11/15 09:25, Miss AL-Bahanta
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div><br>
</div>
I'm trying to fix this issue <a href="http://bugs.scribus.net/view.php?id=13074" target="_blank">http://bugs.scribus.net/view.php?id=13074</a>.
After reproducing this issue and going through the code, I'm
assuming there is some rounding/calculations issues.I found
the following piece of code which made think so.<br>
<span style="color:rgb(255,0,0)"><span style="color:rgb(0,0,0)">canvasmode.cpp:85</span><br>
m_pen["outline"] = QPen(Qt::gray, 1.0 , Qt::SolidLine,
Qt::FlatCap, Qt::MiterJoin);<br>
</span></div>
<div>therefore, I think the textbox lines are drawn at the
outlines of the group and that's why sometimes it's drawn in
Gray or not drawn at all - correct me if I'm wrong. Thank you
in advance :)<br>
</div>
</div>
</blockquote>
<br></span>
do you mean that this line is drawn when other lines cannot be
drawn?<br>
<br>
at which line do you spot a rounding issue?<br>
<br>
line 85 has no calculation...<br>
<br>
ciao<br>
a.l.e<br>
</div>
<br>_______________________________________________<br>
scribus-dev mailing list<br>
<a href="mailto:scribus-dev@lists.scribus.net">scribus-dev@lists.scribus.net</a><br>
<a href="http://lists.scribus.net/mailman/listinfo/scribus-dev" rel="noreferrer" target="_blank">http://lists.scribus.net/mailman/listinfo/scribus-dev</a><br>
<br></blockquote></div><br></div>