-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Save/Open (including Save/Load Session) file dialogs don't accept forward slashes in 'File name:' box #9374
Comments
I would like to work on this issue. Could it be assigned to me? |
It seems that common item dialogs don't allow a custom validation of the file name.
Neither of those works. The warning is shown nevertheless: It seems the advanced features like file name validation is hidden intentionally by design. So now I'm trying more tricky ways. |
I suppose waiting on this experimentation (to see if winXP still needs to be supported) is the smart thing at the moment. |
@sasumner cap2.mp4Workaround with hiding the "Save" button is even trickier than I thought. It restricts the button's position so it is being clipped when moved. Now I am thinking about adding a custom child button, not through the IFileDialogCustomize. How important is it to have that Unix-like path feature? |
Just for the reference: |
To me? Not important at all. :-) However, I stated before (I think) that it would be nice to be able to get rid of the Use new style... preference setting, and the only reason I can see that it still exists relates to being able to use |
The term "Navigate" isn't that intuitive for converting paths. I'm liking the brainstorming you're doing, however; keep it up! :-) |
+1 for @sasumner.
It's important because it's existed since longtime ago and this feature is used by people.
I could not agree more. |
Ok, thanks for the input. |
In the file dialog, override window procedure for "OK" button and file name edit box to check for input. Transform forward slash file name to a Window path after input. Fix notepad-plus-plus#9374
Sorry I just modified the issue title because it's more interesting to have all the Save/Open dialog to have such capacity. |
Maybe it makes sense to create a separate issue to extend the scope of CustomFileDialog to Open/Save dialogs.
I don't mind doing it in the scope of a single issue though. |
I see your point. |
In the file dialog, override window procedure for "OK" button and file name edit box to check for input. Transform forward slash file name to a Window path after input. Fix notepad-plus-plus#9374
In the file dialog, override window procedure for "OK" button and file name edit box to check for input. Transform forward slash file name to a Window path after input. Fix notepad-plus-plus#9374
In the file dialog, override window procedure for "OK" button and file name edit box to check for input. Transform forward slash file name to a Window path after input. Fix notepad-plus-plus#9374
The option isn't available since FileDialog was removed. For more context, see discussion in notepad-plus-plus#9403 and notepad-plus-plus#9374
The option isn't available since FileDialog was removed. For more context, see discussion in notepad-plus-plus#9403 and notepad-plus-plus#9374
The option isn't available since FileDialog was removed. For more context, see discussion in notepad-plus-plus#9403 and notepad-plus-plus#9374 Close notepad-plus-plus#9449
Description of the Issue
Post integration of PR #9286, I noticed that the SaveAs dialog used when saving a session does not support forward slashing in the pathname. It would be nice if such slashing were allowed.
Steps to Reproduce the Issue
Expected Behavior
To be able to use either forward (
/
) or backward (\
) slashes in pathnames in the SaveAs (and Open) dialogs.Actual Behavior
Unable to use forward slashes.
Debug Information
Notepad++ source after this commit: b9f498f
The text was updated successfully, but these errors were encountered: