--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: Specifying BORDER => 0 causes widgets not to be displayed.
- From: William Thompson <wt@electro-mechanical.com>
- Date: Fri, 02 Dec 2005 09:38:32 -0500
- Message-id: <20051202143832.21057.58774.reportbug@potato.electro-mechanical.com>
Package: libcurses-widgets-perl
Version: 1.997-2
Severity: normal
Tags: patch
I found a bug in which specifying BORDER => 0 in the widget creation causes
a message to be displayed about wrong geometry. I found the bug and I believe
I have fixed it.
-- System Information:
Debian Release: 3.0
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages libcurses-widgets-perl depends on:
ii libcurses-perl 1.12-1 Curses interface for Perl
ii perl 5.8.7-4 Larry Wall's Practical Extraction
libcurses-widgets-perl recommends no packages.
-- no debconf information
--- Widgets-orig.pm Thu Nov 14 14:49:29 2002
+++ Widgets.pm Fri Dec 2 09:28:04 2005
@@ -719,6 +719,7 @@
my $self = shift;
my $mwh = shift;
my $active = shift;
+ my $conf = $self->{CONF};
my (@geom, $dwh, $cwh);
# Get the canvas geometry and create a window handle to it
@@ -730,7 +731,7 @@
$self->_caption($dwh);
# Get the content area geometry and create a window handle to it
- $cwh = $self->_canvas($dwh, $self->_cgeometry);
+ $cwh = $$conf{BORDER} ? $self->_canvas($dwh, $self->_cgeometry) : $dwh;
unless (defined $cwh) {
$dwh->delwin;
return 0;
@@ -740,8 +741,10 @@
$self->_cursor($cwh) if $active;
# Flush the changes to the screen and release the window handles
- $cwh->refresh;
- $cwh->delwin;
+ if ($$conf{BORDER}) {
+ $cwh->refresh;
+ $cwh->delwin;
+ }
$dwh->refresh;
$dwh->delwin;
--- End Message ---
--- Begin Message ---
- To: 341715-close@bugs.debian.org
- Subject: Bug#341715: fixed in libcurses-widgets-perl 1.997-3
- From: David Moreno Garza <damog@debian.org>
- Date: Thu, 18 May 2006 14:47:35 -0700
- Message-id: <E1FgqLH-0002WE-9X@spohr.debian.org>
Source: libcurses-widgets-perl
Source-Version: 1.997-3
We believe that the bug you reported is fixed in the latest version of
libcurses-widgets-perl, which is due to be installed in the Debian FTP archive:
libcurses-widgets-perl_1.997-3.diff.gz
to pool/main/libc/libcurses-widgets-perl/libcurses-widgets-perl_1.997-3.diff.gz
libcurses-widgets-perl_1.997-3.dsc
to pool/main/libc/libcurses-widgets-perl/libcurses-widgets-perl_1.997-3.dsc
libcurses-widgets-perl_1.997-3_all.deb
to pool/main/libc/libcurses-widgets-perl/libcurses-widgets-perl_1.997-3_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 341715@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
David Moreno Garza <damog@debian.org> (supplier of updated libcurses-widgets-perl package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 18 May 2006 12:48:44 -0500
Source: libcurses-widgets-perl
Binary: libcurses-widgets-perl
Architecture: source all
Version: 1.997-3
Distribution: unstable
Urgency: low
Maintainer: David Moreno Garza <damog@debian.org>
Changed-By: David Moreno Garza <damog@debian.org>
Description:
libcurses-widgets-perl - Curses widget interface for Perl
Closes: 279782 341715
Changes:
libcurses-widgets-perl (1.997-3) unstable; urgency=low
.
* New maintainer (Closes: #279782).
* Adding a watch file.
* BORDER => 0 now displaying widgets (Closes: #341715).
- Thanks to William Thompson.
* Standards-Version updated to 3.7.2.
Files:
b2982ed8efbd3ccb2a5ab24a5da494c3 673 perl optional libcurses-widgets-perl_1.997-3.dsc
f89651e8d039c64fd24e7aac1521bb86 2546 perl optional libcurses-widgets-perl_1.997-3.diff.gz
09191a98a4725bbbfa42c2842a739d01 81592 perl optional libcurses-widgets-perl_1.997-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFEbLgjmBxf18ZxJX0RAm1jAKCUaeva40zejfXumzBvBusJwL6TKwCeJo8+
iSHYqEbpfAquP2LSG8VUkag=
=qfJG
-----END PGP SIGNATURE-----
--- End Message ---