On Friday 08 August 2008 12:40:03 Sebastian Moors wrote: > Hi! > > > > I didn't deactive it, but i suppose it was done because otherwise hydrogen > > would try > > to reach the hydrogen-music.org (or your selected) server each time the > > dialog is openened. > > This could hang for a while when you're working offline. > > > > I thought about caching the list some weeks ago, but this can confuse > > users. > > What are your thoughts about caching? Maybe its worth trying.. > > -Sebastian
You're right, it hangs when there's no connection. I hadn't thought about that. But if there isn't, and the user presses 'update', it hangs anyway... If there's an easy way to check if the connection is live (preferably some Qt helper function that works cross-platform) before updating I guess I'd prefer that. If we would cache the entries, I guess the cache would live in the Preferences object, which is IMO a big mess right now, and should be up for a rewrite / facelift sometime after the next release, right? If it's possible, I'd rather avoid doing anything with it before that... (the Preferences object that is) :-) - Jakob. > > On Fri, 8 Aug 2008 12:20:08 +0200, Jakob Lund <[EMAIL PROTECTED]> wrote: > > Hi > > > > > > > > Department of nitty gritty details: > > > > > > > > In the "import instrument" dialog there's a list of drumkits available > > for > > > download. There's also a button you can push to refresh the list. When > > the > > > dialog opens, you don't get to see the actual list until you press the > > > > update > > > > button. Why? > > > > > > > > In the dialog's code, the line > > > > > > > > // on_UpdateListBtn_clicked(); > > > > > > > > in the constructor indicates that someone decided that the list shouldn't > > > > > > > > update itself from the beginning (and hence commented the call out). What > > > > was > > > > the reason for this decision (if anyone can remember), and don't you all > > > > think > > > > we ought to revert it :-) > > > > > > > > See you > > > > - Jakob. > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Hydrogen-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
