On Thu, Sep 10, 2015 at 07:13:14PM +0300, Lubomir I. Ivanov wrote: > On 10 September 2015 at 19:09, Dirk Hohndel <d...@hohndel.org> wrote: > > On Thu, Sep 10, 2015 at 06:57:26PM +0300, Lubomir I. Ivanov wrote: > >> On 10 September 2015 at 18:33, Dirk Hohndel <d...@hohndel.org> wrote: > >> > On Thu, Sep 10, 2015 at 12:49:14PM +0300, Lubomir I. Ivanov wrote: > >> >> at least i can do some testing here. > >> >> > >> >> i'm able to show the progress bar it if i add this explicitly in > >> >> MainWindow::showProgressBar(): > >> >> progressDialog->show(); > >> >> but it stays at zero when doing "Open cloud storage". > >> > > >> > Just to make sure (in case this isn't obvious) - you will ONLY see the > >> > progress bar if you are actually talking to the remote server. If all you > >> > do is confirm that HEAD is the same and then read the local cache (which > >> > is the "normal" mode when you open cloud storage) you will never see the > >> > progress bar. > >> > > >> > >> ok, i see. > >> if i delete the cache it shows the progress bar. > > > > Excellent. I wonder if one of the people who saw the spinner problem (more > > precisely the "I don't see the spinner"-problem) on Windows 10 could test > > this as well. Steve, Benjamin, Sander - can you see the progress dialog > > when you clear the cache or force anything else that requires network > > communication? > > > > BTW: In my testing it seems that the progress bar isn't shown on save > > operations... I'm trying to figure out what's up with that... > > > > i now realize what confused me is that the spinner was always visible > on open/save. > but the progress bar is only visible on actual data transfer and not > on mere server connections.
Yes, it only shows up when something happens that's potentially slow. I have now figured out why nothing was happening on save. There is yet another callback that I needed to hook up. But in my testing this one only ever reports 0% and 100% back - not very useful. I'll need to simulate a super slow connection and a very large file to see if this is an issue. /D _______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface