Bug 343870

Summary: yast "software repositories" keys issue
Product: [openSUSE] openSUSE 10.3 Reporter: Forgotten User tAfYx3p_c_ <forgotten_tAfYx3p_c_>
Component: YaST2Assignee: Katarina Machalkova <kmachalkova>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: 64bit   
OS: openSUSE 10.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User tAfYx3p_c_ 2007-11-24 11:08:14 UTC
After updating YaST from OpenSUSE Factory the "Software repositories" module became kinda unusable.
I can't select the repository because every time I press down or up arrow key, focus jumps to the "Finish" button.

yast2-ncurses 2.16.2-2, yast2 2.16.11-3

Let me know if you need any debug info.
Comment 1 Katarina Machalkova 2007-12-03 14:49:13 UTC
Not-so-obvious reason of this bug: the focus moved to dialog's default button each time dialog layout has been recalculated. Repositories module uses UI::ReplaceWidget builtin which triggers the recalculation, thus the bug appears. 

The issue should be fixed in yast2-ncurses 2.16.4, however (probably due to memory corruption) setting dialog's default button has been disabled now. I'm leaving the bug open to somehow settle this issue as well.
Comment 2 Katarina Machalkova 2007-12-05 10:22:18 UTC
Default buttons now work as well. yast2-ncurses 2.16.5
Comment 3 Forgotten User tAfYx3p_c_ 2007-12-05 10:33:29 UTC
Thanks a lot!
Comment 4 Forgotten User tAfYx3p_c_ 2007-12-06 19:24:32 UTC
Sorry, I have to reopen the report.

The issue is bit different, but is really close to the previous one.
Steps to reproduce:
- open "Software repositories" module in yast-ncurses;
- force refresh of a repository with Ctrl-S;
- ok, the repos is up to date;
- BUT focus is now on the last repository in the list and whatever I do, I can't change it using Up/Down keys - it's stuck on the last element.

The issue is 100% reproducible, so there is some problem with the focus again..
I'm using yast-ncurses 2.16.4-2 from Factory.
Comment 5 Katarina Machalkova 2007-12-10 13:07:57 UTC
Reproduced, but it's entirely different bug :)
Comment 6 Forgotten User tAfYx3p_c_ 2007-12-10 14:53:37 UTC
Do you want me to close this report and file another one?
Comment 7 Katarina Machalkova 2007-12-10 15:06:25 UTC
No, it still matches the summary. I hate bugs :(
Comment 8 Katarina Machalkova 2007-12-17 15:27:38 UTC
Changing table content did not work correctly because of static int variable used for indexing table items
Fixed in yast2-ncurses 2.16.7