X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Thu, 24 Nov 2016 08:38:29 +0100 (CET) X-X-Sender: igor2 AT igor2priv To: geda-user AT delorie DOT com X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu" From: gedau AT igor2 DOT repo DOT hu Subject: [geda-user] [pcb] bugreport: rubberband; [pcb-rnd] reminder: Saturday test sprint Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-645776704-1479973109=:7286" Reply-To: geda-user AT delorie DOT com This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-645776704-1479973109=:7286 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Hi all, I managed to separate the rubber band code and moved it all in an optional feature plugin in pcb-rnd. After that, we started to test whether I broke something in the cleanup and Evan found an interesting bug that affects mainline too. REMINDER: we are having a test sprint on Saturday, to hunt & fix bugs like the below one. Event summary: http://repo.hu/cgi-bin/pcb-rnd-people.cgi?event=tsprint3 Join us on IRC (any time): http://repo.hu/projects/pcb-rnd/irc.html BUGREPORT: It is easy to reproduce with the attached minimal board. Grab the top 45 degree short line and move it (rubber band is on). Make sure you grab the line, not its endpoints - this can be done by clicking near the middle of the 45 degree edge of the line (zoom in!). Also make sure the line is not selected. Once the line segment is grabbed, there's no xor-drawn attached-lines and when the operation ends, the endpoints of the attached lines are thrown 2x further than necessary. Repeat the same with the bottom 45 degree line segment and it won't happen there. The only difference is that the top line is short while the bottom line is long. Because of a bug in rubber_callback() this results in finding and adding the same objects twice; this cancels in the xor-draw and multiplies the endpoint moves. The fix is commited in pcb-rnd r5265. Regards, Igor2 --0-645776704-1479973109=:7286 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=rb1.pcb Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=rb1.pcb IyByZWxlYXN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