[issue46630] IDLE: Set query focus to entry box on Windows

2022-02-03 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.10, Python 3.11, Python 3.9

___
Python tracker 

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



[issue46630] IDLE: Set query focus to entry box on Windows

2022-02-03 Thread miss-islington


miss-islington  added the comment:


New changeset 4f76b3667d856a13107c65d44d802d0e73c3f104 by Miss Islington (bot) 
in branch '3.10':
bpo-46630: Fix initial focus of IDLE query dialogs (GH-31112)
https://github.com/python/cpython/commit/4f76b3667d856a13107c65d44d802d0e73c3f104


--

___
Python tracker 

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



[issue46630] IDLE: Set query focus to entry box on Windows

2022-02-03 Thread miss-islington


miss-islington  added the comment:


New changeset dc315f30f86a1dc7c4607398b379d7c0b55c7549 by Miss Islington (bot) 
in branch '3.9':
bpo-46630: Fix initial focus of IDLE query dialogs (GH-31112)
https://github.com/python/cpython/commit/dc315f30f86a1dc7c4607398b379d7c0b55c7549


--

___
Python tracker 

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



[issue46630] IDLE: Set query focus to entry box on Windows

2022-02-03 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 1.0 -> 2.0
pull_requests: +29296
pull_request: https://github.com/python/cpython/pull/31114

___
Python tracker 

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



[issue46630] IDLE: Set query focus to entry box on Windows

2022-02-03 Thread miss-islington


Change by miss-islington :


--
pull_requests: +29297
pull_request: https://github.com/python/cpython/pull/31115

___
Python tracker 

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



[issue46630] IDLE: Set query focus to entry box on Windows

2022-02-03 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset d1df81a730499cc6286d02afa6028a1e9c22bbbf by Terry Jan Reedy in 
branch 'main':
bpo-46630: Fix initial focus of IDLE query dialogs (GH-31112)
https://github.com/python/cpython/commit/d1df81a730499cc6286d02afa6028a1e9c22bbbf


--

___
Python tracker 

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



[issue46630] IDLE: Set query focus to entry box on Windows

2022-02-03 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
keywords: +patch
pull_requests: +29295
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/31112

___
Python tracker 

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



[issue46630] IDLE: Set query focus to entry box on Windows

2022-02-03 Thread Terry J. Reedy


New submission from Terry J. Reedy :

On Mac, and I presume *nix in general, query boxes open with the focus on the 
first entry box, with the cursor displayed.  One can immediate enter a line 
number, dotted module name, or whatever. On Windows, since 3.9, one must hit 
Tab or click on the entry box to set the focus.  If a blank entry is an error, 
one can even click on OK or hit Enter and the focus will move after an error 
message.

idlelib/query.py already has self.entry.focus_set.  Why did that stop working 
in 3.9?  All patches to query.py were before May 2021 and backported to 3.8.  
Perhaps the upgrade from tk 8.6.9 to 8.6.12 had an effect given the code as it 
is.  Text widgets have the same issue and Editor window has 'text.focus_set' in 
'__init__' and that works.  Whatever, moving entry.focus_set() to just after 
self.deiconify() works without affecting unittests both in Windows repository 
and 3.11 installed on macOS.

--
assignee: terry.reedy
components: IDLE
messages: 412465
nosy: terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: Set query focus to entry box on Windows
type: behavior

___
Python tracker 

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