|
Bugzilla – Full Text Bug Listing |
| Summary: | Wizard::HideBackButton() always hides BackButton in ncurse interface | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Coly Yong Li <coyli> |
| Component: | YaST2 | Assignee: | Thomas Göttlicher <tgoettlicher> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Major | ||
| Priority: | P3 - Medium | ||
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | openSUSE 11.0 | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 398498 | ||
Fixed in svn r49766. The fix will be in version 2.17.10 of yast2. |
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.