Skip to content

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

Description

@BevInTX
mannequin
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']

    Activity

    1. BevInTX commented on May 29, 2020

      BevInTXmannequin
      MannequinAuthor

      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]

    2. terryjreedy commented on May 29, 2020

      @terryjreedy
      Member

      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.

    3. changed the title [-]Idle Context Menu Copy/Cut Grayed Out[/-] [+]IDLE: Test right-click and context menu tests[/+] on May 29, 2020
    4. changed the title [-]Idle Context Menu Copy/Cut Grayed Out[/-] [+]IDLE: Test right-click and context menu tests[/+] on May 29, 2020
    5. transferred this issue fromon Apr 10, 2022
    6. added
      type-featureA feature request or enhancement
      and removed
      type-bugAn unexpected behavior, bug, or error
      on Aug 6, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    testsTests in the Lib/test dirtopic-IDLEtype-featureA feature request or enhancement

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions