syncthing / syncthing/syncthing

"Revert Local Changes" doesn't resolve "unexpected items" status in GUI for receive encrypted

Open
#8,196 13 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
88.8k
Forks
5.5k
Avg merge
2d 10h
Merged PRs (30d)
5

Description

On a Receive Encrypted type folder, I had unexpected local changes, so the red button to revert them showed up. Choosing to proceed with reverting did not seem to do anything: the button and the local changes were still there. I then clicked the Rescan All button, but after completion the red button and local changes were still there. Only after refreshing the page in my browser, was the folder "Up to Date" and the button gone.

I expected the folder to show as "Up to Date" and the red "Revert Local Changes" button to be gone, without manually refreshing the page in my browser.

  • Syncthing v1.19.0 running on a Debian 10 server
  • Firefox Browser version 97.0 running on Ubuntu 20.04

NB: the button not working has previously been reported in #6436 and addressed in #6449, but it seems there is still a problem updating the GUI.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Receive Encrypted workflow in the GUI, including Revert Local Changes and Rescan All, using the reported browser and server setup if available. Compare the displayed folder status before and after a browser refresh; done means the folder becomes Up to Date and the red button disappears without a manual refresh.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.