Tk Library Source Code

View Ticket
Login
Ticket UUID: d74509223b0a703d8800065c2367d661ec5d6091
Title: widget::listentry and widget::listsimple package require 'img::png' but should require png
Type: Bug Version: 0.6
Submitter: anonymous Created on: 2018-01-23 04:49:10
Subsystem: tklib :: widget Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2026-11-16 17:17:33
Resolution: None Closed By: nobody
    Closed on:
Description:
> wish8.6
% package require widget::listentry
can't find package img::png
% package require widget::listsimple
can't find package img::png

change the package require in each of the respective files to 'package require png'
results in successful load.
User Comments: serhiy.storchaka added on 2026-11-16 17:17:33:

Proposed fix in branch widgetl-png-without-img: img::png is required only with Tk 8.5, since Tk 8.6 and later read PNG images. The suggested package require png would load the png package of tcllib, which only reads metadata of PNG files.