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

[stable15] Use slient option to switch for regular file actions as well #15131

Merged
merged 1 commit into from
Apr 17, 2019

Conversation

juliusknorr
Copy link
Member

Backport of #15057

When opening folders from the favorites quick access, the default file list is used instead of the OCA.Files.FavoritesFileList, therefore we also need to call OCA.Files.App.setActiveView` with the silent option to avoid events being triggered, that may lead to a race condition, where the filelist switches to the root folder after opening.

This is another fix for #13028 that was not catched by #14886

Note: Try testing without an open browser console, which seems to trigger the race condition more often. 🙈

Steps to reproduce:

  • Create folder 1 with subfolder 11
  • favorite folder 1
  • Unfold the favorites navigation
  • Click on Folder 1
    image
  • Click on Folder 11 in the main file list

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Apr 16, 2019
@rullzer rullzer merged commit 71b8fe5 into stable15 Apr 17, 2019
@rullzer rullzer deleted the stable15-15057 branch April 17, 2019 18:29
@rullzer rullzer mentioned this pull request Apr 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants