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

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

Open
wesinator opened this issue Jul 23, 2024 · 1 comment

Comments

@wesinator
Copy link

wesinator commented Jul 23, 2024

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

@wesinator
Copy link
Author

issue seems to be upstream in a Gtk component https://gitlab.gnome.org/GNOME/gnome-text-editor/-/issues/692

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant