Using "-regtest" for the first time shows silly progress widget #7279

issue ciyam opened this issue on January 3, 2016
  1. ciyam commented at 4:51 PM on January 3, 2016: none

    Not overly important but it looks a bit silly to see the progress widget saying it is years behind when you are using "-regtest" for the first time.

  2. MarcoFalke commented at 5:10 PM on January 3, 2016: member
  3. ciyam commented at 5:13 PM on January 3, 2016: none

    Understood - but it seems to know to hide the progress widget as soon as you generate even one block so why show the widget at all if it is known that you are using "regtest"? (i.e. it just looks ugly for no good reason IMO)

  4. MarcoFalke commented at 5:21 PM on January 3, 2016: member

    know to hide the progress widget as soon as you generate even one block

    Normally, the time of the second block is the time you create the second block. As long as the time of the last block is less than 90 minutes in the past, there will be no progress bar: https://github.com/bitcoin/bitcoin/blob/be9a9a3d2253ceccf123572b97a890c489a5a9be/src/qt/bitcoingui.cpp#L719

  5. ciyam commented at 5:25 PM on January 3, 2016: none

    Again - I understand - but if it knows it is running with "-regtest" then why not just hide the progress widget "full stop"? (it is just an aesthetic thing really - but it does look ugly that if you start a blank regtest you see the stupid progress widget)

  6. MarcoFalke commented at 5:31 PM on January 3, 2016: member

    Regtest is for development only and I don't see how this information could harm.

  7. ciyam commented at 5:35 PM on January 3, 2016: none

    Sure - as I stated it is just "ugly" (it doesn't "harm") so I fully understand if no-one cares to change it - just was reporting (as it is confusing to see that at first).

  8. jonasschnelli added the label GUI on Jan 3, 2016
  9. jonasschnelli commented at 10:17 AM on January 4, 2016: contributor

    Agree that it could be confusing. But because this is a dev's/researchers only feature, I think it's not worth changing it / keeping an issue open for it. @ciyam: If you agree, please close the issue.

  10. laanwj commented at 12:55 PM on January 5, 2016: member

    Regtest is not meant for normal users. It's even hidden in --help without --help-debug. So minor UI issues that could confuse novice users are not relevant enough to keep open an issue, IMO. (though I'm not against fixing this if it can be done in a general, non-ugly way)

  11. laanwj closed this on Jan 5, 2016

  12. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me