Skip to content

cannot close an unsaved sketch window after edit. second attempt to close crashes the IDE #7208

Open
@JM-FRANCE

Description

@JM-FRANCE

Arduino 1.8.5 on Mac OS X 10.13.3 (High Sierra)

How to reproduce:

  • launch the IDE

  • open a new sketch --> window N°1

  • open a second sketch --> window N°2

  • type any text in the second window N°2 so that the sketch is marked as modified

  • press cmd-w to close the second window
    --> you get a modal dialog panel stating "Do you want to save changes to this sketch before closing"

  • answer "don't save"
    --> RESULT: the alert panel get discarded but the window N°2 is still opened

  • press cmd-w again to close the second window
    --> RESULT: the IDE crashes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: IDEThe Arduino IDEIDE 1.9.x BetaRelated to the Arduino IDE Beta BuildOS: OSXSpecific to the Mac OS X (macOS) version of the Arduino IDEType: Bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions