linuxmint / mintinstall

Software Manager
143 stars 100 forks source link

Initialize application in a thread for a responsive GUI #413

Closed alexkuz closed 6 months ago

alexkuz commented 9 months ago

Right now installer initialization is blocking UI thread, so the window isn't even visible until initialization is finished (that can take several seconds). I moved it to a thread (not sure if that's the correct way to do it but seems to work fine) and made sure the search/refresh are disabled until everything is ready.

corbin-auriti commented 7 months ago

Great improvement to user experience with near instant window draw.

mtwebster commented 6 months ago

Merged: https://github.com/linuxmint/mintinstall/commit/15ee09a75a7f2eb351cbdcad19e4caf31409ec91

But see also: https://github.com/linuxmint/mintinstall/commit/f8072fa909a38652f147717f71b44fd9eebb7219

This second doesn't affect startup too much, and subsequent changes I've made improve startup time a bit more.