fritzing / fritzing-app

Fritzing desktop application
http://fritzing.org
Other
3.97k stars 826 forks source link

Pad Connection location not saving #3695

Closed master-puller closed 1 year ago

master-puller commented 4 years ago

Current Behaviour

Fritzing does not save proper pad connections, and this almost made a project of mine fail completely

image

Build: <e.g. Version 0.9.3 (b5c895d32 2016-04-19) Cocoa [Qt 5.12.2]

Operating System: <Windows 10>

Steps to reproduce:

Expected Behaviour

Saves the correct pad connection, loads with correct connection on reopen

KjellMorgenstern commented 4 years ago

I created three long pads, each 2mm wide and 20 height: three_long_pads.zip Saving, closing and loading the file did not alter their sizes. Version 0.9.5 (development build)

I noticed the size of the pads to jump when selecting one of the corners with the mouse for resizing, however that is a different story.

Can you help reproduce the problem? You could try with a more recent version of Fritzing, or upload a file, or add more detailed information for reproducing the issue.

KjellMorgenstern commented 2 years ago

I could reproduce the problem:

  1. Set connection to north
  2. Put a resistor north west of the pad and connect it
  3. Resize the pad by grabbing it on the north west corner -> Wire will jump between center and north.

When you release the corner, the wire will always jump to the correct position. However, when loading the file, and this happens, there will be no release event for the wire to jump to the correct location.

This is a big issue if you have many pads, as this will increase the likelihood of the issue to happen.

KjellMorgenstern commented 1 year ago

This is mostly solved. However, when the project is saved by pressing Ctrl-S while at the same time resizing the pad with the mouse, and not letting go the pad, then the wire connects to the center of the pad, not to the configured side.