http://bugzilla.suse.com/show_bug.cgi?id=973590
Bug ID: 973590 Summary: weird layout of bootloader screen Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: dmueller@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: ---
While updating the openQA needle for openSUSE on AArch64 people noted that the "indentation" of the items in the ncurses ui looks slightly awkward.
Is it intended that there is this huge empty space at the top left corner?
http://bugzilla.suse.com/show_bug.cgi?id=973590 http://bugzilla.suse.com/show_bug.cgi?id=973590#c1
--- Comment #1 from Dirk Mueller dmueller@suse.com --- Created attachment 671276 --> http://bugzilla.suse.com/attachment.cgi?id=671276&action=edit Screenshot
http://bugzilla.suse.com/show_bug.cgi?id=973590
Imobach Gonzalez Sosa igonzalezsosa@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |igonzalezsosa@suse.com, | |mvidner@suse.com Flags| |needinfo?(mvidner@suse.com)
http://bugzilla.suse.com/show_bug.cgi?id=973590 http://bugzilla.suse.com/show_bug.cgi?id=973590#c3
--- Comment #3 from Martin Vidner mvidner@suse.com --- Created attachment 672620 --> http://bugzilla.suse.com/attachment.cgi?id=672620&action=edit screenshot: options for grub2
http://bugzilla.suse.com/show_bug.cgi?id=973590 http://bugzilla.suse.com/show_bug.cgi?id=973590#c4
--- Comment #4 from Martin Vidner mvidner@suse.com --- Created attachment 672621 --> http://bugzilla.suse.com/attachment.cgi?id=672621&action=edit screenshot: options for grub2-efi
http://bugzilla.suse.com/show_bug.cgi?id=973590 http://bugzilla.suse.com/show_bug.cgi?id=973590#c5
Martin Vidner mvidner@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jreidinger@suse.com Flags|needinfo?(mvidner@suse.com) |needinfo?(jreidinger@suse.c | |om)
--- Comment #5 from Martin Vidner mvidner@suse.com --- As we can see on the screenshots, on other architectures/bootloaders that space is occupied by various options. But I don't understand either why some of them are to the right of the Boot Loader combo and some are below it.
One option is to replace the missing option frame to the right with a HStretch so that the ComboBox is aligned left, another option is also to move the [missing] option frame *below* the combo.
Josef, can you please explain this?
http://bugzilla.suse.com/show_bug.cgi?id=973590 http://bugzilla.suse.com/show_bug.cgi?id=973590#c6
Josef Reidinger jreidinger@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(jreidinger@suse.c | |om) |
--- Comment #6 from Josef Reidinger jreidinger@suse.com --- Well, original intention that is in bootloader for ages is that it replace all widgets which is not applicable by Empty, so on all archs position of same config should be on identical places and there are some gaps. Of course it can be improved, but I really suggest to ask designer regarding this design, so we do not change it next time when someone find it strange.
http://bugzilla.suse.com/show_bug.cgi?id=973590 http://bugzilla.suse.com/show_bug.cgi?id=973590#c7
Imobach Gonzalez Sosa igonzalezsosa@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kwimmer@suse.com Flags| |needinfo?(kwimmer@suse.com)
--- Comment #7 from Imobach Gonzalez Sosa igonzalezsosa@suse.com --- Ken, please, could you have a look?
http://bugzilla.suse.com/show_bug.cgi?id=973590 http://bugzilla.suse.com/show_bug.cgi?id=973590#c8
--- Comment #8 from Ladislav Slezák lslezak@suse.com --- (In reply to Josef Reidinger from comment #6)
Well, original intention that is in bootloader for ages is that it replace all widgets which is not applicable by Empty, so on all archs position of same config should be on identical places and there are some gaps.
Yes, that makes sense, but in this case the placement is NOT identical.
Here with some options the bootloader type is on the left: https://bugzilla.suse.com/attachment.cgi?id=672621
Without any option on aarch64 the bootloader type is centered: https://bugzilla.suse.com/attachment.cgi?id=671276
If we want to have the identical place the bootloader type selection should be on the left side also on aarch64.
http://bugzilla.suse.com/show_bug.cgi?id=973590
Ladislav Slezák lslezak@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium
http://bugzilla.suse.com/show_bug.cgi?id=973590
Ladislav Slezák lslezak@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|yast2-maintainers@suse.de |yast-internal@suse.de
http://bugzilla.suse.com/show_bug.cgi?id=973590 http://bugzilla.suse.com/show_bug.cgi?id=973590#c9
Steffen Winterfeldt snwint@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hguo@suse.com
--- Comment #9 from Steffen Winterfeldt snwint@suse.com --- *** Bug 998535 has been marked as a duplicate of this bug. ***
http://bugzilla.suse.com/show_bug.cgi?id=973590 http://bugzilla.suse.com/show_bug.cgi?id=973590#c10
Josef Reidinger jreidinger@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |per@computer.org
--- Comment #10 from Josef Reidinger jreidinger@suse.com --- *** Bug 992513 has been marked as a duplicate of this bug. ***
https://bugzilla.suse.com/show_bug.cgi?id=973590 https://bugzilla.suse.com/show_bug.cgi?id=973590#c11
Stefan Hundhammer shundhammer@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(kent.wimmer@suse. | |com) |
--- Comment #11 from Stefan Hundhammer shundhammer@suse.com --- (In reply to Ladislav Slez�k from comment #8)
Yes, that makes sense, but in this case the placement is NOT identical.
Here with some options the bootloader type is on the left: https://bugzilla.suse.com/attachment.cgi?id=672621
Without any option on aarch64 the bootloader type is centered: https://bugzilla.suse.com/attachment.cgi?id=671276
I assume this is in a VBox, and this is one row of that VBox. Probably that row is also a separate HBox.
If there is only one widget in a VBox row, it will be horizontally centered if the widget is not stretchable, and if it is, it will be stretched to take up the complete width.
So if it's a HBox, the HBox is stretchable if any of its children is stretchable. If none of them is stretchable, the HBox is also not stretchable; so its parent VBox will horizontally center it.
I guess that is what happened here: By default (unless given the hstretchable option), it is not stretchable. If there is still another widget in that HBox that is stretchable, that one will make the whole row stretch, and the stretchable widget(s) will get the excess space in the horizontal dimension, i.e. those stretchable widgets will become wider.
But if there is none that could take up the excess width, rather than artificially blowing up the combo box (which would also look bad), it remains as wide as it is, so its HBox parent remains as wide as it is, so that whole HBox is centered.
That is a general principle of how our layout widgets (VBox and HBox) work.
https://bugzilla.suse.com/show_bug.cgi?id=973590 https://bugzilla.suse.com/show_bug.cgi?id=973590#c12
Stefan Hundhammer shundhammer@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX
--- Comment #12 from Stefan Hundhammer shundhammer@suse.com --- Since this is only a cosmetic problem, and there was no fix during the 6 years since it was reported, it's unrealistic that this will be addressed anytime soon.
Closing.