Skip to content

Some issues discovered with whiptail output (BMC tested: smaller screen) #1237

@tlaurion

Description

@tlaurion

Some tests conducted on https://github.com/osresearch/heads/tree/1cb0324a12aa4aec01287142c76b5a41ed51a2cb

Whiptail can fixate (optional) the size of its windows with calls of Height x Width.
As of now on master, it's 30 x 90, where 90 is too wide for BMC output. This causes some issues.
Also, some output is considered to be of a static height, causing issues as well.

It is understandable to want to have fixated Height x Width to have consistent UX through menus, but that should not cause bogus output.


Main menu (gui-init's show_main_menu function):

30x90
2022-11-08-133047

30x80
2022-11-08-150634

20x80:
2022-11-08-144920

0x80:
2022-11-08-150908

0x0
2022-11-08-150808


Some menus just don't show properly without proper selections, as seen above, but also can hide option boxes:

Here, tampered with a single kexec_hashes.txt entree and selecting default boot option.
This happens under gui-init's verify_global_hashes:

30x90:
2022-11-08-151802

30x80:
2022-11-08-151445

20x80:
2022-11-08-151940

0x80
2022-11-08-152047

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions