[issue3851] IDLE: Pressing "Home" on Windows places cursor before ">>>" instead of after. Solution offered.

2017-11-02 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

The problem is back, at least on Windows, in 2.7.14, 3.5.4, 3.6.3, and 3.7.0.  
Numlock has no effect.  I open #31930 for this.

--
resolution: accepted -> fixed
stage:  -> resolved

___
Python tracker 

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



[issue3851] IDLE: Pressing Home on Windows places cursor before instead of after. Solution offered.

2011-03-25 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset 500e48708470 by Kurt B. Kaiser in branch '2.7':
Home toggle failing on Tk 8.5, causing IDLE exits.  Issue 3851.
http://hg.python.org/cpython/rev/500e48708470

--

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



[issue3851] IDLE: Pressing Home on Windows places cursor before instead of after. Solution offered.

2011-03-24 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset a7d50a4e124e by Kurt B. Kaiser in branch '3.1':
Home toggle non-functional when NumLock set
http://hg.python.org/cpython/rev/a7d50a4e124e

--

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



[issue3851] IDLE: Pressing Home on Windows places cursor before instead of after. Solution offered.

2011-03-16 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset 664a129c01f7 by Kurt B. Kaiser in branch '2.7':
Home toggle non-functional when NumLock set.
http://hg.python.org/cpython/rev/664a129c01f7

--
nosy: +python-dev

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



[issue3851] IDLE: Pressing Home on Windows places cursor before instead of after. Solution offered.

2010-03-25 Thread Roger Serwy

Changes by Roger Serwy roger.se...@gmail.com:


--
status: open - closed

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



[issue3851] IDLE: Pressing Home on Windows places cursor before instead of after. Solution offered.

2009-04-04 Thread Kurt B. Kaiser

Kurt B. Kaiser k...@shore.net added the comment:

This wasn't backported to 2.5 as it's trivial and life
is short.

I have a clean install of 3.0.1 from the msi installer,
running on an eeePC 1000HA, XP Home, tk 8.5.

If I type a string at the  prompt in the IDLE shell
and hit the home key, the cursor goes to the left of
the string.  A second press puts it at the left margin.
Subseqent presses toggle.

I suggest you do a clean install.  I get the same result
on Linux and XP, for 2.6.1, 3.0.1, 2. HEAD, and 3. HEAD.

If you look at EditorWindow.py:282 in 3.0.1 you can see
the fix.  Please check yours.

Are you saying you have 2.6.1 and 3.0.1 installed and
they act differently?  Do they both show the same version
for Tk?  Please try to find out why 2.6 and 3.0 act
differently on your machine!

--
resolution:  - works for me
status: open - pending

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



[issue3851] IDLE: Pressing Home on Windows places cursor before instead of after. Solution offered.

2009-04-04 Thread Kurt B. Kaiser

Kurt B. Kaiser k...@shore.net added the comment:

Weeble found the problem: it's the numlock key interacting
with a bug. I can reproduce it when I latch numlock.
http://bugs.python.org/msg80478

--
nosy: +weeble
resolution: works for me - accepted
status: pending - open

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



[issue3851] IDLE: Pressing Home on Windows places cursor before instead of after. Solution offered.

2009-04-04 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

Bingo.  I can also switch behaviors with Numlock (which I routinely have
engaged).  Neither of us was crazy ;-)  Thank you 'weeble'.

--

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



[issue3851] IDLE: Pressing Home on Windows places cursor before instead of after. Solution offered.

2009-04-03 Thread Kurt B. Kaiser

Kurt B. Kaiser k...@shore.net added the comment:

Rev 62545 to 2.6 was forward ported to 3.0 on 4May,
r62716.  I'm using py3k HEAD and it works the same
as 2.6: pressing Home toggles beween the left margin
and the start of the code text.  It works the same way
on Linux and Windows XP.

Won't fix, because this is not a bug, but a feature.
It's useful for copying blocks from the shell.

If you press home to get to the start of the code
text next to the prompt, why did you press it again
except to get to the left margin?  And if you did so
accidentally, press it a third time!

--
assignee:  - kbk
resolution:  - wont fix
status: open - closed

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



[issue3851] IDLE: Pressing Home on Windows places cursor before instead of after. Solution offered.

2009-04-03 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

The bug reported here is that on Windows XP, on my machine, in 2.5 and
still in multiple releases of 3.0 and 3.0.1, pressing Home sends the
cursor DIRECTLY to the left margin, before '', and never stops at the
beginning of the text, after ' '.  I am sorry if I was not clear
enough before.

Toggle behavior would be fine if it happened, and I never said
otherwise.  But it does not happen, at least not on my machine, using
the PSF .msi installer.  There is still a 3.0.2 to come.

--
resolution: wont fix - 
status: closed - open

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



[issue3851] IDLE: Pressing Home on Windows places cursor before instead of after. Solution offered.

2009-04-02 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

As reported in a comment for #2704, the Home key misbehaves on WinXP for
3.0.1.  The 2.6 fix was either not forward ported or otherwise disabled.

I removed 2.5 since that is now on security fix only status.

--
nosy: +kbk
versions: +Python 3.0, Python 3.1 -Python 2.5

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



[issue3851] IDLE: Pressing Home on Windows places cursor before instead of after. Solution offered.

2008-09-19 Thread Terry J. Reedy

Terry J. Reedy [EMAIL PROTECTED] added the comment:

This is supposed to have been fixed by
http://bugs.python.org/issue1196903
but I don't believe there has not been a 2.5 release since then.
I do not know if that patch was or was backported for 2.5.

--
nosy: +tjreedy

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3851
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3851] IDLE: Pressing Home on Windows places cursor before instead of after. Solution offered.

2008-09-18 Thread Guilherme Polo

Changes by Guilherme Polo [EMAIL PROTECTED]:


___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3851
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3851] IDLE: Pressing Home on Windows places cursor before instead of after. Solution offered.

2008-09-18 Thread Guilherme Polo

Changes by Guilherme Polo [EMAIL PROTECTED]:


Removed file: http://bugs.python.org/file11483/issue_3851.diff

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3851
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3851] IDLE: Pressing Home on Windows places cursor before instead of after. Solution offered.

2008-09-13 Thread Guilherme Polo

Guilherme Polo [EMAIL PROTECTED] added the comment:

Did you mean (event.state  10) != 0 instead of (event.state  1) !=
0 ? Otherwise it won't work when event.state is 8.

I'm attaching a patch that does the same thing that is done on py3k
branch and python-trunk.

--
keywords: +patch
nosy: +gpolo
Added file: http://bugs.python.org/file11483/issue_3851.diff

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3851
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3851] IDLE: Pressing Home on Windows places cursor before instead of after. Solution offered.

2008-09-12 Thread Roger Serwy

Changes by Roger Serwy [EMAIL PROTECTED]:


--
nosy: serwy
severity: normal
status: open
title: IDLE: Pressing Home on Windows places cursor before  instead of 
after. Solution offered.

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3851
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3851] IDLE: Pressing Home on Windows places cursor before instead of after. Solution offered.

2008-09-12 Thread Roger Serwy

New submission from Roger Serwy [EMAIL PROTECTED]:

Pressing Home on Windows XP in the PyShell window places the cursor
before  instead of after it. On Linux, this behaves correctly.

The problem is in PyShell.py in the home_callback(). At line 1064:

if event.state != 0 and event.keysym == Home:
return

event.state returns 8 on Windows when Home is pressed, thus the
callback never executes. Here are two solutions:

event.mc_state != 0

or

(event.state  1) != 0

This fixes the problem on Windows, and still works under Linux.

--
components: +IDLE
type:  - behavior
versions: +Python 2.5

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3851
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com