delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/06/04/15:03:48

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <575325A6.5020802@iee.org>
Date: Sat, 04 Jun 2016 20:01:58 +0100
From: "M. J. Everitt (m DOT j DOT everitt AT iee DOT org) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] pcb: ARC bug
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1606041445000 DOT 28818 AT igor2priv>
In-Reply-To: <alpine.DEB.2.00.1606041445000.28818@igor2priv>
X-Enigmail-Version: 1.6
OpenPGP: id=93C22371
X-Provags-ID: V03:K0:s63C0D26DzZqa+4WfEAmYWbcHygHmoMWp27o2GVIiakJo46MwHY
2ZNsuY6d/Pb9Lfic9CRhlUjR4t3OyWZMk/Pt2KTv9xqyeOoEh3JL+VjYKaUptjIGSmKxwFV
REVBYXUnVJKiz4huk0a4NboOqWEZnpkK6Gsb7gCBkVuCqyvxNgnAsLbRMeH8lq0jwyYGC1q
YtZkBW2XNeFMvuXWteWig==
X-UI-Out-Filterresults: notjunk:1;V01:K0:5cngjNwz5YA=:H5rlHNssk+VtbX/06MLQTH
Bf0j2XzyF5ElZwamDZ0juxU7wF0mRH9qnmAZ1LxCcmDZERd75EL90Zgs4bkjEWde8IZX8TI8X
gmtazIdSvrmEnw5uH6+HlOHnTjkHiZ7iNYh8nmK1YY1SNksl3pbu+VV/z8Pk7UFJgYvlMgh40
smaWi8VcXiHByml4mBdMr6On9trSKxk4u5QsHKrDiSP5WQQ1wVe4tCXedxNoBRU+JRG8sR8AH
54uaLiZZAMeY8ZxHUbQaa6erB0viMpfZE08wvmBVRoFGLhD1x8cd5tlFCWdupnf+oATRiqnPf
QqHvkuMM7M4dF96p8fbSF3hIpcEAoXIV45DPzv5FVQyiurUuH8X3P10O4rkdOon6bL6fATmhi
164XbgXXpBKAG2OnONKTRKQd1A3LoLjH/8ElwWlZQnlkKaImdB5e63LCtLFBqT5d8gm7jleCm
nl0ljvkZkz3rOSoN8Y8Kw8FshRX4Msa5JEIYatS2i2Wv4XlK5dczgZcjxKWqaRyD9Yu8vE+Fn
1CFfXhwPgJjEiKMyahbUTQs7bHm6Gs4EImeRRhFhlsphI/V6KcK/rwh3Gwe+PdJ+icTkRtRsM
f0NSXwen7AxQlnyD2xBv588TND3D0dJGoh2MDK///5vBDi8icID9xw20Bj+py5VZjYkB31kZ1
5Pztlc8m/QilvTzzMf9+sabNeZFx1Mj6efszRzk8gLaCOwjPHsu05JBcMAlpcxQIkoMA=
Reply-To: geda-user AT delorie DOT com

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--cJn96ER12FEgR13iaP6WET68BXcsE0rXx
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 04/06/16 14:07, gedau AT igor2 DOT repo DOT hu wrote:
> Hi all,
>
> while testing pcb-rnd, khazakar has found an interesting bug that is
> present in recent versions of PCB mainline too. A minimal example pcb
> can be found at:
>
> http://igor2.repo.hu/tmp/arcbug.pcb.gz
>
> It features two arcs: the one on the component side has both ends
> within the drawing area and works properly when moved or resized. The
> one on the solder side gets jumpy when moved.
>
> Reproduce from scratch: draw an arc starting it at the top-left corner
> making it as big as the editor permits.
>
> The problem seems to be that PCB tries to keep both endpoints within
> bounds and when this is not possible, it does something strange.
>
> Proposed fix:
>
> - let the user override clipping with a modifier (e.g. the shift key)
> - or relax the clipping: if the size of the area of the bounding box
> of the arc is at least 1/3 of the area of the drawing, stop clipping
> - maybe both of the above
>
> Rationale: PCB doesn't worry too much about objects falling beyond the
> drawing area most of the time, perhaps it shouldn't in this case
> either. Worst case 99% of the arc will be off-drawing so it will be
> difficult to grab it by the tiny portion still accessible in drawing
> space. But even then the drawing area can be enlarged or the object
> can be removed with a text editor so nothing really breaks if the user
> can move such huge arcs freely.
>
> Regards,
>
> Igor2
I've lost PCB elements off the drawing area by accident before .. the
solution of simply enlarging the area, moving items, then re-adjusting
seems perfectly reasonable to me. Now what might be useful where
restriction is concerned, is to discourage PCB from placing either
components or selections (taking into account selection extents) outside
of the working area, or at least requiring a modifier (eg.
Shift/Ctrl/Alt) in order to do so. I guess consistency here is probably
the driving force!

MJE


--cJn96ER12FEgR13iaP6WET68BXcsE0rXx
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJXUyWoAAoJEEwwM0+TwiNxF+QP/2ZEIaaFY/22/Z1x6IRbFmdW
Zy7a/yRmlTUQgVq9ms7RSt0eyPPlMchrh8oMiJ397EV88sDMjSB1SD4prc4L6Vd9
PjU4JqQrTmfvT2nt4ickif2W3Q9On16U+8eNL1R5vX00OlWvTIckW7GkPI3UfHVD
KHNN2N81oq/ApCRtVvr453CepTEJ3MK5YAQCYp201pbaQRH1aZwYnf9yUT3oItx0
YIeG8nU5V0nQbzCQ2VBlM9rilU/rXmEqHA9uTYQv5DgAk6ugx3wacslMsIohWOS6
iGE3SYcE5xbPB8UkY3vXZQZiwoIodZbbmyFcfJJmg+YLvJ/33KC2exRjuidCa7WJ
v0VkOKFlRd3C0I0pcUd3GzUlzUfygVCZMvJEEXkkgCuzowXn1IS5cegSolbJX0Vn
jsjcBwdPFbpETNjPp1/7H3Ng8STP1jk/IQN4EhyK1uOQGsuPVEHoLWADgK+aUZ7w
oXTO7ucQU4U+Rs7RO9B5aj4zlquU+ZXVk/Z/hvpChvtWPpP6p1B7EUPjH8raSh2d
9qLbx1tY2/tQTGBNc+JAnsBnX9mzLmfwSZB0HcXBf07Yn4D4jPMoBtGeipcar6tb
LGY/j8TUQ5n8Hsked6bHoVRBuZI6ZF8k863+EmByH4Moh3BdSFCV76PFmTQWkR25
jto3zlmVb2E9bSo0uWm6
=3iv2
-----END PGP SIGNATURE-----

--cJn96ER12FEgR13iaP6WET68BXcsE0rXx--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019