Skip to content

Conversation

gave92
Copy link
Member

@gave92 gave92 commented Nov 1, 2020

Fixes #2174

This PR solves the issue of app hanging on start if a network drive is disconnected.
This is done by:

  • loading drive properties in an async method (with timeout) -> fix hang on app start
  • adding a timeout to EnumerateItemsFromStandardFolder after which a "Drive disconnected" dialog is shown -> fix hang is the user navigates to a disconnected drive

@yaira2 yaira2 self-requested a review November 2, 2020 00:32
@gave92 gave92 marked this pull request as ready for review November 2, 2020 01:19
@yaira2 yaira2 changed the title Fix hang when network drives are disconnected Fixed an issue that would occur when network drives were disconnected Nov 2, 2020
@yaira2 yaira2 merged commit f43c9e4 into files-community:master Nov 2, 2020
@gave92 gave92 deleted the networkdrives branch November 2, 2020 21:56
lukeblevins pushed a commit that referenced this pull request Nov 3, 2020
* Update translation (#2178)

* Use GetLocalized string extension from Windows Community Toolkit (#2180)

* Added an option to reorder pinned items in the sidebar (#2116)

Co-authored-by: Yair Aichenbaum <[email protected]>

* Fixed an issue where the 'Empty Recycle Bin' context menu was always grayed out (#2191)

* Updated the font size and opacity for the recent items widget (#2193)

* [#2190] - Checked for UnauthorizedAccessException on a selected directory (#2197)

* Update Files.hu-HU.xlf (#2200)

* Fixed a couple issues in ItemViewModel (#2189)

* Added a drives widget (#2196)

Co-authored-by: Marco Gavelli <[email protected]>

* Fixed an issue that would occur when network drives were disconnected (#2205)

* Updated the sidebar styles (#2209)

* Translation update [es-ES] (#2211)

* Added support for ARM64 devices (#2219)

* Added animations to the widgets (#2213)

Co-authored-by: Jaiganesh Kumaran <[email protected]>
Co-authored-by: DanielSlincak <[email protected]>
Co-authored-by: Yair Aichenbaum <[email protected]>
Co-authored-by: igoragm <[email protected]>
Co-authored-by: Kristóf Kékesi <[email protected]>
Co-authored-by: Richard <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

App takes too long frozen at start if network folders are offline.

2 participants