[issue6171] IDLE - TreeWidget draw and double-click (Ubuntu)

2020-06-06 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
resolution:  -> works for me
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6171] IDLE - TreeWidget draw and double-click (Ubuntu)

2017-06-18 Thread Terry J. Reedy

Terry J. Reedy added the comment:

(In 3.6, TreeWidget.py became tree.py.)
Even though IDLE trees now appear to work correctly, including on Ubuntu, I am 
concerned about possible memory leaks, which are usually detected by repeatedly 
running a module's test file.  Test_tree does not leak now, but it does not do 
much. In particular, it does not expand and contract items and move selections. 
 TreeNode.draw has this note: "This leaks bindings until canvas is deleted", 
and I wonder if the same could be true in .drawtext.

Tree.py currently has these notes at the top:
# - keep track of object ids to allow more careful cleaning
# - optimize tree redraw after expand of subnode
Currently, self.text_id is saved, but not used.  Reusing canvas items should be 
more efficient.

I won't edit tree.py immediately, as I intend to try using ttk.Treeview as a 
replacement.  But we might instead update tree.py with ttk components.  In the 
meanwhile, I will leave this open.

--
assignee:  -> terry.reedy
versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6171] IDLE - TreeWidget draw and double-click (Ubuntu)

2015-01-07 Thread Terry J. Reedy

Terry J. Reedy added the comment:

It appears that this could be closed then.  But I would like to look at the 
patch first if I can get to it.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6171
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6171] IDLE - TreeWidget draw and double-click (Ubuntu)

2015-01-07 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

Behavior described in msg229434 is right. Tested on Ubuntu 14.04 64bit with 
Python version  3.5.0a, TkVersion=8.5 and TclVersion=8.5.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6171
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6171] IDLE - TreeWidget draw and double-click (Ubuntu)

2014-10-15 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
title: IDLE - Class Browser selection in Ubuntu - IDLE - TreeWidget draw and 
double-click (Ubuntu)

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6171
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com