Page MenuHomeFreeBSD

bsdinstall: restore time selection screen
ClosedPublic

Authored by yuripv on Apr 11 2021, 10:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 16, 7:30 PM
Unknown Object (File)
Wed, Oct 15, 3:18 AM
Unknown Object (File)
Mon, Oct 13, 6:53 AM
Unknown Object (File)
Sat, Oct 4, 8:32 PM
Unknown Object (File)
Mon, Sep 29, 9:02 PM
Unknown Object (File)
Sat, Sep 20, 4:05 PM
Unknown Object (File)
Aug 22 2025, 4:33 AM
Unknown Object (File)
Aug 20 2025, 6:41 PM
Subscribers
None

Details

Summary

Apparently new dialog does not like the height of 2 for the timebox widget, use 0 (minimum size) instead.

Do the same for calendar widget.

Test Plan

dialog --backtitle 'FreeBSD Installer' --title 'Time & Date' --ok-label 'Set Time' --cancel-label 'Skip' --defaultno --time-format '%H%M.%S' --timebox '' 2 40 -- does not work
dialog --backtitle 'FreeBSD Installer' --title 'Time & Date' --ok-label 'Set Time' --cancel-label 'Skip' --defaultno --time-format '%H%M.%S' --timebox '' 0 40 -- works

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

yuripv created this revision.
This revision is now accepted and ready to land.Apr 19 2021, 8:24 AM