kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #27554
[BUG] Bug introduced in fix for lp:1660875
The fix for lp:1660875 has introduced a bug into nightly and stable
Nightly: 9319ef034dbf0421ebbd2c78f7ee41f01bb56c0c
Stable: d1f8dbb9debe128ddd015edb1ff0fa954a8a08a7
Bug:
When moving a pin around in libedit, pressing HK_EDIT or HK_ROTATE will
delete the currently selected pin (designated m_drawItem). This is
undesired behaviour.
This bug has been caused by removing the check to see if m_drawItem is
non-null (i.e. there is an item currently being moved).
The referenced patches do not change much so it is easy to spot the bug. I
have not attached a patch to fix this as the previous definition of *bool
itemInEdit* has been changed, and does not seem to be sufficient as a test
for whether an item is currently being moved around the screen.
I shall defer to Wayne who made this patch and better understands the
subtleties of what has been done.
Cheers,
Oliver
Follow ups