Skip Menu |

This queue is for tickets about the Tk-Wizard CPAN distribution.

Report information
The Basics
Id: 29104
Status: rejected
Priority: 0/
Queue: Tk-Wizard

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

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



Subject: redefine Tk::Error to make errors sensible
Just an idea: If we redefine the Tk::Error function, we can control what happens in the case of a "catastrophic" problem at runtime. (Currently, we get the default Tk::Error dialog box, which offers "Stack trace", "Ignore", and "OK" or something like that. None of these options is helpful to the user!?!) See http://search.cpan.org/~ni-s/Tk-804.027/pod/Error.pod for how to do this. -- - - Martin 'Kingpin' Thurn
I started looking into this... The default Tk::Error just writes to STDERR, so if I'm seeing something not sensible, my application must not be using the default Tk::Error. I will investigate further... -- - - Martin 'Kingpin' Thurn
Actually, the default Tk::Error puts up a dialog box if there's a Tk window available. This is bad for our automatic testing, because when the dialog box comes up, the automatic tests suddenly become interactive because the user has to click OK, etc. -- - - Martin 'Kingpin' Thurn
I would mark this as "dead" but there's no such option. Plesae feel free to re-open with more specific examples. Am assuming this is not really much of an issue, since the ticket is a year old.