WIP: [qt] rework sync-overlay #8809

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:Mf1609-qtSyncInf changing 2 files +14 −34
  1. MarcoFalke commented at 6:05 PM on September 25, 2016: member
    • <strike>Remove the "Progress increase per hour" information, as it is redundant to the already displayed information and sounds potentially confusing.</strike>
    • Don't show integer progress in progress bar. (Already shown in front of progress bar)
    • Estimate the number of blocks left based on nPowTargetSpacing

    (Follow-up of #8371)

  2. MarcoFalke added the label GUI on Sep 25, 2016
  3. MarcoFalke added the label Docs and Output on Sep 25, 2016
  4. MarcoFalke force-pushed on Sep 25, 2016
  5. MarcoFalke force-pushed on Sep 25, 2016
  6. MarcoFalke renamed this:
    [qt] sync-overlay: Don't show redundant information
    [qt] rework sync-overlay
    on Sep 25, 2016
  7. MarcoFalke force-pushed on Sep 25, 2016
  8. paveljanik commented at 11:08 AM on September 26, 2016: contributor

    @MarcoFalke what does "Don't show integer progress in progress bar. (Already shown in front of progress bar)" mean? What change is it?

  9. paveljanik commented at 11:16 AM on September 26, 2016: contributor

    I see something like this with the current master:

    <img width="480" alt="screen shot 2016-09-26 at 13 15 29" src="https://cloud.githubusercontent.com/assets/6848764/18832378/5f14d014-83eb-11e6-89c6-3e1e85922931.png">

  10. MarcoFalke commented at 11:33 AM on September 26, 2016: member

    @paveljanik By default it shows the percentage twice: #8371 (comment). (Maybe not on osx)

  11. jonasschnelli commented at 11:38 AM on September 26, 2016: contributor

    Thanks for doing this.

    Question:

    Remove the "Progress increase per hour" information, as it is redundant to the already displayed information and sounds potentially confusing.

    Where is the information already visible? Why is it confusing? IMO "progress increase per hours" is the only information which could one allow to get a feeling of how-fast he/she is currently syncing. But no strong opinion.

  12. paveljanik commented at 11:40 AM on September 26, 2016: contributor

    @MarcoFalke Aha! Thanks. Yes, I do not see it here. BTW - the progressbar on OS X doesn't show, what is 100%, it is a bold line showing nothing.

  13. jonasschnelli commented at 11:41 AM on September 26, 2016: contributor

    Maybe we need to distinct the percentage information over PlatformStyles in order to not just display a non-value progress bar. Or maybe there is a QT setting to not display the percentage information on a progress bar.

  14. MarcoFalke commented at 11:43 AM on September 26, 2016: member

    @jonasschnelli Example: If you are synced 90% and the "Progress increase per hour" is 10%, then the estimated time until synced is 1 hour.

    Or: If you are synced 0% and the increase is 100% per hour, the estimated time is 1 hour.

  15. jonasschnelli commented at 11:51 AM on September 26, 2016: contributor

    @MarcoFalke: I just though, the "Estimated time left" doesn't allow you to directly get a feeling on how fast you are syncing (in a comparable manner). IMO most information on the screen is redundant (except of maybe the last-block-time).

  16. in src/qt/forms/modaloverlay.ui:None in faca9f2240 outdated
     275 | @@ -276,31 +276,14 @@ QLabel { color: rgb(40,40,40);  }</string>
     276 |                 <property name="value">
     277 |                  <number>24</number>
     278 |                 </property>
     279 | +               <property name="format">
     280 | +                <string/>
     281 | +               </property>
    


    MarcoFalke commented at 11:54 AM on September 26, 2016:

    Or maybe there is a QT setting to not display the percentage information on a progress bar.

    See hunk above


    jonasschnelli commented at 11:55 AM on September 26, 2016:

    Nice!

  17. MarcoFalke renamed this:
    [qt] rework sync-overlay
    WIP: [qt] rework sync-overlay
    on Sep 27, 2016
  18. [qt] rework sync-overlay
    * Remove the "Progress increase per hour" information, as it is
      redundant to the already displayed information and sounds potentially
      confusing.
    
    * Don't show integer progress in progress bar. (Already shown in front
      of progress bar)
    
    * Estimate the number of blocks left based on nPowTargetSpacing
    76a5f1bf38
  19. MarcoFalke force-pushed on Sep 27, 2016
  20. MarcoFalke commented at 6:46 PM on September 27, 2016: member

    Closing for now. (Too controversial)

  21. MarcoFalke closed this on Sep 27, 2016

  22. MarcoFalke deleted the branch on Sep 27, 2016
  23. jonasschnelli commented at 6:50 PM on September 27, 2016: contributor

    What about the nPowTargetSpacing change? My understanding is, that once we have the headers-only-chain complete, we can give an adequate information about the remaining amount of blocks.

  24. MarcoFalke commented at 7:08 PM on September 27, 2016: member

    @jonasschnelli: As I understand your code, the gui may miss headers sometimes, so you added the "fHeaders-shortcut" to make sure the gui always knows the best header. Though, it seems a waste of resources to do this the way it is now: First, lock cs_main for each header, then drop the header if it is older than 30 days... This seems wasteful to me.

    I don't think we should assume the gui knows the best header at all time. Thus, I removed the "fHeader-shortcut" in #8821. Please have a look at #8821 to see if it makes sense, we/I can do the gui polish in a later pull next month. The unresponsive gui is more important to fix now.

  25. jonasschnelli commented at 7:11 PM on September 27, 2016: contributor

    Yes. I think #8821 makes sense. Will test soon.

  26. MarcoFalke 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-13 21:15 UTC

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