This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients eamartin, ned.deily, rhettinger, ronaldoussoren, serhiy.storchaka, taleinat, terry.reedy, vtudorache, walters
Date 2018-07-31.03:42:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533008548.36.0.56676864532.issue34120@psf.upfronthosting.co.za>
In-reply-to
Content
I closed #34281 as a duplicate of this.  Eric Martin said "After entering a line number, clicking OK brings to the foreground and makes active the first hidden window (in the simplest case where we have just one window for a .py file and the Shell window, the former being in the foreground, clicking OK brings the Shell window to the foreground)."

Normally, one window is active, as indicated by the traffic lights, and one widget has the focus, which for entry widgets is indicated by the cursor.  I tested with 3.7.0 with MacOS 10.13.6 and a shell and editor window.

IDLE > About IDLE: closing either way turns lights on in original window but text does not get focus (no cursor).  Neither TAB nor click return focus, but the window is not frozen either.  Selection, deselection, and copy work, cut and paste do not.

As far as I know, on Mac, cut and paste as well as copy and selection are handled entirely by tk, and not IDLE.  My interpretation is that the window is 'stuck' in an 'illegal' state, partly enabled, partly disabled.  Clicking and activating the other window disables the stuck window, so that clicking on it enables it.

IDLE > Settings works the same.  But...

Options > Configure IDLE works as Eric described above.  Closing with OK or Cancel or Red light activates the *other* window, in a stuck state.
(If there is no other IDLE window, then something else must be clicked to unstick the originally active window.)

Edit > Go to line: If one cancels, behavior is normal.  If one enters a number and clicks OK, the other window is activated (lights on) without a cursor while the cursor goes where requested in the original, apparently 'inactive' window.  And keyboard input goes where the cursor is, in that unlighted window.  AFAIK, this is 'impossible'.
History
Date User Action Args
2018-07-31 03:42:28terry.reedysetrecipients: + terry.reedy, rhettinger, ronaldoussoren, taleinat, ned.deily, serhiy.storchaka, walters, vtudorache, eamartin
2018-07-31 03:42:28terry.reedysetmessageid: <1533008548.36.0.56676864532.issue34120@psf.upfronthosting.co.za>
2018-07-31 03:42:28terry.reedylinkissue34120 messages
2018-07-31 03:42:27terry.reedycreate