alvr / ASFui

User Interface for JustArchi/ArchiSteamFarm
https://www.steamgifts.com/discussion/eT97I/
37 stars 16 forks source link

Last key redeemed is not removed from listing #8

Open r6d2 opened 7 years ago

r6d2 commented 7 years ago

I don't know if this is a new behavior to 0.5 or not. I had not noticed it before anyway, but when a list is pasted to redeem, and all keys get redeemed, the last key remains on the window no matter the result of the previous operation.

KlappPc commented 7 years ago

I can further specify, that if only the last key should be removed, it stays and the second last key, gets removed (even if that one should stay). But I currently don't get, why thats happening ;->

SoulReaver commented 7 years ago

I had 4 keys from recent massive giveaways but decided to wait for something bigger with debugging in VS and simply tried using the keys through your app and I had reproduced this bug (it can be actually related to my issue #10)

3 bots, 3 times the same input (I have changed actual keys to something more readable :) ):

HEAD-SHOT-KEY1 <- I did not know it was already used ... giveaways with used up keys :P
WHY-SO-EVIL1
HEAD-SHOT-KEY2
WHY-SO-EVIL2

<bot1> Key: HEAD-SHOT-KEY1 | Status: DuplicatedKey | Items: [109138, Head Shot]
<bot1> Key: WHY-SO-EVIL1 | Status: OK | Items: [54017, Why So Evil + Why So Evil 2: Dystopia + Brilliant Bob]
<bot1> Key: HEAD-SHOT-KEY2 | Status: OK | Items: [109138, Head Shot]
<bot1> Key: WHY-SO-EVIL2 | Status: AlreadyOwned | Items: [62412, Why So Evil 2: Dystopia + Why So Evil + Brilliant Bob]

in text box remains: HEAD-SHOT-KEY2 <- this one shouldn't be here WHY-SO-EVIL2


<bot2> Key: HEAD-SHOT-KEY1 | Status: DuplicatedKey | Items: [109138, Head Shot]
<bot2> Key: WHY-SO-EVIL1 | Status: AlreadyOwned | Items: [54017, Why So Evil + Why So Evil 2: Dystopia + Brilliant Bob]
<bot2> Key: HEAD-SHOT-KEY2 | Status: DuplicatedKey | Items: [109138, Head Shot]
<bot2> Key: WHY-SO-EVIL2 | Status: AlreadyOwned | Items: [62412, Why So Evil 2: Dystopia + Why So Evil + Brilliant Bob]

remains HEAD-SHOT-KEY2 <- again, why it stays here? WHY-SO-EVIL2


<bot3> Key: HEAD-SHOT-KEY1 | Status: DuplicatedKey | Items: [109138, Head Shot]
<bot3> Key: WHY-SO-EVIL1 | Status: DuplicatedKey | Items: [54017, Why So Evil + Why So Evil 2: Dystopia + Brilliant Bob]
<bot3> Key: HEAD-SHOT-KEY2 | Status: DuplicatedKey | Items: [109138, Head Shot]
<bot3> Key: WHY-SO-EVIL2 | Status: OK | Items: [62412, Why So Evil 2: Dystopia + Why So Evil + Brilliant Bob]

remains WHY-SO-EVIL2 <- now this one ...

aresda commented 7 years ago

Same problem after update ASF. Status message was changed. Like this. [ Status: OK/NoDetail ] , [ Status: Fail/AlreadyPurchased ]

KlappPc commented 7 years ago

@aresda already fixed in https://github.com/alvr/ASFui/pull/13 but not yet merged.