Skip Menu |

This queue is for tickets about the CursesForms CPAN distribution.

Report information
The Basics
Id: 20572
Status: new
Priority: 0/
Queue: CursesForms

People
Owner: Nobody in particular
Requestors: rlucas [...] tercent.com
Cc:
AdminCc:

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



Subject: short dialog message throws geometry warning
Date: Wed, 19 Jul 2006 22:12:15 -0700
To: bug-CursesForms [...] rt.cpan.org
From: Randall Lucas <rlucas [...] tercent.com>
A message shorter than 13 characters (the button width plus the sides) in a Curses::Forms::Dialog message seems to cause the screen to barf with an error of: Curses::Widgets::ButtonSet: Window creation failed, possible geometry problem at learn1.pl line 129 This occurs for me under GNU Screen 4.00.02 on Ubuntu Dapper with CursesForms-1.997. I am including a simple patch to right-pad the message with spaces: CursesForms-1.997/Forms/Dialog.pm 134a135 Show quoted text
> $message .= " " x (sort 0, ($max+3 - length $message))[-1]; # pad message
-- Randall Lucas Tercent, Inc. DF93EAD1