Equipment screen dragging bug

Discussion in 'Bugs' started by Zalminen, Mar 9, 2013.

  1. Zalminen

    Zalminen Hydra

    I was switching weapons between fights and was dragging a new weapon on top the of the old one. Right before I got it to the right spot, I accidentally right-clicked, opening the details view of the weapon. I closed that screen, the weapon I was dragging now laying on top of the correct slot but still a few millimeters short of the currently equipped one. I dragged the weapon the rest of the distance and it replaced the old weapon normally.
    The equipment changes done, I began the next fight.

    During the fight I was surprised to find that my fighter had Weak Strike in his deck which came from Bare Knuckles! And when I got to the loot screen I discovered that the very same weapon slot I had replaced was now empty.

    I know this has happened to me atleast once before as well, but the last time I dismissed it as my own fault, thinking I had just somehow forgotten to add a new weapon after removing the old one.
    This time I'm pretty sure the slot had been filled when i clicked Onward.

    I'm in the middle of an adventure so I don't want to attempt to replicate the bug until I finish, but my guess is that it was somehow caused by that accidental right-click while dragging on top of the currently equipped item.
     
  2. Phaselock

    Phaselock Bugblatter

    [​IMG]

    Whee !

    edit: Error in ItemDisplay::eek:nTransfer() - Either origin or destination is null or not ItemContainerDisplay
     
    Zalminen likes this.
  3. Phaselock

    Phaselock Bugblatter

    oh, btw...this bug has nothing to do with the item slots. It happens whenever you left click, drag and then right click. Hope it helps. :)
     
  4. Zalminen

    Zalminen Hydra

    As I had time to test this properly, here's the steps to replicate:

    Situation before starting:
    [​IMG]

    I drag the new weapon (spear) towards the old weapon (club), right-clicking before releasing the left mouse button, then right-clicking to dismiss the details screen:

    [​IMG]

    I drag the spear back again on the correct spot, releasing the button to replace the weapon. All looks fine, the new weapon is in correct slot and the old weapon is in inventory.
    [​IMG]

    If I check the log at this point, it shows the error message Phaselock mentioned.

    I exit the keep, then return and my inventory now looks like this:

    [​IMG]

    So yeah, right-clicking while dragging seems to 'misplace' the item's current location so that the code handling the replacements gets confused and can't actually set the new location for the weapon correctly after that, despite removing the old equipped item.
     

Share This Page