Bug 331047

Summary: Package manager: Qt GUI reacts slowly when browsing package groups
Product: [openSUSE] openSUSE 10.3 Reporter: Jiri Dluhos <jdluhos>
Component: YaST2Assignee: Michael Andres <ma>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P5 - None CC: ma
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jiri Dluhos 2007-10-05 11:27:51 UTC
When browsing packages in the 'Package Group' mode, the Qt GUI reacts quite slowly on selecting a package group in the list; the delay depends on the number of packages in the group. For largely populated groups, like "Productivity", there is a 1-2 seconds delay between clicking on the group title and the reaction of the GUI; this is quite annoying.

It would be helpful even to just change the cursor to the waiting hourglass while the package manager is pondering the package selection; this way the user would at least know that something is happening.
Comment 2 Stefan Hundhammer 2007-10-05 12:33:18 UTC
This seems to be yet another byproduct of the "lazy" package metadata loading strategy. For each package, its package group (RPM group) has to be checked against the currently selected group.

But AFAICS this should only affect the first click on any package group. Any subsequent clicks should be faster because then the data are fetched from memory, not from the database.

The UI would also go with an interator that simply only returns the packages that match a selected RPM group rather than iterating over all selectables.
Comment 3 Jiri Dluhos 2007-10-05 14:57:37 UTC
Unfortunately it seems to me that the response is still slow even when clicking on the same group a second time; at least half a second (on a pretty fast machine), which is still very perceptible. :-(

Comment 4 Michael Andres 2008-06-27 15:17:23 UTC
Metadata retrieval in 11.0 is faster, so should be the ui.