Bug 446508

Summary: Unexplained what should happen when switching dialog tabs in DialogTree
Product: [openSUSE] openSUSE 11.1 Reporter: Johannes Meixner <jsmeix>
Component: UsabilityAssignee: Martin Schmidkunz <mschmidkunz>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Factory   
Target Milestone: ---   
Hardware: All   
OS: SUSE Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Johannes Meixner 2008-11-19 11:22:20 UTC
In the YaST style guide
http://en.opensuse.org/YaST/Style_Guide
it is unexplained what should happen when the user
switches between different dialog tabs in a DialogTree.

A DialogTree shows a list of dialog tabs at the left, see
http://en.opensuse.org/Image:Printer_mschmidkunz_rc2_overview_all.png
and when the user clicks on a list entry the matching
dialog tab shows up.

It is unexplained what should happen when there have been
changes of the values in the current dialog tab
and now the user does a dialog tab switch
by clicking on another list entry in the list
of dialog tabs at the left.

Should the dialog tab switch silently discard changes
in the old tab (i.e. should the dialog tab switch have
a "Cancel" funcionality regarding the old dialog tab)
or
should the changed values be silently stored/applied
to the system (i.e. should the dialog tab switch have
a "O.K." funcionality regarding the old dialog tab)
or
should there be no silent "Cancel" or "O.K." at all
but there should be a confirmation popup what to do
(i.e. ask the user whether to discard or save/apply them)
if values have been chnged in the old tab?

Because I do not like any "silent intelligence" in YaST
I recommend to ask the user what to do.
Comment 1 Martin Schmidkunz 2008-11-21 09:59:15 UTC
The switching behavior between the various branches is the same as between various tabs. This means that the changed valued are stored somewhere (which would be something like an "OK").
If the developer thinks, that this behavior leads to potential destructive consequences he might include a pop up, which has to be confirmed by the user.

Comment 2 Johannes Meixner 2008-11-21 11:09:16 UTC
Is it really FIXED?

I do not find in the YaST style guide
http://en.opensuse.org/YaST/Style_Guide
where it is described what you wrote in comment #1.
Comment 3 Martin Schmidkunz 2008-11-21 14:30:42 UTC
Fixed in http://en.opensuse.org/YaST/Style_Guide#Dialog_Elements_AKA_Controls
now :-)