Skip Menu |

This queue is for tickets about the Tickit-Widget-Choice CPAN distribution.

Report information
The Basics
Id: 103397
Status: resolved
Priority: 0/
Queue: Tickit-Widget-Choice

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.01
Fixed in: 0.02



Subject: Disabling WIDGET_PEN_FROM_STYLE is no longer allowed
Test suite currently fails with: ... Disabling WIDGET_PEN_FROM_STYLE is no longer allowed (Tickit::Widget::Choice) at t/01choice.t line 17. t/01choice.t .. Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run ... Could be because of a change in Tickit::Widget 0.51 or so.
On 2015-04-08 17:34:59, SREZIC wrote: Show quoted text
> Test suite currently fails with: > > ... > Disabling WIDGET_PEN_FROM_STYLE is no longer allowed > (Tickit::Widget::Choice) at t/01choice.t line 17. > t/01choice.t .. > Dubious, test returned 255 (wstat 65280, 0xff00) > No subtests run > ... > > Could be because of a change in Tickit::Widget 0.51 or so.
To be more specific: it fails differently with PEVANS/Tickit-0.50.tar.gz and passes with PEVANS/Tickit-0.49.tar.gz
Patched. -- Paul Evans
Subject: rt103397.patch
=== modified file 'lib/Tickit/Widget/Choice.pm' --- lib/Tickit/Widget/Choice.pm 2014-12-02 00:02:45 +0000 +++ lib/Tickit/Widget/Choice.pm 2015-11-18 16:02:53 +0000 @@ -22,6 +22,7 @@ use List::Util qw( max ); +use constant WIDGET_PEN_FROM_STYLE => 1; use constant CAN_FOCUS => 1; =head1 NAME
Was fixed by 0.02 a few years ago but I forgot to close the bug -- Paul Evans