Skip to content

Modifying an existing file always stomps over creation timestamp and other metadata #699

Description

@wesinator

Expected behaviour

When saving changes to an existing, previously created file, Pluma should only modify the modified date timestamp, not any other file metadata that isn't explicitly modified in the edit.

Actual behaviour

'Upstream': https://gitlab.gnome.org/World/gedit/gedit/-/issues/464

gedit and Pluma saves any changes as a new file every time, which stomps over file creation timestamps and other metadata.

Other editor frameworks such as Featherpad (Qt), Scite, atom/Pulsar and VS Code do not have this problem.

Steps to reproduce the behaviour

  • Save text to a new file.
  • observe file properties in Files / Caja, specifically the timestamps
  • Wait one minute
  • make one byte change to the file. Save change/modification with Ctrl+S
  • observe the file properties. The creation and access timestamps are updated along with the modified timestamp.

MATE general version

All

Package version

All

Linux Distribution

Affects all

Link to bugreport of your Distribution (requirement)

n/a

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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