-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add OpenFolderDialog #3967
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
Add OpenFolderDialog #3967
Conversation
Sorry, this is just a bad copy&paste implementation that does not fit into the framework. |
This was requested since nearly 2 years. Nobody bothered to add a PR for it, including yourself. Instead of downvoting my PR and calling it "bad" without giving any argument, you should make it better then. At least I'm trying to solve the problem, what's your excuse? |
if (folder != null) | ||
dialog.SetFolder(folder); | ||
} | ||
catch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we catch all exception?
/// Gets or sets a value that controls whether to show or hide the list of places where the user has recently opened or saved items. | ||
/// Default value is true. | ||
/// </summary> | ||
public bool AddToMruList { get; set; } = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May I know what "Mru" is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
most recently used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. But I don’t think abbreviations are suitable here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Names were taken from WindowsAPICodePack
@Symbai My excuse is quality expectations. I am not submitting a PR if I cannot test the code is even working. If there is anything worse than a project not accepting PRs it is a project accepting anything. The folder dialog seems to be a heated topic and there is a pressure from the community to demonstrate commitment, and since it was flagged for review I wanted to note that this implementation does not meet the expectations of at least some of us. That said, I could have been more constructive in the reasoning, so please accept my apologies, here are some of the reasons I am unhappy with this PR (in no particular order):
Here is an alternative implementation with minimal impact on the existing codebase: master...miloush:PickFolderFileDialog |
Great, go ahead and make a PR then. |
Fixes #438
Usage: