Bug 490340 - yumex UI doesn't get drawn when a networking op. is in progress
Summary: yumex UI doesn't get drawn when a networking op. is in progress
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yumex
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tim Lauridsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-15 13:59 UTC by Ilyes Gouta
Modified: 2009-03-16 08:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-16 08:15:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ilyes Gouta 2009-03-15 13:59:00 UTC
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):

Yumex: 2.0.5

How reproducible:

Just watch it in action. Try resizing the frame while yumex is downloading the repo. specs and downloading packages.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Tim Lauridsen 2009-03-16 08:15:22 UTC
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.

Comment 2 Ilyes Gouta 2009-03-16 08:53:40 UTC
Is it possible to place all the yum backend processing in a separate thread? Good to know that a newer version is coming along!

Regards,
Ilyes Gouta.


Note You need to log in before you can comment on or make changes to this bug.