Bug 31772 (suse16772) - Ncurses: missing standard function - no automatic refresh of a dependent selection list box
Summary: Ncurses: missing standard function - no automatic refresh of a dependent sele...
Status: RESOLVED FIXED
Alias: suse16772
Product: openSUSE 11.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Alpha 2
Hardware: i386 Linux
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Michal Zugec
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-28 16:39 UTC by Siegfried Olschner
Modified: 2008-02-29 09:54 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Siegfried Olschner 2002-06-28 16:39:33 UTC
Not sure who is the correct person for assignement: work for    
ma, sh or kkaempf?      
Missing of a standard function! No automatic refresh of a   
selection list that is depend on selection in another list.  
I think the old problem "yast ncurses does not know where it  
is".  
     
Example "Add new soundcard manually":      
Dialog shows two selection list boxes; at the left side the      
"vendor/device driver list" at the right side the "model      
list".      
In X11 environment the right list is up to date with      
click or move of selection in the list at the left     
side.      
Now the problem:     
In ncurses text mode there is no automatic refresh of the     
list at the right side. User has to use "Enter" or "Space" to 
get an updated list at the right side matching the content of 
the left list. 
Same behaviour is visible in printer setup. 
  
Due to the fact that there is a lot of criticism on the  
usabilty of text mode I set this bug to major. I'm sure this 
is not an enhancement. Klaus please correct this, if you want 
a different severity.
Comment 1 Michael Andres 2002-09-12 23:02:39 UTC
If we fix this, file selection dialog in ncurses breaks. It's not a problem of
ncurses, but the weak libyui protocol. 
Comment 3 Katarina Machalkova 2008-02-12 15:20:46 UTC
*cough* *cough*
Don't know, how things worked back in 8.1-pre, but now we have SelectionChanged UI event which makes UI::UserInput (ev. UI::WaitForEvent) return as soon as selected item in a SelectionBox changes. And yes, it is available for ncurses, too ;-)

Handling SelectionChanged event of left-hand list and consequent refresh of items in right-hand list must be done on YCP level in the respective module(s), just like e.g. text-mode menu (client/menu.ycp) does it. 
I'm afraid currently on Activated event is handled (thus, user must 'activate' the item by pressing Enter or Space, in GUI it is activated by mouse click), but don't know exactly, did not check the code. 

Reassigning to Lado (as this complaint is about sound module), Cc-ing Miso as it affects printers as well. And decreasing severity, as it was unresolved for almost 6 years, it certainly cannot be major ;-)
Comment 4 Ladislav Slezák 2008-02-25 13:47:34 UTC
The change in the sound module was really simple, it was sufficient to add `opt(`immediate) option to the `Selection widget.

Fixed in yast2-sound-2.16.3

Reassigning to Miso to fix the printer part...
Comment 5 Michal Zugec 2008-02-29 09:54:52 UTC
fixed in yast2-printer and yast2-network (providers)