> > Sometimes the loading of the contents in the objecttree's tabs takes a
> > long time, i.e. when retrieving the contents of a complex database view.
> > So I've thought about a dialog that gives the user feedback about the
> > query taking place.
> >
> > If there's no dialog, the user can very likely produce a queue of queries
> > with no feedback by clicking several tabs in the objecttree very fast one
> > after another.
>
> It's a nice idea. I've seen novice users stumble upon this before.
> One suggestion I have would be to not dispose of the dialog until the
> end of ContentsTab.createDataSet(); in a finally block as you did
> before. Otherwise, the dialog displays for a second then I see
> nothing for another 3-4 seconds and finally the data is loaded. This
> might be an edge case as my setup is a local database with ~15K rows
> and I was displaying them all. Maybe we could get an animated gif
> graphic with turning wheels or something.
Yes, that would be very nice. I thought of a never ending progress bar...
I will try to move the dialog hiding after the whole creation of the data set.
Another issue is that the dialog is not forced in front of the session
window. So if you click into the session window, the dialog gets behind it.
I'll see how I can prevent this.
Greetings,
Thorsten
|