Component moves when pressing m

If I select a component with the mouse and then press M, the component moves slightly up and left. A friend of mine does not have this in his installation so I assume there is a setting that can disable this behavior but I fail to find it. I’ve tried turning on and off grids, trying other various settings without any luck so help please.

maybe Preferences–>common–>Editing–>Warp mouse to origin of moved object. But I’m not sure this explains your description.

some notes for future topics however:

  • be specific in your description/question. Are talking about schematic editor or pcb editor or both?
  • inform the reader about the used kicad version
  • be precise in your wording, and try to use the words displayed in the kicad GUI or used in the kicad documentation. Currently we have symbols (schematic editor) and footprints (pcb editor), but no component.

Welcome, mankan

First: In KiCad we have symbols in the schematic editor and we have footprints in the pcb editor. Which are you referring to? Sticking to these two terms will remove doubt…

Also, please go to help>about and copy>paste your version information.

I made the assumption that layout meant the PCB Editor…
Anyway, it happens only in the PCB editor. It does not happen in the Footprint editor nor the Schema editor.

Enabling or disabling “Warp mouse to origin of moved object” makes no difference for this issue.

To elaborate a bit: I left click on a component with the mouse, then press M and the component moves a bit up and left. If I then left click with the mouse or press enter the component position is updated in properties manager.

Application: KiCad PCB Editor x64 on x64

Version: 8.0.7, release build

Libraries:
wxWidgets 3.2.6
FreeType 2.13.3
HarfBuzz 10.0.1
FontConfig 2.15.0
libcurl/8.10.1-DEV Schannel zlib/1.3.1

Platform: Windows 11 (build 22631), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: NVIDIA Corporation, NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2, 4.6.0 NVIDIA 560.94

Build Info:
Date: Dec 3 2024 15:58:01
wxWidgets: 3.2.6 (wchar_t,wx containers)
Boost: 1.86.0
OCC: 7.8.1
Curl: 8.10.1-DEV
ngspice: 43
Compiler: Visual C++ 1939 without C++ ABI

Build settings:

Maybe all the footprints you worked on are slightly off grid and the move action corrected the position?

Yes you are correct. Sorry I neglected to look at the category up top. Still it is better to refer to symbols or footprints.