Progress dialog not working

bug

#1

some time showing progress dialog and some time not showing progress dialog plz fix it


#2

This is not very clear sometimes. I can only think that it may be a timing problem. During initialize the app is doing a lot of things. Maybe use a clock say 2 tenth of a second after initialize, put the progessdialog in there, and see if that helps.


#3

but in other appinverter site working perfectly


#4

And that should mean? All builders are much to different just to compare them.


#5

Maybe use the showprogressdialog block first in Screen3.Initialize.


#6

I tried but not working , I think in appybuilder bugs, so appybuilder team shoud fix it @AppyBuilder


#7

Post a as small as possible aia here that shows your problem.


#8

What is not working? The show or the dismiss?


#9

the show is not working


#10

Try to change the positions in Screen initialized
Call show Dialog first and then the rest
Maybe it works?

Edit: I see right now, Ken has already suggested that. Oops. :wink:


#11

I already change the postion but not working :disappointed_relieved:


#12

What if you disable the two Webviewer blocks for a short time and try it if the Progress is showing?
I can’t believe that such simple blocks not work.


#13

I see you are changing the HomeURL to get start value.
Maybe the Dialog is being dismissed prematurely.
Maybe you should add an if statement to OnLoadingFinished:
If url = get start value then DismissProgressDialog


#14

I have rebuild your blocks. And it works fine! NO BUGS! :wink:
But, if you have a fast internet connection the website is show before the dialog can see.
In my aia the dialog is visible for a tenth of a second.
And if you try it a second time, the site comes from the cache. The dialog is not visible!
If you want to show the progress dialog you have to work with the clock component.


#15

Try this:
Add a clock, disable TimerAllways Fires and TimerEnabled, set the TimerInterval to 1000
Change to the blocks editor and do this:

example

3 seconds after complete download the progress dialog is dismissed.


#16

No I have not fast internet connection😄

I have already said in this post that it works perfrctly sometimes


#17

A program does not work as it pleases.
Have you rebuilt my suggestion?


#18

If you want to see my aia then I can send you, my aia @Peter @Ken @TF101


#19

Have you rebuild the solution @TF101 gave you?