I have a little trouble when placing new pcb components.
Each time I press F8 for updating, the new components are placed far from the pcb itself, and even outside of the page itself. In order to move them near the pcb, I need to zoom out significantly as per screenshot below.
What is your page size ?
The page size is A4.
OK, I was going to suggest using a smaller page size . . . so that’s not an option.
It has been a while, but I think the easiest way to get to your footprints is to change the sheet size to A3 or A2, drag your footprints to the correct area and change your sheet size back to A4.
I cannot remember exactly what caused this problem.
I have never ever noticed it, but now found how I can get this effect.
After closing Update dialog box I end with new footprints ‘connected’ to my mouse cursor. Then I position them whenever I want them and left click fixes them there. If instead of left click I press Esc than all new footprints are positioned around absolute 0,0 point.
In my experience when new footprints (components is not the preferred term) are added they’re selected and can be deposited anywhere, so you just have to bring them near the board and drop them. You can use the Home key to fit the board to the screen. Maybe it helps if you have a board outline in edge cuts in case you don’t have one yet.
In my case the only way to bring the footprints near the pcb edges is to significantly zoom out so that they become visible, and then drag them toward the pcb.
I’ll try another workaround as suggested by Piotr: move the whole pcb toward the upper left.
What would be preferrable is either that the new footprints be placed near the drill origin, or at least to a custom place set somewhere in the settings. But having them placed outside of the page is not normal anyway.
I work near 0,0 and I suggested it few times since 2017.
But this tests I have done with simple PCB somewhere near A4 center (I suppose as I don’t have a frame around sheet).
For me it looks that some way when you close Update dialog box ‘your’ KiCad reacts like ‘my’ KiCad after closing dialog box and then pressing Esc key.
May be the reason is any setting connected with schematic and PCB cooperation.
If after update you can’t position footprints when you want it looks as a bug.
What is the exact procedure you use? For me, footprints are not placed , but they are just attached to the cursor.
I used:
- Duplicate a resistor on the schematic.
- [F8] to update PCB.
- Press **Update PCB button on the Update PCB dialog.
-
- Press the Close button on the Update PCB dialog.
- The resistor is now attached to the cursor, regardless of pan / zoom location.
- A mouse click puts the resistor on the canvas.
If I press [Esc] after step5 as piot suggests, the resistor is placed near (0, 0) instead
What I described happens after updating using F8 and Clear : everything is attached to the cursor, but way out of scope, so impossible to place correctly unless you zoom out.
That does not make sense to me. You also see the footprints are attached to the cursor, but how can it be “out of scope” unless the cursor itself is off screen? (Which would be really weird).
Well that’s exactly what happens. The cursor with all items attached to it are very off screen. You can see it on my initial screenshot. I used to see the pcb on almost the entire editor area, until I zoomed out to show what happens.
I can not see whether those footprints are attached to the cursor or not from a screenshot. But it does look like it’s a bug.
I tried to force to reproduce something similar.
- [F8] update.
- Left mouse click to put the footprints somewhere.
- Pan zoom, so the (still selected! ) parts are off screen.
- press m to move the selection.
In this 4th step, the selection of footprints becomes attached to the mouse cursor again, and my mouse cursor is still on screen. This looks like it’s a reasonable workaround, but this bug should probably be reported on gitlab too. Or maybe wait until someone else can give some sort of confirmation and/or more info.
I’ll open a ticket and share my project once I’m back so that the problem can be reproduced.