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
Revert Local Changes red button does not work correctly #6436
Comments
This is not a very useful bug report, as there is no steps to reproduce the issue, just a collection of observations and expectations. |
I just have a bunch of folders in the state Local Additions. I guess that one can make a folder into this state by e.g. inserting a file into it, but I haven't tried to simulate that. Maybe an important remark was omitted - the folder should be of the Receive-only type, otherwise the local changes will be immediately propagated to its corresponding device. This problem was discussed at the end of this thread: |
Can you try to reproduce that in isolation in a new folder and post the steps to reproduce? |
They opened the issue at my request and i believe the screenshots shows pretty clearly what the initial state is, the two steps taken and what's wrong: essentially the states show that things really get reverted, however the local changed items and button stay. |
* master: (63 commits) go.mod: Update jackpal/gateway dependency (fixes syncthing#5288) (syncthing#6469) lib/protocol: faster Luhn algorithm and better testing (syncthing#6475) lib/protocol: Remove unused channel Connection.preventSends (syncthing#6473) lib/weakhash: Fix speed reporting in benchmark (syncthing#6470) build: Simplify/correct Windows version tagging (fixes syncthing#6471) (syncthing#6472) lib/ur: Use sysctl syscall to get RAM size on Mac (syncthing#6468) lib/model: Do Revert/Override synchronously (syncthing#6460) lib/syncthing: Save version to db after upgrade ops are done (ref syncthing#6457) (syncthing#6458) cmd/ursrv: Minor heatmap tweaks lib/model: Remove unused func (syncthing#6456) cmd/ursrv: Use OpenStreetMap and Leaflet for heat map (ref syncthing#6150) (syncthing#6454) cmd/ursrv: Provide cached locations.json authors: Fixup keevBush gui, man, authors: Update docs, translations, and contributors go.mod: Update quic-go to 0.14.4 (syncthing#6453) all: Pass db intervals as args not env vars (syncthing#6448) lib/api: Set ServerName on LDAPS connections (fixes syncthing#6450) (syncthing#6451) lib/model: Unset local flag on deleted files (fixes syncthing#6436) (syncthing#6449) gui: Improve unused device status (fixes syncthing#6416) (syncthing#6445) gui, lib/model: Fix for folder stats with r-o and ignoreDel (fixes syncthing#6430) (syncthing#6431) ...
When a Syncthing folder contains locally-changed-items, the red "Revert Local Changes" button is shown. When this button is pressed, it seemingly does nothing. When it is pressed for the second time, the local changes are reverted.
Screenshot: https://ibb.co/Nx3VkqY
The red button should work on the first press.
In fact, it might be just a GUI refreshing problem. The first press may actually work, but the second press of the button might be needed to refresh the GUI. However, it may be a different problem, because when I reloaded the GUI at the beginning and then pressed the red button (once), it worked correctly.
Version Information
Syncthing Version: v1.4.0
OS Version: Synology NAS DS416play (Linux x64)
Browser Version: Firefox 68.6.0esr
The text was updated successfully, but these errors were encountered: