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.

classification
Title: IDLE: Test right-click and context menu tests
Type: behavior Stage:
Components: IDLE Versions: Python 3.10, Python 3.9, Python 3.8, Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: terry.reedy Nosy List: BevInTX, terry.reedy
Priority: normal Keywords:

Created on 2020-05-29 16:39 by BevInTX, last changed 2022-04-11 14:59 by admin.

Files
File name Uploaded Description Edit
copy and cut missing from context menu.png BevInTX, 2020-05-29 16:39 Copy and Cut Grayed out on selected text context menu
Messages (2)
msg370324 - (view) Author: Bev (BevInTX) Date: 2020-05-29 16:39
In Idle on macOS, when I select text in either the Shell or a file, both copy and cut should be available in the context menu, but they are grayed out (not selectable).  Both copy and cut are still available via the menu bar Edit menu and keyboard shortcuts, <command>c and <command>x, respectively.  I tried this on macOS El Capitan 10.11.6 and Catalina 10.15.4
msg370338 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2020-05-29 23:01
Thanks for the report. I verified the context menu defect on Windows and Mac Mohave.  The menu and shortcuts still work on both.

This regression was introduced by the first PR for #39885.  I mistakenly delayed the fixer, PR-18951, to finish new tests. (On current Win10, disabled items are nearly black dark gray that I easily confuse with enabled black.  On Mac, the contrast between its light-medium gray and black is unmistakable.)

I polished the fixer and merged it, with only manual testing, to immediately fix the regression.  I re-labelled this issue to add an automated test that would have caught it.
History
Date User Action Args
2022-04-11 14:59:31adminsetgithub: 84996
2020-05-29 23:01:22terry.reedysettitle: Idle Context Menu Copy/Cut Grayed Out -> IDLE: Test right-click and context menu tests
messages: + msg370338
versions: + Python 3.7, Python 3.9, Python 3.10
2020-05-29 16:39:31BevInTXcreate