Skip to content
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

IDLE: Add keyboard equivalents for mouse actions. #71807

Open
terryjreedy opened this issue Jul 26, 2016 · 7 comments
Open

IDLE: Add keyboard equivalents for mouse actions. #71807

terryjreedy opened this issue Jul 26, 2016 · 7 comments
Assignees
Labels
3.10 only security fixes 3.11 only security fixes 3.12 bugs and security fixes topic-IDLE type-bug An unexpected behavior, bug, or error

Comments

@terryjreedy
Copy link
Member

BPO 27620
Nosy @terryjreedy, @serhiy-storchaka, @ZackerySpytz
PRs
  • gh-71807: The escape key closes IDLE's config dialog as canceled #19706
  • Dependencies
  • bpo-27621: Finish IDLE Query dialog appearance and behavior.
  • 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 2016-07-26.00:54:51.365>
    labels = ['expert-IDLE', 'type-bug', '3.10']
    title = 'IDLE: Add keyboard equivalents for mouse actions.'
    updated_at = <Date 2020-06-07.22:00:04.640>
    user = 'https://github.com/terryjreedy'

    bugs.python.org fields:

    activity = <Date 2020-06-07.22:00:04.640>
    actor = 'terry.reedy'
    assignee = 'terry.reedy'
    closed = False
    closed_date = None
    closer = None
    components = ['IDLE']
    creation = <Date 2016-07-26.00:54:51.365>
    creator = 'terry.reedy'
    dependencies = ['27621']
    files = []
    hgrepos = []
    issue_num = 27620
    keywords = ['patch']
    message_count = 7.0
    messages = ['271311', '271312', '271331', '271345', '271480', '271483', '296570']
    nosy_count = 4.0
    nosy_names = ['terry.reedy', 'python-dev', 'serhiy.storchaka', 'ZackerySpytz']
    pr_nums = ['19706']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue27620'
    versions = ['Python 3.10']

    @terryjreedy
    Copy link
    Member Author

    Reading https://en.wikipedia.org/wiki/IBM_Common_User_Access and in particular "All operations could be done with either the mouse or the keyboard;", I checked IDLE's dialogs.

    The Windows dialogs accessed as common dialogs work correctly. I will assume true for other OSes until told otherwise.

    The new Query widget recogizes <Return> for [Ok] but not <Escape> for [Cancel]. My omission, easily corrected.

    Search boxes cannot set options with keys. Notepad++ can.

    The Options dialog has no key equivalents.

    @terryjreedy terryjreedy self-assigned this Jul 26, 2016
    @terryjreedy terryjreedy added topic-IDLE type-bug An unexpected behavior, bug, or error labels Jul 26, 2016
    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jul 26, 2016

    New changeset 352fc11b9fd2 by Terry Jan Reedy in branch 'default':
    Issue bpo-27620: Escape key closes Query box as cancelled.
    https://hg.python.org/cpython/rev/352fc11b9fd2

    @terryjreedy
    Copy link
    Member Author

    bpo-27621 is about <Return> invoking [Ok] even when the focus is on [Cancel].

    @serhiy-storchaka
    Copy link
    Member

    I agree that Esc should always cancel regardless of where the focus is.

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jul 28, 2016

    New changeset 2468581846da by Terry Jan Reedy in branch 'default':
    Issue bpo-27620: Mark the default action button as the default.
    https://hg.python.org/cpython/rev/2468581846da

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jul 28, 2016

    New changeset e4a2d78aa6cc by Terry Jan Reedy in branch 'default':
    Issue bpo-27620: Make htest box respond to <Return> and <Escape>.
    https://hg.python.org/cpython/rev/e4a2d78aa6cc

    @terryjreedy
    Copy link
    Member Author

    ConfigDialgo.__init__ has commented out key bindings for the buttons, including Esc for [Cancel]. We should establish 'IDLE Dialog Conventions', document (add to README.txt?), and follow consistently.

    bpo-27621 is about polishing Query box behavior. It should be generalized to other boxes.

    @terryjreedy terryjreedy added the 3.10 only security fixes label Jun 7, 2020
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @terryjreedy terryjreedy added 3.11 only security fixes 3.12 bugs and security fixes labels Sep 18, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.10 only security fixes 3.11 only security fixes 3.12 bugs and security fixes topic-IDLE type-bug An unexpected behavior, bug, or error
    Projects
    Status: In Progress
    Development

    No branches or pull requests

    2 participants