Skip to content

IDLE macOS shortcut ctrl+S doesn’t work for show completions #90655

New issue

Have a question about this project? Sign up for a free GitHub 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

Closed
dvd101x mannequin opened this issue Jan 24, 2022 · 4 comments
Closed

IDLE macOS shortcut ctrl+S doesn’t work for show completions #90655

dvd101x mannequin opened this issue Jan 24, 2022 · 4 comments
Assignees
Labels
3.11 only security fixes OS-mac topic-IDLE type-bug An unexpected behavior, bug, or error

Comments

@dvd101x
Copy link
Mannequin

dvd101x mannequin commented Jan 24, 2022

BPO 46497
Nosy @terryjreedy, @ronaldoussoren, @ned-deily, @dvd101x
Files
  • IDLE edit menu.jpg
  • 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 2022-01-24.04:33:13.540>
    labels = ['OS-mac', 'expert-IDLE', 'type-bug', '3.11']
    title = 'IDLE macOS shortcut ctrl+S doesn\xe2\x80\x99t work for show completions'
    updated_at = <Date 2022-01-29.16:08:17.281>
    user = 'https://github.com/dvd101x'

    bugs.python.org fields:

    activity = <Date 2022-01-29.16:08:17.281>
    actor = 'dvd101x'
    assignee = 'terry.reedy'
    closed = False
    closed_date = None
    closer = None
    components = ['IDLE', 'macOS']
    creation = <Date 2022-01-24.04:33:13.540>
    creator = 'dvd101x'
    dependencies = []
    files = ['50596']
    hgrepos = []
    issue_num = 46497
    keywords = []
    message_count = 3.0
    messages = ['411441', '412037', '412080']
    nosy_count = 4.0
    nosy_names = ['terry.reedy', 'ronaldoussoren', 'ned.deily', 'dvd101x']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue46497'
    versions = ['Python 3.11']

    @dvd101x
    Copy link
    Mannequin Author

    dvd101x mannequin commented Jan 24, 2022

    I noticed that selecting Edit>Show Completions works as expected on Python 3.10.2 and macOS 12.1 after bpo-40128 was resolved.

    But trying the default keyboard shortcut ctrl+S only highlights the edit menu but doesn't work.

    I understand that it's supposed to be ctrl+space because that's how it works on windows and it also works in macOS after disabling the default behavior for ctrl+space but this doesn't highlight the edit menu.

    On the original issue this behavior was also described but now the issue is closed and the behavior is the same.

    So ctrl+S highlights the edit menu but doesn’t show completions and ctrl+space shows completions but has a conflict with the default macOS keyboard shortcuts and is not the shortcut specified on the edit menu and it doesn’t highlight it.

    @dvd101x dvd101x mannequin added topic-IDLE 3.9 only security fixes 3.10 only security fixes labels Jan 25, 2022
    @dvd101x dvd101x mannequin assigned terryjreedy Jan 25, 2022
    @dvd101x dvd101x mannequin added type-bug An unexpected behavior, bug, or error labels Jan 25, 2022
    @terryjreedy
    Copy link
    Member

    I believe that this is a subset of bpo-18444. There are other shortcut that 'flash' a menu entry but do nothing. But I would consider a fix for this short of fixing everything.

    How do you disable the default for ^space? In mac settings or tkinter (tk) settings?

    @terryjreedy terryjreedy added OS-mac 3.11 only security fixes and removed 3.9 only security fixes 3.10 only security fixes labels Jan 28, 2022
    @dvd101x
    Copy link
    Mannequin Author

    dvd101x mannequin commented Jan 29, 2022

    I disabled the default ^space in macOS settings>Keyboard>Shortcuts>Input Sources>Select the Previous input source (^space)

    After doing that ^space works on IDLE, nonetheless the menu shows ^S which is not ^space.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @ronaldoussoren
    Copy link
    Contributor

    This is a duplicate of #88564 (bad label in the menu for show completions), and #88564 has PR that fixes this.

    I therefore propose closing this issue.

    @terryjreedy terryjreedy closed this as not planned Won't fix, can't repro, duplicate, stale Nov 23, 2022
    @terryjreedy terryjreedy moved this to Done in IDLE Issues Nov 23, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.11 only security fixes OS-mac topic-IDLE type-bug An unexpected behavior, bug, or error
    Projects
    Status: Done
    Development

    No branches or pull requests

    2 participants