You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IDLE: Test right-click and context menu tests #84996
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/terryjreedy'closed_at=Nonecreated_at=<Date2020-05-29.16:39:31.699>labels= ['type-bug', '3.8', '3.9', '3.10', 'expert-IDLE', '3.7']
title='IDLE: Test right-click and context menu tests'updated_at=<Date2020-05-29.23:01:22.992>user='https://bugs.python.org/BevInTX'
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
[Fixed on another issue - see below. TJR]
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 #84066. 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.
Activity
BevInTX commentedon May 29, 2020
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
[Fixed on another issue - see below. TJR]
terryjreedy commentedon May 29, 2020
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 #84066. 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.
[-]Idle Context Menu Copy/Cut Grayed Out[/-][+]IDLE: Test right-click and context menu tests[/+][-]Idle Context Menu Copy/Cut Grayed Out[/-][+]IDLE: Test right-click and context menu tests[/+]