Joined: 18 Aug 2004
|Posted: Wed Aug 18, 2004 4:28 pm Post subject: Closing windows with Alt-w
I am on Debian linux and reponsible for the wavesurfer package on Debian. Just got this
bug report, and wanted to know if this is Debian specific or a general problem.
PS: 1.7.1 shows the same behaviour for me
When you open a wave file in wavesurfer and then close it using the Alt-W
keyboard shortcut, an error is displayed. If you use the Close option from
the File menu, the error does not occur.
Error: bad window path name
Details of the error message:
bad window path name ".x.s1.workspace.pane_2.c"
"winfo class $w"
(procedure "tk::TraverseToMenu" line 6)
invoked from within
"tk::TraverseToMenu .x.s1.workspace.pane_2.c w"
(command bound to event)
Joined: 16 Aug 2002
Location: KTH, Centre for Speech Technology
|Posted: Thu Aug 19, 2004 10:19 am Post subject:
|Thanks for the report!
I've fixed the problem. Can you wait for the next release? If not do you use the source distribution or the binary?
The fix is in wavesurfer.tcl:BindKeys line 5, which should read:
bind $p <$::AccKey-w> [list Close $p]\nbreak