Bug 498267

Summary: YaST ncurses - shifting listing to see other columns runs very slow when list is large
Product: [openSUSE] openSUSE 11.1 Reporter: Forgotten User Xh41Ao4q6j <forgotten_Xh41Ao4q6j>
Component: YaST2Assignee: Katarina Machalkova <kmachalkova>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium CC: gs, jreidinger
Version: Final   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User Xh41Ao4q6j 2009-04-25 04:23:04 UTC
User-Agent:       Mozilla/5.0 (compatible; Konqueror/4.2; Linux) KHTML/4.2.2 (like Gecko) SUSE

YaST ncurses - shifting listing to right to see other columns runs very slow when list is large. It acts like it runs shift left, or right, on a whole list instead of displayed part only. 

Reproducible: Always

Steps to Reproduce:
1. ncurses Software management
2. create large list of results (few thousands), like by pressing Enter when  Search field is empty.
3. try to shift right to see columns that don't fit in display field 


Actual Results:  
It runs very slow. 
On 1.5 GHz/1.5 GB RAM computer it takes more then a second, for field that displays some 10 lines. 

Expected Results:  
Shift as fast as keyboard repeat rate allows.
Comment 1 Forgotten User Xh41Ao4q6j 2009-04-25 04:27:18 UTC
> more then a second 
per character, which means to get to the end it will take between 1 and 2 minutes.
Comment 2 Forgotten User Xh41Ao4q6j 2009-04-28 13:08:01 UTC
The test case is any large list. 
For instance Filter: Repositories > openSUSE-11.1-Oss

KDE 4.2.2 otherwise responsive.
Tested with Konsole -Xterm - Terminal (Ctrl-Alt-F2)

It takes between 4 - 5 seconds for 3 keystrokes to the right.
When I go from small Nvidia repo to Oss it needs 6s to show the list. 
TAB and Ctrl-B to go from repo list to package list needs between 1 and 2s, every time. 

Graphical interface this case runs fine.
Comment 3 Katarina Machalkova 2009-04-28 13:49:30 UTC
Taking this one, I know the fix ...
Comment 5 Katarina Machalkova 2009-05-06 12:06:10 UTC
Right/left scrolling should now perform much better (yast2-ncurses-pkg 2.18.2 )

Unfortunately, I'm not sure if anything can be done to reduce the time to show the big list - evaluating the query and populating the table simply takes its time.