Cannot Visibly Fully Sync When Using Ignore Patterns

I introduced this bug/feature on Github, but it got redirected to the forums here.

I am currently using Syncthing to sync GOG (gog.com) local downloads between one Windows 10 computer and another Ubuntu 18.04 based computer and the following combination seems to always display that 100% of files are not synced eventhough when I check the folders it seems to have synced. I think this issue is that I have the following ignore pattern:

!**Downloads
**

What I think I am doing here is saying, inside of the folder only sync the contents of the folders (recursively) that match the name “Downloads” and nothing else.

This seems to cause the folder to be locked at a certain percent synced eventhough I was able to sync all of the files I intended to sync. It seems the percentage displayed doesnt take into consideration that the ingore files should not be included in the displayed total percentage (in my opinion).

Note that I do NOT want to auto delete files that I don’t intend to sync. I just thought I would report this issue because Syncthing does not seem to be displaying the correct sync percentage in this case.

It would probably help greatly if you could attach screenshots of the GUI from both sides, and log files too, if possible.

Also, because Ubuntu is involved, please check that you are running the newest version of Syncthing there, and not the super old one that is included in the default repository.