Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bendpoints are not moved together with the selection. #3609

Open
KjellMorgenstern opened this issue Feb 3, 2020 · 2 comments
Open

Bendpoints are not moved together with the selection. #3609

KjellMorgenstern opened this issue Feb 3, 2020 · 2 comments
Labels

Comments

@KjellMorgenstern
Copy link
Member

Current Behaviour

"In any view, when box-selecting (say) the left half of my circuit, when I drag-move the selection, most of the wire bend points stay where they are, resulting in a big mess of bend points that I have to manually straighten out. It seems like the components themselves, and any wires directly between them, are moved OK, but unconnected wire segments can't be moved on their own."

Bendpoints of unconnected wires and bendpoints of a wire partly selected are not moved together with the selection.

Build:
Version 0.9.5
(dCD-380-66-g29b8f5d3 2019-10-24) 64 [Qt 5.9.5]

Operating System:
Ubuntu 18.04

Steps to reproduce:

  • Add some elements, eg. resistors
  • Connect them, use bendpoints
  • Select elements and some bendpoints, drag the selection

Expected Behaviour

Bendpoints should move together with the selection.

@KjellMorgenstern
Copy link
Member Author

3609

Expected:
The bendpoint to the bottom right should be part of the selection.

@JC3
Copy link

JC3 commented Nov 25, 2021

from: https://forum.fritzing.org/t/move-group-of-parts-wires-in-pcb-view/14451

i was able to figure out a kludgy workaround (post), although i'm not sure if it is more or less tedious. basically:

  1. remove any wire segments that cross the boundary of the selection area: you can create strategic bendpoints if necessary then right-click the wire sections and "delete wire up to bendpoints" to remove the segment.
  2. do not move the pcb out of the way: select the group of parts and wires that you want to move but also make sure the pcb itself is part of the selection! for some reason, bend points of selected wires are not moved if the pcb is not under them.
  3. now drag the whole group somewhere to move it.
  4. put the pcb back where it's supposed to be.
  5. reconnect the wire segments that were removed in step 1.

here's an example:

Untitled5|343x499

now, there's still a bunch of issues that make this "workaround" a bit of a pain in itself:

  • you'll have to select a lot of things, which is always a battle when elements are close together.
  • afaik for some reason you can't connect wires directly between two bend points: you have to move one bend point to another one. this means that you might have to recreate and reposition any bend points you lost here. depending on how you did step 1, you'll either have created those temporary bend points or you'll have to replace merged points, which means either way, you can't avoid having to click the mouse at least once per wire that crosses the selection boundary.
  • you're also still going to have to click and reposition one bend point per wire after reconnecting the wires anyways. this is because fritzing seems to have some weird bug where when you connect a wire to a bend point, the destination bend point ends up in the position you released the mouse button and ignores the grid snap settings. so you'll have to nudge it back to its original position after reconnecting the wires. this, as usual, runs the risk of driving you insane if your wires are close together, trying to convince fritzing to select the correct element.
  • you've got to move your pcb. so if it's sticky and you don't want to reposition parts that are stuck to it, you'll have to temporarily unsticky it. also you'll have to move it back to where it belongs.
  • it's pretty easy to select parts and the pcb when the parts are on the edge of the pcb. however, if your parts are in the middle of your pcb it could get a little trickier.

so yeah, you kind of have to judge if temporarily removing wire sections is going to save you time and brain cells compared to moving all the bend points individually, but, it's an option.

it's still a lot of work for something that seems like it should be straightforward (i.e. moving stuff) but, i dunno. it helped in my case.


microMerlin adds:

To prevent needing to move the PCB back, before starting this, set the lock flag for the PCB. That way, even though it is (and needs to be?) selected, it will not move.
Another small speedup. When reconnecting the wires, instead of ‘nudging’ them back into position, double click the created bend/join point. That will delete the bend, which, for the example, will nicely clean the trace up.


fai adds that the issue with bend points being dropped at the mouse position after a drag is fixed in dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants