Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 116336
Status: open
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: jinnicky [...] bobsown.net
Cc:
AdminCc:

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



Subject: Tk::Entry dropping decimals sometimes
Date: Tue, 19 Jul 2016 21:32:19 -0400
To: bug-Tk [...] rt.cpan.org
From: Bob Ewart <jinnicky [...] bobsown.net>
Tk::Entry seems to be confusing Perl with dual valued variables. If you run the attached 'testtkdump' and hit enter a couple of times without changing any of the input values, it eventually produces a product of 308 (14 * 22) instead of 315 (14*22.5). Take a look at the attached output. Section 2 shows the wrong product. I tried the equivalent program in Tcl and python. Both worked. Thanks for taking a look at this -- Bob

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

On 2016-07-19 21:32:29, jinnicky@bobsown.net wrote: Show quoted text
> Tk::Entry seems to be confusing Perl with dual valued variables. If you > run the attached 'testtkdump' and hit enter a couple of times without > changing any of the input values, it eventually produces a product of > 308 (14 * 22) instead of 315 (14*22.5). > > Take a look at the attached output. Section 2 shows the wrong product. > > I tried the equivalent program in Tcl and python. Both worked. > > Thanks for taking a look at this >
I can reproduce it with 804.033, but not anymore with 804.034 (released yesterday). Looks like this is the same issue as https://rt.cpan.org/Ticket/Display.html?id=121528 Can you check if it is fixed for you, too?
Subject: Re: [rt.cpan.org #116336] Tk::Entry dropping decimals sometimes
Date: Sun, 27 Aug 2017 11:49:29 -0400
To: bug-Tk [...] rt.cpan.org
From: Bob Ewart <jinnicky [...] bobsown.net>
On 08/27/2017 06:20 AM, Slaven_Rezic via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=116336 > > > On 2016-07-19 21:32:29, jinnicky@bobsown.net wrote:
>> Tk::Entry seems to be confusing Perl with dual valued variables. If you >> run the attached 'testtkdump' and hit enter a couple of times without >> changing any of the input values, it eventually produces a product of >> 308 (14 * 22) instead of 315 (14*22.5). >> >> Take a look at the attached output. Section 2 shows the wrong product. >> >> I tried the equivalent program in Tcl and python. Both worked. >> >> Thanks for taking a look at this >>
> I can reproduce it with 804.033, but not anymore with 804.034 (released yesterday). Looks like this is the same issue as https://rt.cpan.org/Ticket/Display.html?id=121528 > > Can you check if it is fixed for you, too? > >
It works for me on 804.034 which I had to install with force. I'm running on Debian Stretch and 'install Tk' failed on T.canvas.t test 93