Metamask-extension: Hidden tokens re-appear

Created on 13 Aug 2018  路  8Comments  路  Source: MetaMask/metamask-extension

To repro:

  • Hide a token that was auto-detected
  • Switch accounts
  • Switch back to original account, token is visible again.
    Would expect token to remain hidden.

Might need a UX for "clearing" the list of hidden tokens? Would resetting the account do the trick?

S3-low T00-bug

All 8 comments

@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:

  1. 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.
  2. We should allow users to hide tokens they no longer want to interact with, such as when they have spent all but a very insignificant amount of token.

I'd like to re-open this issue as a way of tracking the updates to resolve those two items.

  1. 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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kumavis picture kumavis  路  3Comments

1blockologist picture 1blockologist  路  3Comments

aecc picture aecc  路  3Comments

whyrusleeping picture whyrusleeping  路  3Comments

bdresser picture bdresser  路  3Comments