Does the issue occur in the editor or during gameplay?

Gameplay

If it's a gameplay issue, please specify which movement system and camera type you're using (free movement vs. grid movement, third-person vs. first-person) or N/A if not applicable:

N/A

Briefly describe the issue you're experiencing:

When using the Quick Slot bar, if you place a single (or stack of) item(s) into a slot, different behavior occurs depending on if you click on the item directly in the Quick Slot, or if you press the corresponding Slot Hot Key (1, for example).

Hot key: The item is used, does it's script and when the stack is all used up, the slot is blank.

Clicking on Item: The item is used, does it's script but the item icon remains once the stack is used up, showing 0 count.
It's unclickable, unmovable.
The only way to remove it is to right click on it.

Are there any errors in the in-game debug console or external console window?

No

Provide the steps necessary to reproduce the issue:

  1. Enable Quick Slot bar
  2. Give yourself a stack of usable items
  3. put them into the Quick Slot bar
  4. press the slot key and notice they all get used up, and slot is cleared out
  5. repeat steps 2 - 3
  6. click on the item instead and use them all...the last one leaves a 0 count icon behind

Provide a download link to the bare bones project (strongly recommended if it's an in-game issue, since this helps significantly when attempting to reproduce it; the report will also be given more priority in this case):

Stumpy will walk you through how to see both in action.

quickslotbug.zip
1MB
    8 days later

    Don't know if this is useful but a quick fix we implement is having this global function that runs at the end of every usable item script, just tie in the max id of your item quick slots, like widget elements 0001 to 0009 (9 is the max for this function)

    function quickslot_clean($id, $widget_name) begin
    for $i in range(1, $id + 1) do
    $element = "000" + str($i);
    if widget[$widget_name].element[$element].item.count == 0 then
    widget[$widget_name].element[$element].item = null;
    end;
    end;
    end;

    For the default quick slot widget this is the following code at the end.

    quickslot_clean(5, "quick_slot_bar");

    2 months later

    Slayer Hello Slayer, thank you so much for the report! This issue should now be fixed as of the v1.2 release.