Tk Source Code

View Ticket
Login
Ticket UUID: 682ff8f637883a36cff9fc944f97c0c6def12888
Title: print.tcl: _print_canvas — unqualified info commands may skip canvas item handlers
Type: Bug Version: Tk 9.0.x
Submitter: anonymous Created on: 2026-06-24 17:10:56
Subsystem: (unused) Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2026-06-25 05:31:07
Resolution: None Closed By: nobody
    Closed on:
Description:
if {[info commands _print_canvas.$type] eq "_print_canvas.$type"}
May not resolve to ::tk::print::_print_canvas.$type → items silently skipped.

Fix: set cmd "::tk::print::_print_canvas.$type" then $cmd $hdc $cw $id.
User Comments: kevin_walzer added on 2026-06-25 05:31:07:
Are you able to provide a patch?