[Bug 785307] New: libyui ncurses: nested CheckBoxFrames are falsely activated
https://bugzilla.novell.com/show_bug.cgi?id=785307 https://bugzilla.novell.com/show_bug.cgi?id=785307#c0 Summary: libyui ncurses: nested CheckBoxFrames are falsely activated Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: YaST2 AssignedTo: gs@suse.com ReportedBy: jdsn@suse.com QAContact: jsrain@suse.com CC: tgoettlicher@suse.com Found By: Development Blocker: --- Assume we have a ycp dialog with nested CheckBoxFrames (like in the small reproducer below), which are all disabled at the start. When the outer CheckBoxFrame (A) is enabled all inner elements become active. But also the elements inside the inner CheckBoxFrame (B) become active, which is not wanted. Jumping with TAB to the CheckBoxFrame (B) (not clicking on it), disables its inner elements again. Jumping back with TAB reenables its inner elements. This behaviour in ncurses mode is unintuitive, misleading and not consistent with the qt and qtk UIs. With both other UIs the elements of a nested CheckBoxFrame remain disabled. { term nestedCheckboxFrame = `VBox( `CheckBoxFrame( `id(`foo), "Selection A", false, `VBox( `CheckBox("Enable Foo"), `HBox( `HSpacing(2), `Left (`CheckBoxFrame( `id(`bar), "Selection B", false, `VBox(`CheckBox("Enable Bar"), `SelectionBox(`id(`sel), "Select", ["Foo", "Bar", "Baz"]) ) )) ) ) ), `PushButton(`id(`ok), "OK") ); UI::OpenDialog(nestedCheckboxFrame); UI::UserInput(); UI::CloseDialog(); } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=785307 https://bugzilla.novell.com/show_bug.cgi?id=785307#c Gabriele Mohr <gs@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=785307 https://bugzilla.novell.com/show_bug.cgi?id=785307#c1 Gabriele Mohr <gs@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #1 from Gabriele Mohr <gs@suse.com> 2012-10-18 09:25:53 UTC --- The bug-fix will be available in libyui-ncurses-2.43.1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com