Red Hat Bugzilla – Bug 490340
yumex UI doesn't get drawn when a networking op. is in progress
Last modified: 2009-03-16 04:53:40 EDT
Description of problem:
The GUI doesn't get updated/redrawn when yumex is downloading the repo. description file or when downloading a given package. The symptom I'm trying to describe is just like yumex is using a blocking network operations (send/receive) in the same code path of the GUI event processing and drawing code. Any delay caused by a blocking receive() operation will lead to the GUI to stop responding and not being redrawn for a while. It's very a annoying behavior for a modern application.
Version-Release number of selected component (if applicable):
Just watch it in action. Try resizing the frame while yumex is downloading the repo. specs and downloading packages.
Steps to Reproduce:
I it a known problem, the yumex gui get refreshed everytime there is some callback from the yum backend, and in some cases the callbacks are not frequent enough, so the gui looks frozen for a period of time, but it always wake up again :)
I work on it in a future version of yum, but it is a total rewrite, so it is in an very easy state, so it will take a while to get it done.
I close the bug, because it cant be fix in the current yumex codestream.
Is it possible to place all the yum backend processing in a separate thread? Good to know that a newer version is coming along!