File: BUGS

package info (click to toggle)
perl-tk 1:800.025-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 18,444 kB
  • ctags: 19,081
  • sloc: ansic: 206,740; perl: 40,187; makefile: 4,371; sh: 2,373; yacc: 762
file content (57 lines) | stat: -rw-r--r-- 2,484 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
BUGS

- $w->cget(-cursor) returns a wrong value if the -cursor was
  constructed with an anonymous array. Workaround: use the Tcl notation, e.g.
  -cursor => '{@/path/to/your/cursor.xbm} red blue'

- sporadic core dumps on the end of bbbike with the following backtrace:
#0  0x283f5594 in Tk_CanvasEventuallyRedraw ()
   from /usr/perl5.8.0/lib/site_perl/5.8.0/i386-freebsd-64int/auto/Tk/Canvas/Canvas.so
#1  0x284010a5 in ImageChangedProc ()
   from /usr/perl5.8.0/lib/site_perl/5.8.0/i386-freebsd-64int/auto/Tk/Canvas/Canvas.so
#2  0x2825e532 in DeleteImage ()
   from /usr/perl5.8.0/lib/site_perl/5.8.0/i386-freebsd-64int/auto/Tk/Tk.so
#3  0x2825e5cb in TkDeleteAllImages ()
   from /usr/perl5.8.0/lib/site_perl/5.8.0/i386-freebsd-64int/auto/Tk/Tk.so
#4  0x2827f0bd in Tk_DestroyWindow ()
   from /usr/perl5.8.0/lib/site_perl/5.8.0/i386-freebsd-64int/auto/Tk/Tk.so
#5  0x2824dbc5 in Tk_DestroyCmd ()
   from /usr/perl5.8.0/lib/site_perl/5.8.0/i386-freebsd-64int/auto/Tk/Tk.so
#6  0x2823356f in Call_Tk ()
   from /usr/perl5.8.0/lib/site_perl/5.8.0/i386-freebsd-64int/auto/Tk/Tk.so
...

- missing documentation: wrapper[1], $w->property, ConfigChanged,
  Tk::LabEntry (with advertised widgets etc.)

- The ButtonHack in Tk::BrowseEntry looks suspicious. Does it still
  work if there's more than one BrowseEntry per Toplevel? Maybe
  implement a better solution: there's a per-toplevel array or hash
  which is populated by the references to all containing BrowseEntries.
  The references are deleted OnDestroy of the BrowseEntry.

- Reported in Message-ID: <20030613095141.GA10412@zen.lcu>: The oneliners

  perl -e 'use Tk; tkinit()->Button(-text => 'Exit', -command => sub {exit 1})->pack; MainLoop();'

  and

  perl -e 'require Tk; import Tk; tkinit()->Button(-text => 'Exit', -command => sub {exit 1})->pack; MainLoop();'

  may cause segmentation faults or "Callback called exit" messages.
  The best is to avoid exit() at all and use $mw->destroy.

- cygwin:
  Expect 8 subtest failures:
  * all TList related tests fail
  * fileevent does not work

- Excess space in TopLevels (Message-ID:
  <yP%Ga.54900$nr.4758453@twister.southeast.rr.com>): this may be
  related to the well-known "slow raise" problem in conjunction with
  some weird layoutRequest code in Tk::ProgressBar

- Tk builds do not work if the source directory path contains spaces.

Please report bugs to either the Perl/Tk Mailing list
<ptk@lists.Stanford.EDU> or the Perl/Tk Newsgroup <comp.lang.perl.tk>.