Skip to content

Conversation

tsvietOK
Copy link
Contributor

@tsvietOK tsvietOK commented Apr 16, 2020

Get other default folders locations same way
Fixes #384

Get other default folders locations same way
@ghost ghost added the needs - code review label Apr 16, 2020
@lukeblevins lukeblevins self-requested a review April 16, 2020 17:30
@lukeblevins
Copy link
Contributor

@tsvietOK Excellent work! I didn't know UserDataPaths existed

@lukeblevins lukeblevins merged commit 548101b into files-community:develop Apr 16, 2020
@tsvietOK tsvietOK deleted the Downloads-folder branch April 16, 2020 17:32
lukeblevins added a commit that referenced this pull request Apr 16, 2020
* Fix new folder/file creation looses focus with each letter (#607)

* Fix Download folder location (#610)

Get other default folders locations same way

* Don't create folder or file if dialog was canceled (#608)

* Add Invert Selection, icons to status bar, fix folder navigation and remove space before .dll (#604)

* Remove space before .dll

* Add Invert Selection, fix folder navigation crash

Also fixes critical bug where a folder is deleted
if it's moved into itself and the user presses skip

* Add multiligual resources for new string

* Various fixes for v0.7.6 (#611)

* Prevent crash on opening new tab from folder

* Prevent opening multiple new tabs from blocking the UI

* Remove TabView Transition Animations

* Fix Item Thumbnails not Loading

* Ensure file type property is loaded

Co-authored-by: Vladyslav <tsvetkov_vlad@ukr.net>
Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
@yaira2
Copy link
Member

yaira2 commented Apr 17, 2020

This change actually doesn't do anything, we actually read this data from the registry and this issue has already been fixed. I think this pull request should be reverted.

@lukeblevins
Copy link
Contributor

@yaichenbaum I don't think we necessarily need to revert this because it does improve the detection of the downloads folder path. Before, we simply appended @"\Downloads" to the root user data folder path.

If it is still a problem after this PR, we can work on improving the registry detection, but for now it looks like a decent improvement. (Unless there are other objections)

@tsvietOK
Copy link
Contributor Author

@yaichenbaum I think you are not right. As i understand, this part with registry detection in Files.Launcher don't even running, try to debug Program.cs.

@yaira2
Copy link
Member

yaira2 commented Apr 17, 2020

@tsvietOK If that is the case we have some room for improvements in this area, if your change fixes the issue, then we should be able to remove the code from Files.Launcher.

@tsvietOK
Copy link
Contributor Author

tsvietOK commented Apr 17, 2020

@yaichenbaum it's smth strange, it is workig even if i change this vars to random symbols

image

@yaira2
Copy link
Member

yaira2 commented Apr 17, 2020

I think we need to move the startup task to the UWP project, we are changing the value of the settings there but the setting view model isn't updated.

@yaira2
Copy link
Member

yaira2 commented Apr 17, 2020

@tsvietOK Can you take a look at #614?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants