Page MenuHomeFreeBSD

bsdinstall: restore time selection screen
ClosedPublic

Authored by yuripv on Apr 11 2021, 10:36 PM.
Tags
None
Referenced Files
F115284183: D29720.diff
Tue, Apr 22, 5:51 AM
Unknown Object (File)
Fri, Mar 28, 12:50 PM
Unknown Object (File)
Mar 21 2025, 8:23 AM
Unknown Object (File)
Mar 15 2025, 8:51 PM
Unknown Object (File)
Mar 15 2025, 2:43 PM
Unknown Object (File)
Mar 14 2025, 9:25 AM
Unknown Object (File)
Mar 5 2025, 12:33 PM
Unknown Object (File)
Feb 25 2025, 12:43 AM
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 Skipped
Unit
Tests Skipped

Event Timeline

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