Bug 490176

Summary: Qt packager does not honor the required mode (view), e.g. `summaryMode option doesn't work
Product: [openSUSE] openSUSE 11.2 Reporter: Ladislav Slezák <lslezak>
Component: YaST2Assignee: Thomas Göttlicher <tgoettlicher>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: tgoettlicher
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ladislav Slezák 2009-03-30 13:19:55 UTC
(This is reported against the current yast built from the SVN repository.)

The Qt packager widget saves and restores the tabs now, that's a nice feature.

The problem is that it's impossible to set the current tab from YCP script, the last used tab is always preselected at the beginning.

E.g. `PackageSelector(`id(`packages), `summaryMode, "") doesn't work properly, YCP scripts cannot force a particular view. This is important e.g. for bug 465194 and more places are affected.

I think the packager widget should restore the tabs and set the required tab as the current. If there is no preferred tab (no mode option passed) the widget should select the last one used. (This will require a small change in sw_single.ycp, it always sets the mode.)
Comment 1 Thomas Göttlicher 2009-04-03 14:00:57 UTC
Fixed in trunk. yast2-qt 2.18.7 will contain this fix.