Created attachment 1177513 [details] Whiptail does not allocate good space for tag and strings Description of problem: Whiptail fails to allocate good space for tag and item strings in long strings Version-Release number of selected component (if applicable): newt-0.52.18-5.fc24.x86_64 How reproducible: Always Steps to Reproduce: The window size in the console: $ resize COLUMNS=100; LINES=37; export COLUMNS LINES; This command for whiptail does not show good strings: whiptail --backtitle 'TEST' --title 'TEST' --menu 'MODE' 0 0 0 \ runA 'RunA' \ runB 'RunB' \ runC 'RunC01234567890123456789012345678901234567890123456789012345678901234567890123456789012' \ 2> /tmp/output.txt However, if making the strings shorter, the result is good: whiptail --backtitle 'TEST' --title 'TEST' --menu 'MODE' 0 0 0 \ runA 'RunA' \ runB 'RunB' \ runC 'RunC0123456789012345678901234567890123456789012345678901234567890123456789012345678901' \ 2> /tmp/output.txt Actual results: Attached as w-notok.png and w-ok.png. Expected results: Additional info:
Created attachment 1177514 [details] Whiptail allocates good space for tag and strings
Created attachment 1177515 [details] [Update] Whiptail allocates good space for tag and strings
Expected results: When longer strings, whiptail should cut the strings tail and make it look like the other one. Now it put more space between "tag" and "item strings". My 2 cents. Thanks. Steven
Thanks for the report. This should be now fixed in upstream git and it will get to Fedora when the next release is made. https://git.fedorahosted.org/cgit/newt.git/commit/?id=10bbfd2837eb5ad87416ed2a648231a2a9b7c6fc
newt-0.52.20-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8cabee1dba
newt-0.52.20-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-8cabee1dba
newt-0.52.20-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.