Choose a new fanart, poster and if the server doesn't respond the GUI will freeze...
#2
jmarshall Wrote:
topfs2 Wrote:Problem: Choose a new fanart, poster and if the server doesn't respond the GUI will freeze. Even if the server responds, the GUI will freeze until server responds.
Solution: Don't download, even how small, in GUI thread. Use a job and make it cancelable and show in GUI (popup? or busy icon in skin?) that we are busy.

Hmm, this shouldn't be the case as far as I'm aware - no download is done at all so everything is done off app thread. Could it perhaps be the filebrowser waiting for it's thumbloader to cancel? Some more info would be good. If it's the latter, then cancelling the thumbloader async might be a way to go (this may be non-trivial, as IIRC we grab a new instance of the filebrowser and delete it after the fact, but I *think* it'll be OK).
Reply


Messages In This Thread
RE: Choose a new fanart, poster and if the server doesn't respond the GUI will freeze... - by joebrady - 2013-01-24, 15:10
Logout Mark Read Team Forum Stats Members Help
Choose a new fanart, poster and if the server doesn't respond the GUI will freeze...0