As described here:

Ironparrot on discord reports that this problem may be used to transmute items by attempting to replace devices at exactly the right time, one device is consumed and the other is duplicated.

george moromisato 28 Nov 2021:

Fixed in 1.9. We no longer update items while the dock screen is open.