classification
Title: IDLE - Class Browser selection in Ubuntu
Type: behavior Stage:
Components: IDLE Versions: Python 3.2, Python 3.1, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Serge, roger.serwy, sirgimp
Priority: normal Keywords: patch

Created on 2009-06-02 00:46 by sirgimp, last changed 2012-07-16 00:37 by roger.serwy.

Files
File name Uploaded Description Edit
idle_classbrowser.patch Serge, 2010-02-07 15:43
Messages (2)
msg88699 - (view) Author: Jason Gervich (sirgimp) Date: 2009-06-02 00:46
When sing IDLE in Ubuntu (Jaunty) if you open the Class Browser and
double click on a class or function name, the corresponding section is
highlighted in the code in the Editor Window. 

If you again double click on another class or function name, the new
code section should be highlighted in the Editor Window but isn't.
Nothing happens. You have to first close the Class Browser window,
reopen it and double click on another name to select it the Editor Window.

In the Windows versions, successive double clicking will highlight the
desired selection in the Class Browser window.
msg99005 - (view) Author: (Serge) Date: 2010-02-07 15:43
TreeNode class which is used in IDLE class browser create a window for a text label on each single click and apparently under Ubuntu tcl looses first left button click and therefore doesn't generate left buttond double click event. 

In this patch I make changes to the TreeNode class so it creates a window for a text label only when needed (i.e. during initialization or when it was delete after "collapse" command)
History
Date User Action Args
2012-07-16 00:37:02roger.serwysetnosy: + roger.serwy

title: Class Browser selection in Ubuntu -> IDLE - Class Browser selection in Ubuntu
2010-08-04 03:39:31terry.reedysetversions: + Python 3.1, Python 3.2, - Python 2.6, Python 2.5, Python 3.0
2010-02-07 15:43:13Sergesetfiles: + idle_classbrowser.patch

nosy: + Serge
messages: + msg99005

components: + IDLE
keywords: + patch
2009-06-02 00:46:51sirgimpcreate