Debian Bug report logs -
#663449
tk8.5: grid size returns wrong values
Reported by: Miguel Filgueiras <migf@portugalmail.pt>
Date: Sun, 11 Mar 2012 12:03:02 UTC
Severity: normal
Tags: upstream
Found in version tk8.5/8.5.9-2
Done: Sergei Golovan <sgolovan@nes.ru>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Tcl/Tk Debian Packagers <pkg-tcltk-devel@lists.alioth.debian.org>:
Bug#663449; Package tk8.5.
(Sun, 11 Mar 2012 12:03:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Miguel Filgueiras <migf@portugalmail.pt>:
New Bug report received and forwarded. Copy sent to Tcl/Tk Debian Packagers <pkg-tcltk-devel@lists.alioth.debian.org>.
(Sun, 11 Mar 2012 12:03:34 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: tk8.5
Version: 8.5.9-2
Severity: normal
Tags: upstream
Hello,
The 'grid size' command returns bad values after forgetting grid slaves if a
row/column configuration was used. The following sample code shows this bug:
$ wish
> ttk::frame .fr
.fr
> ttk::button .fr.b1 -text 1
.fr.b1
> ttk::button .fr.b2 -text 2
.fr.b2
> grid .fr.b1 .fr.b2
> grid .fr
> grid size .fr
2 1 <-- normal behaviour
> grid forget {*}[grid slaves .fr]
> grid size .fr
0 0 <-- normal behaviour
> grid .fr.b1 .fr.b2
> grid rowconfigure .fr 1 -weight 1
> grid forget {*}[grid slaves .fr]
> grid size .fr
0 2 <-- BUG
Best regards,
Miguel Filgueiras
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.31.6
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages tk8.5 depends on:
ii libc6 2.13-21 Embedded GNU C Library: Shared lib
ii libfontconfig1 2.8.0-2.2 generic font configuration library
ii libx11-6 2:1.4.3-1 X11 client-side library
ii libxext6 2:1.2.0-2 X11 miscellaneous extension librar
ii libxft2 2.2.0-2 FreeType-based font drawing librar
ii libxss1 1:1.2.1-1 X11 Screen Saver extension library
ii tcl8.5 8.5.10-1 Tcl (the Tool Command Language) v8
Versions of packages tk8.5 recommends:
ii konsole [x-terminal-emulator] 4:4.6.5-1 X terminal emulator
ii mlterm [x-terminal-emulator] 3.0.3-1 MultiLingual TERMinal
ii xterm [x-terminal-emulator] 269-1 X terminal emulator
tk8.5 suggests no packages.
-- no debconf information
Reply sent
to Sergei Golovan <sgolovan@nes.ru>:
You have taken responsibility.
(Sun, 11 Mar 2012 12:48:57 GMT) (full text, mbox, link).
Notification sent
to Miguel Filgueiras <migf@portugalmail.pt>:
Bug acknowledged by developer.
(Sun, 11 Mar 2012 12:49:05 GMT) (full text, mbox, link).
Message #10 received at 663449-close@bugs.debian.org (full text, mbox, reply):
Version: 8.5.9-2
Hi Miguel,
On Sun, Mar 11, 2012 at 3:53 PM, Miguel Filgueiras <migf@portugalmail.pt> wrote:
>
> The 'grid size' command returns bad values after forgetting grid slaves if a
> row/column configuration was used. The following sample code shows this bug:
>> grid .fr.b1 .fr.b2
>> grid rowconfigure .fr 1 -weight 1
>> grid forget {*}[grid slaves .fr]
>> grid size .fr
> 0 2 <-- BUG
It's a documented behavior. grid(3tk) manpage states that [grid size]
looks either
at the slave occupying the largest row or column, or the largest row or column
with nonzero minsize, weight or pad.
So, I wouldn't call this a bug. I think I'll close this bugreport as invalid.
Cheers!
--
Sergei Golovan
No longer marked as fixed in versions 8.5.9-2.
Request was from Andreas Beckmann <anbe@debian.org>
to control@bugs.debian.org.
(Sat, 02 Nov 2013 15:58:31 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 01 Dec 2013 07:36:03 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Oct 11 23:38:21 2017;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.