- 
                Notifications
    You must be signed in to change notification settings 
- Fork 65
Open
Description
This is essentially a duplicate of https://sourceforge.net/p/tkimg/discussion/172363/thread/dfe2456d6b/
Problem
This issue is in main branch and also in release version 1.31
I run Fedora 38 6.8.9-100.fc38.x86_64  with tcl8.6 and experience the following errors when trying to open examples/C++/StringList.drn
The program says Error:
File and image width are not identical
File and image width are not identical
    while executing
"image create photo -format GIF -file $file "
    (procedure "p.get_icon" line 7)
    invoked from within
"p.get_icon "folder" "
    (procedure "p.get_folder_icon" line 2)
    invoked from within
"p.get_folder_icon "
    (procedure "mtree::add_item" line 14)
    invoked from within
"mtree::add_item $parent $type $name $node_id"
    (procedure "add_tree_node" line 12)
    invoked from within
"add_tree_node $node_id"
    invoked from within
"$db eval {
		select node_id
		from tree_nodes
		where parent = 0
	} {
		add_tree_node $node_id
	}"
    (procedure "mwc::fill_tree_with_nodes" line 5)
    invoked from within
"mwc::fill_tree_with_nodes"
    (procedure "reload" line 8)
    invoked from within
"reload $filename"
    (procedure "ds::openfile" line 22)
    invoked from within
"ds::openfile $filename "
    (procedure "try_open" line 3)
    invoked from within
"try_open $selected"
    (procedure "ui::intro.recent" line 4)
    invoked from within
"ui::intro.recent"
    (command bound to event)
Solution
replace bad images/folder.gif file with good file from the sourceforge discussion page I gave in the beginning of my issue
bad file sha256:
e936a17c6a0eba21230644d2ac82d14d801954ea7ad343d90e9ba680f0195cd7  images/folder.gif
good file sha256:
6e8ca09cd1c2449367931f519fa4ab3632bdbdf4f3a66a3f131968a472a2fddf
after this modification program works without flaws.
Metadata
Metadata
Assignees
Labels
No labels