Bug 713343

Summary: YaST ncurses help screen is too small
Product: [openSUSE] openSUSE 12.1 Reporter: Gerald Pfeifer <gp>
Component: YaST2Assignee: Gabriele Mohr <gs>
Status: VERIFIED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: jsmeix, jsuchome, tgoettlicher
Version: Factory   
Target Milestone: ---   
Hardware: All   
OS: Other   
Whiteboard:
Found By: Product Management Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Screenshot

Description Gerald Pfeifer 2011-08-21 16:20:37 UTC
Created attachment 446809 [details]
Screenshot

Invoking the help screen from within the YaST printer module when in text mode
(ncurses) leads to a pop up which is really too small and underutilizes the
screen estate that's available.


Might be good to address this for SLE 11 SP2 as well if the module is being
touched there.
Comment 1 Johannes Meixner 2011-09-13 09:45:25 UTC
The size of the help popup is not set in the code of the YaST printer module
so that I cannot fix it in the YaST printer module.

The size of the help popup is set somewhere in the base YaST system.

Therefore I am not the right assignee for such issues so that I
re-assign it back to the default assignee of YaST bugs.
Comment 2 Jiří Suchomel 2011-09-26 08:14:22 UTC
Thomas, any idea?

Should we make help window size adjustable? Or just wider by default (at least for nurses)?
Comment 3 Johannes Meixner 2011-09-27 07:04:44 UTC
Please not adjustable by the YaST modules because
I would not know to which value I should set it
so that I would use the defaults.

But adjustable by the user for nurses should help.

It seems the help window size is fixed for nurses
i.e. in ncurses it is the same size regardless
how big the base text terminal window (e.g. xterm) is.

Perhaps it is possible in ncurses to have a
help window size which is e.g. 80% of the size
of the base text terminal window?
Comment 4 Thomas Göttlicher 2011-10-06 11:51:13 UTC
This is yast2-ncurses related. Gabi could you please look into it?
Comment 5 Gabriele Mohr 2011-10-19 10:52:14 UTC
The size for help text popups in YaST modules comes from libyui (YDialog.cc), where it is set to 45, 15. 
I had a look at the code but I didn't find a possibility to get the size of the topmost dialog to be able to set the popup size related this size (e.g. 80% of the terminal window).
Thomas, could you have a look here?
Comment 6 Thomas Göttlicher 2011-11-16 13:07:39 UTC
This bug has been fixed in yast2-libyui version 2.21.2.