Skip Menu |

This queue is for tickets about the UI-Dialog CPAN distribution.

Report information
The Basics
Id: 111429
Status: resolved
Priority: 0/
Queue: UI-Dialog

People
Owner: kevin [...] krinke.ca
Requestors: pukku [...] mac.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.13



Subject: Checklists showing everything twice
Date: Mon, 25 Jan 2016 22:34:30 -0500
To: bug-UI-Dialog [...] rt.cpan.org
From: Richard Morse <pukku [...] mac.com>
Hi! Using UI::Dialog 1.12, Perl 5.18.4, and dialog 1.2-20150920 (from homebrew) on Mac OS X 10.10.5, I found that items in a checklist are shown twice. Here is an example program that illustrates the problem: #!/usr/bin/env perl use strict; use warnings; use UI::Dialog; my $d = UI::Dialog->new(); my @items = $d->checklist( 'text' => 'Test:', 'list' => [ 'a1' => [ 'a1', 0 ], 'a2' => [ 'a2', 0 ], ] ); print join(", " => @items), "\n”; When I run this program, I see a checklist which looks like this: [ ] a1 a1 [ ] a2 a2 [ ] a1 a1 [ ] a2 a2 Further, if I select an item from both instances (ie, both a1s, etc.), it shows up in the returned array twice. Thanks, Ricky
Thanks for the pull-req on Github[1]! Branch merged. Will close this issue once 1.13 is released. Cheers and thanks again! My best, Kevin [1] https://github.com/kckrinke/UI-Dialog/pull/10
On Tue Jan 26 20:36:57 2016, KCK wrote: Show quoted text
> Thanks for the pull-req on Github[1]! > > Branch merged. Will close this issue once 1.13 is released. > > Cheers and thanks again! > > My best, > Kevin > > [1] https://github.com/kckrinke/UI-Dialog/pull/10
-- Kevin C. Krinke <kevin@krinke.ca> GPG Key: http://bit.ly/1eXz4W8