To repro:
Might need a UX for "clearing" the list of hidden tokens? Would resetting the account do the trick?
@bdresser this was a spec for this feature it was meant to be like that, as long as the account has balance on that token contract it will always auto-detect that token.
@cjeria any thoughts on this?
This issue was reported by another user through zendesk. While it is operating as intended a couple of things made this more onerous:
I'd like to re-open this issue as a way of tracking the updates to resolve those two items.
- Token value representation in the UI was truncated at 3 zeroes so having 0.0001 of a token would result in 0.000 showing and thus the "feature" of adding tokens with values is easily perceived as a bug.
This has been resolved by #9056, so the only outstanding problem is the one originally reported here (tokens with non-zero balance re-appearing after being hidden).
I'm re-labelling this as a bug, because this behaviour seems both unexpected and undesirable.
If we do want to make it impossible to hide tokens with a non-zero balance, the _least_ we could do is not show the "Hide" button. But I'd strongly prefer letting users choose to hide tokens even with a balance. It's not uncommon to have a positive balance of a token you don't care about.
I have a bunch of tokens with non zero balance. It seems only some specific tokens actually reappear (like OMG I reported in #9145). While most of the tokens I actually care about stay hidden until I add them manually.
@Alko89 This behavior should only affect tokens listed here: https://github.com/MetaMask/eth-contract-metadata/blob/master/contract-map.json
Those are the tokens we periodically check the balance of.
A solution might be to be able to blacklist a token that is on the list.
I have at least a dozen old token accounts that are no longer used even a couple made with the wrong contract number With 0 token balance. The list is so long I have to scroll down to see some of my used token accounts! Getting really annoying. All it would take is a setting that says keep hidden token hidden when toggled on.