[issue16770] Selection in IDLE often skips first character

2013-01-26 Thread Ned Deily
Ned Deily added the comment: OK, I *did* spend a little more time on this and am now able to reproduce the behavior solely running the following Tcl code with tclsh: package require Tk set w .text catch {destroy $w} toplevel $w text $w.text -setgrid 1 -height 30 -font "Courier 20" pack $w.text

[issue16770] Selection in IDLE often skips first character

2013-01-26 Thread Ned Deily
Ned Deily added the comment: Using Cocoa Tk 8.5.13 and IDLE from either 2.7.3 and 3.3.0 on OS X 10.8.2, I can reproduce the behavior you report. However, I do not see the behavior when using Python 2.7.3 linked with the older Carbon Tk 8.4. I tried without success to reproduce the behavior us

[issue16770] Selection in IDLE often skips first character

2013-01-25 Thread Irwin Jungreis
Irwin Jungreis added the comment: I have reopened this issue because there are still cases where it does not work. I installed 8.5.13 and the IDLE patch as suggested. That fixed the particular case that I had used to demonstrate the problem (a file containing just two characters M1). However,

[issue16770] Selection in IDLE often skips first character

2012-12-26 Thread Ned Deily
Ned Deily added the comment: Thanks for the additional information. I am now able to reproduce the behavior you observe when using ActiveTcl 8.5.11.1 and also when using the Apple-supplied 8.5.9 in OS X 10.8; presumably, it is also an issue with earlier versions of Cocoa Tk 8.5. The good new

[issue16770] Selection in IDLE often skips first character

2012-12-25 Thread Irwin Jungreis
Irwin Jungreis added the comment: The output of the commands you suggested is below. I've attached a short video showing the problem (listen for the mouse clicks). I also tried with a variety of fonts (proportional and fixed) and font sizes, both bold and not bold, and all had the same problem

[issue16770] Selection in IDLE often skips first character

2012-12-25 Thread Ned Deily
Ned Deily added the comment: Sorry, I'm not able to reproduce the behavior you report, either using a current OS X 10.8.2 system with python.org 2.7.3 and ActiveTcl 8.5.13 or on a virtual 10.6.8 system with an 8.5.12 ActiveTcl. That said, such behavior would almost certainly be due to behavio

[issue16770] Selection in IDLE often skips first character

2012-12-24 Thread Irwin Jungreis
New submission from Irwin Jungreis: Often, when selecting text in IDLE, the first character of the selected region does not get selected. The problem occurs because sometimes, not always, when clicking on the left half of a character the insertion point gets put after the character, while othe