Tk Library Source Code

View Ticket
Login
Ticket UUID: 436386
Title: BWidget demo bug
Type: Bug Version: None
Submitter: nobody Created on: 2001-06-26 14:19:30
Subsystem: bwidget Assigned To: andreas_kupries
Priority: 3 Low Severity:
Status: Closed Last Modified: 2001-09-14 00:25:44
Resolution: Works For Me Closed By: andreas_kupries
    Closed on: 2001-09-13 17:25:44
Description:
     In the BWidget demo, choose the 'Dialog' tab, 
then select 'Abort, Retry, Ignore' in the 'Message 
Dialog' frame.  Click 'Show', and an error message 
appears "Error: Bad default value "": must be...".  
The stack trace is:

bad -default value "": must be abort, retry, ignore, 
ok, cancel, no, or yes
    while executing
"tk_messageBox -icon info -default {} -message 
{Message for MessageBox} -type abortretryignore -title 
Information"
    ("eval" body line 1)
    invoked from within
"eval tk_messageBox [array get tkMBoxArgs"
    (procedure "MessageDlg::create" line 80)
    invoked from within
"MessageDlg::create .msgdlg -parent . -message 
{Message for MessageBox} -type abortretryignore -icon 
info -buttons {}"
    ("eval" body line 1)
    invoked from within
"eval MessageDlg::create $path $args"
    (procedure "MessageDlg" line 1)
    invoked from within
"MessageDlg .msgdlg -parent .  -message "Message for 
MessageBox"  -type    $msg(type)  -icon    $msg
(icon)  -buttons $msg(buttons)"
    (procedure "DemoDlg::_show_msgdlg" line 5)
    invoked from within
"DemoDlg::_show_msgdlg"
    invoked from within
".mainframe.frame.nb.fdemoDlg.titf3.f.but invoke"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke]"
    (procedure "tkButtonUp" line 9)
    invoked from within
"tkButtonUp .mainframe.frame.nb.fdemoDlg.titf3.f.but
"
    (command bound to event)
User Comments: andreas_kupries added on 2001-09-14 00:25:44:
Logged In: YES 
user_id=75003

No additional information for a week.
Closing this item.

andreas_kupries added on 2001-09-07 00:50:36:
Logged In: YES 
user_id=75003

I used wish 8.4a3 (ActiveTcl 8.3.3.3) and the
current head of bwidgets (Sep 6, 2001). The
demo executed correctly.

bach added on 2001-06-27 21:48:10:
Logged In: YES 
user_id=98533

I couldn't reproduce this in the CVS version from 21.06.2001. Please specify the version you used.