Open muchachagrande opened 5 months ago
I can only reproduce this behavior when making a change and closing. This, in all cases I'm aware of, triggers the auto-save mechanism that is in the Text app (md) or Richdocuments (office files). Technically, however, that behavior is handling in each app IIRC.
Not making any changes in the document doesn't trigger this at all for me, but your report suggests you experience it in both cases?
Close the file without saving the modifications
How are you closing with saving?
Hi @joshtrichards.
How are you closing with saving?
I open a document, make some modification and then close it without saving the modification using the x button at the top-right corner.
This is generating a new version on the 'versions' tab of the right panel.
If I open this new version, the modification remains there as if I had pressed the save button.
There should be an option to discard the changes, or to avoid the autosave.
⚠️ This issue respects the following points: ⚠️
Bug description
When opening an editable file, for example an office document or a rich text file, it opens with the appropriate app and even when the file is closed without making any modifications or without saving the modifications, a new version is always created. This makes the save button useless.
Steps to reproduce
Expected behavior
The expected behaviour is that the editor closes without a new file version created
Installation method
Community VM appliance
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 22.1 to 22.2)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
Nothing additional