Bug 1215239 - whiptail --notags does not work for checklist
Summary: whiptail --notags does not work for checklist
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: newt
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-24 17:42 UTC by Chuck Liu
Modified: 2016-03-23 12:52 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-03-23 12:52:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Chuck Liu 2015-04-24 17:42:30 UTC
Description of problem:
In whiptail man page:
       --notags
              Don't display tags in the menu, checklist and radiolist widgets.
But in fact it doesn't work for checklist.

Version-Release number of selected component (if applicable):
All versions.

How reproducible:
Always.

Steps to Reproduce:
1. whiptail --title "checklist" --notags --checklist "test" $LINES 60 $((LINES-7)) "tag" "text" ON


Actual results:
Showed tag & text.

Expected results:
Text only.

Additional info:
In checkList function:

    snprintf(format, MAXFORMAT, "%%-%ds  %%s", maxWidth);
    for (i = 0; i < numBoxes; i++) {
	snprintf(buf, MAXBUF, format, cbInfo[i].tag, cbInfo[i].text);

The tag is always used. Didn't check for FLAG_NOTAGS.

Comment 1 Jan Kurik 2015-07-15 14:14:27 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 2 Miroslav Lichvar 2016-03-23 12:52:00 UTC
This is now fixed in the upstream git. It will be in newt-0.52.19.


Note You need to log in before you can comment on or make changes to this bug.