Bug 268352

Summary: NCCheckBoxFrame with `opt(`invertAutoEnable) does not disable its childs in the first run
Product: [openSUSE] openSUSE 10.3 Reporter: Katarina Machalkova <kmachalkova>
Component: YaST2Assignee: Gabriele Mohr <gs>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Katarina Machalkova 2007-04-26 09:47:24 UTC
Running HuHa's CheckBoxFrame2.ycp example from '/usr/share/doc/packages/yast2-core/libyui/examples'. This CheckBoxFrame has `opt(`invertAutoEnable) set, so unchecking the check box should enable the child widgets, and checking it should disable them.
 
When the dialog appears, I would expect that all child widgets will be disabled, just like in Qt. But they are something in between - neither enabled, nor disabled :-)
When one unchecks the box, widgets get enabled, after checking it, they get correctly disabled, it just does not work in the first run, right after the CheckBoxFrame is created (a missing setEnabling() call in constructor?)

At first I thought that it is my (not yet submitted) patch for bug #256707 that brings about this issue, but it is not, it works this way even without the patch
Comment 1 Gabriele Mohr 2007-05-15 11:35:21 UTC
The bug is fixed with yast2-ncurses-2.15.16.