Can't undo after 'position relative to' movement of group

I think this may be one to report as a bug but I thought it would be worth checking on here first to see if i’m doing something wrong.

If I use ‘position relative to’ (shift-p) on a group… I can’t undo the movement afterwards. It simply does nothing.

is this how it should be for some reason which illudes me or is this possibly a bug?

thanks

I tried this a few times and [Ctrl + Z] to undo works normally for me.

Application: KiCad PCB Editor

Version: 6.0.5-a6ca702e91~116~ubuntu20.04.1, release build

Libraries:
	wxWidgets 3.0.4
	libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3

Platform: Linux 5.13.0-27-generic x86_64, 64 bit, Little endian, wxGTK, xfce, x11

Build Info:
	Date: May  4 2022 07:55:51
	wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
	Boost: 1.71.0
	OCC: 7.5.2
	Curl: 7.83.0
	ngspice: 36
	Compiler: GCC 9.4.0 with C++ ABI 1013

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON


Your version number is more recent than mine… I think I’m on 6.0.4 on Windows. Didn’t realise there was a newer release.

Were you definitely trying undo [ctrl +Z] after doing a ‘position relative to’ movement of a group?

‘Normal’ undo works fine for me… It is just that: as soon as I move a group relative to a referenced component (using [shift+ P] the undo in the edit menu becomes greyed out and [ctrl + Z] does not work.

Oops, my bad, you are right.

I was a bit too quickly, and I did it with a selected block, not with a created group.
If I first create a group, then I can not undo with [Ctrl + Z].

If I first create a group, then select a block which contains that group and some other stuff and do the Position Relative To thing, then undo does put those other things back, but not the group.

I had a look at gitlab if this was already reported, but did not see it, and after that it was a small step to create a bug report for it, so I did that too:


It’s one of the advantages of Linux. In Linux you do not just install programs, you instruct your OS to install a program. The difference is that if you your OS knows which programs are installed and when you run updates, it does not only update your OS, but it also updates all installed programs (if there is a newer version availabe, and it’s not set to a fixed version).

There were quite a lot of little bugs in KiCad V6, and a newer version gets released about once a month. Increments in the third number are just bug fixes and very small things and it should always be safe to update (A mayor bug slipped through in V6.0.3, and that version was removed within a day or two).

1 Like

Hi Paul
Sorry for taking so long to respond. have been away for the weekend.

Thanks for filing that bug report. much appreciated.

I did use Linux (Ubuntu) for quite a long time however, I now use Fusion 360 quite a lot for my work and it doesn’t run natively on Linux so I migrated back to Windows.

nevermind, anyway… thanks again

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.