http://support.aoz.studio/http://support.aoz.studio/favicon.ico?15768443862020-01-23T19:45:51ZAOZ Studio official issue tracking systemAOZ Studio Beta - Bug #48: Graphics cursor positionhttp://support.aoz.studio/issues/48?journal_id=1582020-01-23T19:45:51ZBaptiste Pillotbaptiste@pillot.fr
<ul></ul><ul>
<li>source : <a href="https://www.amos2.fr/ide/Amos2/Ide/Program/443">https://www.amos2.fr/ide/Amos2/Ide/Program/443</a></li>
<li>run : <a href="https://www.amos2.fr/run/tickleman/48/">https://www.amos2.fr/run/tickleman/48/</a></li>
<li>the result is 150,50 with both versions 0.9.3 and 0.9.3.1</li>
<li>the manifest.hjson file I used is the default one given by AOZ Studio Beta (PC mode). Please send yours, or better a zip of the directory where you reproduced the test case.</li>
</ul>
AOZ Studio Beta - Bug #48: Graphics cursor positionhttp://support.aoz.studio/issues/48?journal_id=1632020-01-23T21:15:48ZPaul Kitching
<ul></ul><p>Yes, that's what I get in AOZ. That looks to be the correct way I expect it to behave, BUT in AMOS it gives the start co-ords, not the end co-ords. It seems AMOS is wrong, but if this is used in an old AMOS program in AOZ, it would cause a problem.<br>
I think that if it's in AMOS mode it should give the same results as AMOS did. In this case, 80,10<br>
I'm not sure how much it was used, so he might want to leave it as it is. It depends how compatible he wants it to be, even if the AMOS way looks wrong.</p>
AOZ Studio Beta - Bug #48: Graphics cursor positionhttp://support.aoz.studio/issues/48?journal_id=1842020-01-24T07:32:29ZFrancois Lionet
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li><li><strong>Target version</strong> set to <i>0.9.3.2</i></li></ul><p>Fixed it. Yet could you check the compared behaviors for this for all the graphic functions? Like Polygon, Polyline, Circle, Ellipse?<br>
And report? This would save me some time. ;)<br>
Thank!</p>
AOZ Studio Beta - Bug #48: Graphics cursor positionhttp://support.aoz.studio/issues/48?journal_id=1882020-01-24T08:27:42ZAnonymous
<ul></ul><p>Yes, I'll test the other functions when I get home.</p>
AOZ Studio Beta - Bug #48: Graphics cursor positionhttp://support.aoz.studio/issues/48?journal_id=1942020-01-24T15:41:36ZPaul Kitching
<ul></ul><p>Right, here are my findings:<br>
Initial values are correct (0,0)<br>
Circle is correct (middle point)<br>
Box: AOZ gives end co-ords, AMOS gives start co-ords. It sounds like this is the one you have fixed.<br>
Polyline correct (last point)<br>
Bar: As box. AOZ is end, AMOS is start.<br>
Draw is correct (end point)<br>
Ellipse is correct (middle point)<br>
Polygon: AOZ gives last specified point, AMOS gives the point where it started (this could be the previous value of xgr,ygr and not specified in the polygon command)</p>
<p>Program used to test it:</p>
<pre><code class="text syntaxhl">cls 0
ink 2:paper 0
xy
circle 20,20,5
xy
box 40,25 to 50,35
xy
polyline 55,60 to 45,45 to 50,40
xy
bar 60,20 to 70, 30
xy
draw 80,25 to 90,35
xy
ellipse 100,20,10,5
xy
polygon to 107,40 to 95,45
xy
procedure xy
locate 20,:print xgr,ygr:wait key
end proc
</code></pre>
<p>AMOS returned:<br>
0,0<br>
20,20<br>
40,25<br>
50,40<br>
60,20<br>
90,35<br>
100,20<br>
100,20</p>
<p>AOZ:<br>
0,0<br>
20,20<br>
50,35<br>
50,40<br>
70,30<br>
90,35<br>
100,20<br>
95,45</p>
AOZ Studio Beta - Bug #48: Graphics cursor positionhttp://support.aoz.studio/issues/48?journal_id=2562020-02-01T05:34:44ZBaptiste Pillotbaptiste@pillot.fr
<ul></ul><p>Still not working with AOZ 0.9.3.2 :</p>
<ul>
<li>source : <a href="https://www.amos2.fr/ide/Amos2/Ide/Program/453">https://www.amos2.fr/ide/Amos2/Ide/Program/453</a></li>
<li>run : <a href="https://www.amos2.fr/run/tickleman/48-b/">https://www.amos2.fr/run/tickleman/48-b/</a></li>
</ul>
<p>Result as described by Paul :</p>
<ul>
<li>box : OK</li>
<li>box : BAD</li>
<li>polyline : OK</li>
<li>bar : BAD</li>
<li>draw : OK</li>
<li>ellipse : OK</li>
<li>polygon : BAD</li>
</ul>
AOZ Studio Beta - Bug #48: Graphics cursor positionhttp://support.aoz.studio/issues/48?journal_id=8402020-03-11T17:51:07ZPaul Kitching
<ul></ul><p>Still a problem in 0.9.6.3<br>
Amiga mode gets the last one wrong (doesn't use starting position of polygon), and the PC mode is mostly wrong (the same as when first mentioned).</p>
AOZ Studio Beta - Bug #48: Graphics cursor positionhttp://support.aoz.studio/issues/48?journal_id=9232020-03-24T13:56:02ZPaul Kitching
<ul><li><strong>Affected version</strong> changed from <i>0.9.3</i> to <i>0.9.7</i></li></ul> AOZ Studio Beta - Bug #48: Graphics cursor positionhttp://support.aoz.studio/issues/48?journal_id=11642020-07-12T21:34:09ZBrian Flanagan
<ul><li><strong>Affected version</strong> changed from <i>0.9.7</i> to <i>0.9.9.3</i></li></ul><p>Re-tested in AOZ 0.9.9.3 test 2:</p>
<p>Circle: Both OK<br>
Box: Both AMOS Pro & AOZ are wrong (40,25), should return box origin in Strict AMOS Pro mode, but last point (50,35) in AOZ.<br>
Polyline: Both OK<br>
Bar: AMOS Pro is wrong (60,20), AOZ is correct (70,30) ' should return box origin in Strict AMOS Pro mode.<br>
Draw: Both OK<br>
Ellipse: Both return center <a class="issue tracker-1 status-5 priority-2 priority-default closed" title="Bug: if Amreg(13) < 0 (Closed)" href="http://support.aoz.studio/issues/1">#1</a>. <em>I</em> think they should return center <a class="issue tracker-1 status-5 priority-2 priority-default closed" title="Bug: Mouse Click (Closed)" href="http://support.aoz.studio/issues/2">#2</a>, since that was the last point defined.<br>
Polygon: AOZ (95,45) correct. AMOS Pro returns PREVIOUS origin - WRONG (but should return in Strict AMOS Pro mode.)</p>
<p>All the same problems exist. Altered affected version accordingly.</p>
<p>NOTE: Something I discussed with Francois some time back: <br>
Perhaps we should have a Strict mode (including bugs) and a patched mode*, as well as the fully corrected AOZ mode.</p>
<p>*Some of the bugs in AMOS Pro were patched later.</p>
AOZ Studio Beta - Bug #48: Graphics cursor positionhttp://support.aoz.studio/issues/48?journal_id=24012021-09-08T04:29:05ZDavid Baldwin
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul>