8000 IDLE: Test right-click and context menu tests · Issue #84996 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

IDLE: Test right-click and context menu tests #84996

New issue

Have a question about this project? Sign up for a free G 8000 itHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
BevInTX mannequin opened this issue May 29, 2020 · 2 comments
Open

IDLE: Test right-click and context menu tests #84996

BevInTX mannequin opened this issue May 29, 2020 · 2 comments
Assignees
Labels
tests Tests in the Lib/test dir topic-IDLE type-feature A feature request or enhancement

Comments

@BevInTX
Copy link
Mannequin
BevInTX mannequin commented May 29, 2020
BPO 40819
Nosy @terryjreedy
Files
  • copy and cut missing from context menu.png: Copy and Cut Grayed out on selected text context menu
  • 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 = None
    created_at = <Date 2020-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 = <Date 2020-05-29.23:01:22.992>
    user = 'https://bugs.python.org/BevInTX'

    bugs.python.org fields:

    activity = <Date 2020-05-29.23:01:22.992>
    actor = 'terry.reedy'
    assignee = 'terry.reedy'
    closed = False
    closed_date = None
    closer = None
    components = ['IDLE']
    creation = <Date 2020-05-29.16:39:31.699>
    creator = 'BevInTX'
    dependencies = []
    files = ['49202']
    hgrepos = []
    issue_num = 40819
    keywords = []
    message_count = 2.0
    messages = ['370324', '370338']
    nosy_count = 2.0
    nosy_names = ['terry.reedy', 'BevInTX']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue40819'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10']

    @BevInTX
    Copy link
    Mannequin Author
    BevInTX mannequin commented 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]

    @BevInTX BevInTX mannequin added the 3.8 (EOL) end of life label May 29, 2020
    @BevInTX BevInTX mannequin assigned terryjreedy May 29, 2020
    @BevInTX BevInTX mannequin added topic-IDLE type-bug An unexpected behavior, bug, or error 3.8 (EOL) end of life labels May 29, 2020
    @BevInTX BevInTX mannequin assigned terryjreedy May 29, 2020
    @BevInTX BevInTX mannequin added topic-IDLE type-bug An unexpected behavior, bug, or error labels May 29, 2020
    @terryjreedy
    Copy link
    Member
    terryjreedy commented 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.

    @terryjreedy terryjreedy added 3.7 (EOL) end of life 3.9 only security fixes 3.10 only security fixes labels May 29, 2020
    @terryjreedy terryjreedy changed the title Idle Context Menu Copy/Cut Grayed Out IDLE: Test right-click and context menu tests May 29, 2020
    @terryjreedy terryjreedy added 3.7 (EOL) end of life 3.9 only security fixes 3.10 only security fixes labels May 29, 2020
    @terryjreedy terryjreedy changed the title Idle Context Menu Copy/Cut Grayed Out IDLE: Test right-click and context menu tests May 29, 2020
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @erlend-aasland erlend-aasland added the tests Tests in the Lib/test dir label Jul 27, 2022
    @terryjreedy terryjreedy added type-feature A feature request or enhancement and removed type-bug An unexpected behavior, bug, or error 3.10 only security fixes 3.9 only security fixes 3.8 (EOL) end of life 3.7 (EOL) end of life labels Aug 6, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    tests Tests in the Lib/test dir topic-IDLE type-feature A feature request or enhancement
    Projects
    Status: No status
    Development

    No branches or pull requests

    2 participants
    0