SimonBuxx / Linkuit-Studio

A platform for learning and experimenting with logic circuits
https://linkuit.com
MIT License
20 stars 2 forks source link

Items moved to wrong position after delete #72

Closed SimonBuxx closed 2 years ago

SimonBuxx commented 2 years ago
  1. Create any item
  2. Move the item, then delete the item while still holding the left mouse button
  3. Create another item
  4. Move the item

The item will be teleported to around (0, 0) instead of the expected position.

This issue becomes problematic for the copy/paste feature because items are teleported when pasting is aborted due to collisions.

See also https://forum.qt.io/topic/22716/strange-qgraphicsitem-behaviour-after-node-deletion