Skip to content

Pop up error when push ok in font selection dialog #4

@georgtree

Description

@georgtree

Hello!
I got error on Linux machine with tcl/tk 9 onboard when push "ok" in font chooser dialog:

bad window path name ".__tk__fontchooser"
bad window path name ".__tk__fontchooser"
    while executing
"wm withdraw $S(W)"
    (procedure "::tk::fontchooser::Hide" line 3)
    invoked from within
"tk fontchooser hide"
    (procedure "::tkcon::fontchooserHandler" line 3)
    invoked from within
"::tkcon::fontchooserHandler {{Fira Code} 10}"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 $S(-command) [list $S(result)]"
    (procedure "Done" line 15)
    invoked from within
"Done 1"
    (in namespace inscope "::tk::fontchooser" script line 1)
    invoked from within
"::namespace inscope ::tk::fontchooser {Done 1}"
    invoked from within
".__tk__fontchooser.ok invoke "
    invoked from within
".__tk__fontchooser.ok instate !disabled { .__tk__fontchooser.ok invoke } "
    invoked from within
".__tk__fontchooser.ok instate pressed { .__tk__fontchooser.ok state !pressed; .__tk__fontchooser.ok instate !disabled { .__tk__fontchooser.ok invoke }..."
    (command bound to event)

Apply and Cancel buttons don't raise errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions