gpredict icon indicating copy to clipboard operation
gpredict copied to clipboard

Run TLE update in its own thread

Open csete opened this issue 8 years ago • 5 comments

Currently the TLE update function runs in the main GUI thread and this can cause the GUI to freeze. TLE update should run in its own thread and report progress and status through appropriate channels.

csete avatar Jan 19 '17 21:01 csete

Alternatively, we could use async calls in GIO.

Local files could be specified using file:// and treated together with remote files. This could possibly reduce the amount of code we have.

csete avatar Jun 19 '17 16:06 csete

While looking at the code, it doesn't seem to have a way to set a specific proxy for g_file_copy(). if you don't mind ditching the application specific proxy setting it's working right now on my env.

I've asked about proxy on a forum and been suggested to use libsoup. Are you OK to add libsoup to dependencies?

This discussion might be interesting to read.

yashi avatar Dec 08 '20 12:12 yashi

Thanks for the heads-up. To be honest, I have been thinking about ditching the proxy setting anyway since I don't think anybody uses it (obviously, I can't know for sure, but I have never been able to test it).

I don't like the idea of adding a new dependency for this purpose. The advantage of using functions in Glib is that we could get rid of the libcurl dependency, but not if we would be replacing it with a new dependency :)

csete avatar Dec 10 '20 08:12 csete

Do you want to remove the proxy setting with v2.4? Would you mind creating an issue for it?

yashi avatar Dec 12 '20 05:12 yashi

Do you want to remove the proxy setting with v2.4? Would you mind creating an issue for it?

I have created an issue for it (#243) and I have sent out inquiries to see if anyone needs support for proxy servers.

csete avatar Dec 19 '20 14:12 csete