Bug 561337

Summary: In yast2-ncurses software managment, selection state of auto-selected packages is not shown correctly
Product: [openSUSE] openSUSE 11.2 Reporter: Martin Köhling <mk>
Component: YaST2Assignee: Katarina Machalkova <kmachalkova>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: gs, mk
Version: Final   
Target Milestone: Future 11.3   
Hardware: i586   
OS: openSUSE 11.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2logs, created just after running the example case again

Description Martin Köhling 2009-12-07 14:05:39 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5

When selecting a package in the software manager using the NCURSES interface, if additional packages are autoselected due to dependencies, the new state of these packages is not immediatly visible; only after "rebuilding" the package list (by doing a search, changing the filter..), the new state becomes visible.

This problem doesn't appear with thne QT interface; it wasn't present in the openSUSE 11.1 NCURSES interface either.


Reproducible: Always

Steps to Reproduce:
1 start the software manager from "yast --ncurses"
2 search for "emacs"
3 select "xemacs-info"
4 "xemacs-packages-info" will be autoselected, but this is not visible yet
5 search for "emacs" again
6 "xemacs-packages-info" is now visibly selected
Comment 1 Shuang Qiu 2009-12-08 06:10:31 UTC
Could you please attach y2logs according to http://en.opensuse.org/Bugs/YaST.
Thanks.
Comment 2 Martin Köhling 2009-12-08 12:31:30 UTC
Created attachment 331548 [details]
y2logs, created just after running the example case again
Comment 3 Katarina Machalkova 2009-12-14 17:49:39 UTC
Ouch, you are right. There's a forgotten line of code that erroneously redefines index variable locally, thus only affected line of the table gets updated. 

Fixed with one-liner patch. Use YaST:Head OBS repo [1] if you want to make use of the fix in 11.2 already.

[1] http://download.opensuse.org/repositories/YaST:/Head/openSUSE_11.2
Comment 4 Martin Köhling 2009-12-15 15:25:30 UTC
After installation of yast2-ncurses-pkg-2.19.0-4.1.i586 from that repo, the bug is gone - thanks!
Comment 5 Martin Köhling 2010-04-09 13:22:34 UTC
While manually installing the package from Head/openSUSE_11.2 fixed the problem, it isn't fixed in the official update repo; is this intentional?
I'd thought that adding a (apparently trivial) one-line-patch shouldn't be much of a problem, wrt to testing&QA...
Comment 6 Gabriele Mohr 2010-04-13 11:56:30 UTC
Updates are released only for major/critical problems (e.g. data loss, security issues). Target Milestone for Fix is "Future 11.3".