#2829 Unknown option "-relief" in [bgerror]

obsolete: 8.6b1.1
closed-fixed
5
2010-09-05
2010-08-17
Andy Goth
No

The <Return> binding for the standard Tk [bgerror] dialog sets the -relief option of the OK button. However, the OK button is a [ttk::button] and therefore does not have a -relief option.

To test, run "bgerror foo", click on the bgerror dialog that pops up, and press Return (or Enter, whatever). The error text will change to reflect the new problem.

Discussion

  • Don Porter

    Don Porter - 2010-08-17

    Part of the fix ought to be for Tk to
    stop defining a [::bgerror] command,
    and start using the Tcl 8.5 feature
    [interp bgerror] to install its preferred
    background error handler.

     
  • Donal K. Fellows

    Confirmed. ErrorInfo trace:
    unknown option "-relief"
    while executing
    ".bgerrorDialog.ok configure -state active -relief sunken"
    (procedure "Return" line 4)
    invoked from within
    "Return"
    (in namespace inscope "::tk::dialog::error" script line 1)
    invoked from within
    "::namespace inscope ::tk::dialog::error Return"
    (command bound to event)

     
  • Donal K. Fellows

    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks