Skip to content

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.

6 participants