https://bugzilla.novell.com/show_bug.cgi?id=413516 User coyli@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=413516#c398498 Summary: Wizard::HideBackButton() always hides BackButton in ncurse interface Product: openSUSE 11.0 Version: Final Platform: i586 OS/Version: openSUSE 11.0 Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: coyli@novell.com QAContact: jsrain@novell.com Found By: Development Here is what I expected, 1) on overview page, BackButton should be hiden by calling Wizard::HideBackButton(). Because on top level page, AbortButton can be same effect as BackButton. Wizard::SetContentsButtons(caption, contents, HELPS["Status_help"]:"", Label::BackButton(), Label::FinishButton()); Wizard::HideBackButton(); 2) if user switch to other second level page, BackButton should be there. This time without hiding BackButton: Wizard::SetContentsButtons(caption, contents, HELPS["Defaults_help"]:"", Label::BackButton(), Label::OKButton()); The code works correctly on gtk or qt interface, but incorrectly on ncurse interface. In ncurse interface, if Wizard::HideBackButton() gets called, the BackButton will always be hiden, unless another Wizard::RestoreBackButton() gets called. This is what I encountered during fix #398498 for yast2-multipath. In the new checked in code, the incorrect behavior of Wizard::HideBackButton() can be observed in ncurse interface. -- 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.