Skip to content

1.6.0 IDE sets "file modified" flag whenever a tab is clicked for viewing, instead of when the content is actually changed #2653

@plocher

Description

@plocher

Context:

  • MacOS
  • Arduino IDE 1.6.0

To reproduce:

  • Start with a multi-tab sketch
  • Save it (ensures all "file modified" state/markings are cleared for this example...)
  • Click on another tab but do not modify its content
  • Notice the tab now shows the "file modified" squiggle even though nothing was done to modify the content of the tab

IMO, the "modified" state should track the changelog/undo buffer, such that "undo"ing all edits clears the modified flag and the modified state only is set after a true content modification. The current implementation seems to be much less nuanced :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions