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

OS X IDLE 3 with Tk 8.4 appears to hang with syntax error #55262

Closed
ned-deily opened this issue Jan 29, 2011 · 4 comments
Closed

OS X IDLE 3 with Tk 8.4 appears to hang with syntax error #55262

ned-deily opened this issue Jan 29, 2011 · 4 comments
Assignees
Labels
type-bug An unexpected behavior, bug, or error

Comments

@ned-deily
Copy link
Member

BPO 11053
Nosy @birkenfeld, @benjaminp, @ned-deily
Files
  • issue_syntax_error_message.patch
  • 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/ned-deily'
    closed_at = <Date 2011-01-29.23:36:29.015>
    created_at = <Date 2011-01-29.03:17:32.528>
    labels = ['type-bug']
    title = 'OS X IDLE 3 with Tk 8.4 appears to hang with syntax error'
    updated_at = <Date 2011-01-29.23:36:29.014>
    user = 'https://github.com/ned-deily'

    bugs.python.org fields:

    activity = <Date 2011-01-29.23:36:29.014>
    actor = 'ned.deily'
    assignee = 'ned.deily'
    closed = True
    closed_date = <Date 2011-01-29.23:36:29.015>
    closer = 'ned.deily'
    components = []
    creation = <Date 2011-01-29.03:17:32.528>
    creator = 'ned.deily'
    dependencies = []
    files = ['20594']
    hgrepos = []
    issue_num = 11053
    keywords = ['patch']
    message_count = 4.0
    messages = ['127375', '127390', '127463', '127498']
    nosy_count = 3.0
    nosy_names = ['georg.brandl', 'benjamin.peterson', 'ned.deily']
    pr_nums = []
    priority = None
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue11053'
    versions = ['Python 3.1', 'Python 3.2']

    @ned-deily
    Copy link
    Member Author

    When IDLE 3 is used with Aqua Tk 8.4 on OS X (as is the case with the 32-bit-only installer for Python 3.1.x or 3.2rc1), if the user tries to run a Python program with a syntax error from an editor window, the Run command causes the IDLE shell window to move to the front, generally obscuring the editor window. For some unknown reason, a slight change between IDLE 2.x and IDLE 3.x causes the resulting modal Syntax Error message window to drop down from and be attached to the menu bar of the Editor Window. With Aqua Tk 8.4, the modal error only responds to a mouse click on the obscured Editor window's menu bar. To an unsuspecting user, it appears that IDLE is hung. In IDLE 2.x, the resulting modal error message is a top-level one, so it appears in a separate, unobscured window, the same as all other error messages in IDLE 2.x and 3.x. From the svn checkin early in the Python 3 development cycle, it is not at all clear why this minor change was made but it causes a major usability problem for OS X users.

    The attached patch reverts the change in this case restoring the behavior of IDLE 2.x. This fix should be applied to 3.2rc2.

    @ned-deily ned-deily self-assigned this Jan 29, 2011
    @ned-deily ned-deily added the type-bug An unexpected behavior, bug, or error label Jan 29, 2011
    @birkenfeld
    Copy link
    Member

    Good to go.

    @ned-deily
    Copy link
    Member Author

    Committed in r88234 for 3.2rc2. Pending backport to 3.1.

    @ned-deily
    Copy link
    Member Author

    r88242 for 3.1

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants