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

Ignored files editor should include more instructions #7162

Closed
HanaGemela opened this issue Apr 25, 2019 · 9 comments
Closed

Ignored files editor should include more instructions #7162

HanaGemela opened this issue Apr 25, 2019 · 9 comments
Assignees
Labels
bug Design & UX p4-low Low priority ReadyToTest QA, please validate the fix/enhancement
Milestone

Comments

@HanaGemela
Copy link
Contributor

After adding a new pattern to Ignored files, a client has to be restarted. This should be mentioned in the description so that the users know when the changes will take effect

Steps to recreate:

  1. Go to General tab in the client
  2. Click on 'Edit Ignored Files' button
  3. Click on Add button
  4. Add a new pattern
  5. Click OK

Actual result: There is still the 'Needs syncing' icon in the file explorer against the ignored files
Expected result: User knows that the client has to be restarted to apply the changes

Capture

@ckamm ckamm added bug and removed Enhancement labels Apr 25, 2019
@ckamm ckamm added this to the 2.6.1 milestone Apr 25, 2019
@ckamm
Copy link
Contributor

ckamm commented Apr 25, 2019

@HanaGemela No client restart should be necessary. The changes definitely affect the next sync (which is triggered automatically). So this is probably a bug in the icons. Did you test with or without vfs? On windows, I assume?

@HanaGemela
Copy link
Contributor Author

On windows with vfs on
So the expected result should be: There is no icon in file explorer as the files are ignored

@ckamm
Copy link
Contributor

ckamm commented Apr 26, 2019

I tested like this but couldn't reproduce:

  1. Add ignore pattern "ignoreme", click ok.
  2. Add a file "ignoreme". Verify it has no icon after sync.
  3. Rename to different file name, verify it syncs.
  4. Rename back, verify icon is gone again.
  5. Edit ignore pattern to "ignoreme2", click ok.
  6. Verify file is synced.
  7. Edit ignore pattern back, click ok.
  8. Verify icon is gone after sync again.

@ogoffart
Copy link
Contributor

ogoffart commented Jun 4, 2019

maybe there was lots of file that needed to be synced. Or the discovery phase was very slow.
So the sync takes time and that's why it seems that it did not work immediatly.
(we do not refresh the icons until we get a state change from the syncengine IIRC)

@guruz
Copy link
Contributor

guruz commented Jun 5, 2019

(we do not refresh the icons until we get a state change from the syncengine IIRC)

Kind of related:
#5860
#4731

@ckamm
Copy link
Contributor

ckamm commented Jun 14, 2019

Could add a note along the lines of "changes take effect after the next time the folders are synchronized".

@ckamm ckamm added the p4-low Low priority label Aug 2, 2019
@ckamm
Copy link
Contributor

ckamm commented Aug 2, 2019

Updated description label to:

Files or folders matching a pattern will not be synchronized. Changes take effect the next time folders are synchronized.
Items where deletion is allowed will be deleted if they prevent a directory from being removed. This is useful for meta data.

ckamm added a commit that referenced this issue Aug 2, 2019
guruz pushed a commit that referenced this issue Aug 5, 2019
@ogoffart ogoffart added ReadyToTest QA, please validate the fix/enhancement and removed PR available labels Oct 15, 2019
@ogoffart
Copy link
Contributor

Is this now fixed?

@HanaGemela
Copy link
Contributor Author

Works as expected in 2.6.1daily20191127 (build 12732), Windows 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Design & UX p4-low Low priority ReadyToTest QA, please validate the fix/enhancement
Projects
None yet
Development

No branches or pull requests

4 participants