Bug 439807

Summary: software repositories: make the dialog friendly for low-res screen
Product: [openSUSE] openSUSE 11.1 Reporter: macias - <bluedzins>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P4 - Low CC: dmacvicar, tgoettlicher
Version: Beta 3   
Target Milestone: ---   
Hardware: i586   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: SR dialog
Screen shot: Current status if resized too small

Description macias - 2008-10-29 11:28:17 UTC
Currently SR dialog uses some odd way to display information.

1) the title of the window is designed to display title -- not the label below; preserve the space, use the title of the window

2) do not resize buttons because certainly you end up having 1 pixel height buttons -- resize panes

Ss follows to show how strange the dialog looks like.
Comment 1 macias - 2008-10-29 11:29:23 UTC
Created attachment 248568 [details]
SR dialog
Comment 2 Thomas Göttlicher 2008-10-29 14:08:43 UTC
When I look at the screenshot I wonder whether it makes sense to use a tree widget to select repos or services. Using tabs would save a lot of space.
Comment 3 macias - 2008-10-29 14:50:29 UTC
I vote for that!
Comment 4 Stefan Hundhammer 2008-10-29 15:20:21 UTC
AFAICS the behaviour changed in the meantime: The wizard navigation buttons ([Cancel] [Back] [OK] - uh - why do we have [Back] there anyway?) retain their size, but the module-specific buttons [Add] [Edit] [Delete] ... are getting too small.

This layout could be optimized some more for that pathological "much-too-small" resize case: Give the layout box containing the table a VWeight(1) to lower its layout priority, also the layout box containing the frame (that shouldn't be there anyway), also the layout box or replace point containing the rich text widget.

YDialogSpy (Ctrl-Shift-Alt-Y) shows that there are quite some widgets in the layout that could be removed or simplified (use MarginBox instead of multiple layers of VBox/HBox with VSpacings/HSpacings everywhere).

Lada, please notify me if you need assistance for that.
Comment 5 Stefan Hundhammer 2008-10-29 15:21:57 UTC
Created attachment 248618 [details]
Screen shot: Current status if resized too small
Comment 6 Ladislav Slezák 2008-10-29 15:32:49 UTC
The problem with the tree widget is already reported in bug #433857, here I'll focus on the layout problem mentioned in comment #4.
Comment 7 Ladislav Slezák 2008-12-31 10:53:30 UTC
The problem with too small buttons has been fixed in Yast SVN trunk (openSUSE-11.2)
Comment 8 Ladislav Slezák 2009-01-13 13:56:47 UTC
Submitted in yast2-packager-2.18.0. (openSUSE-11.2)