-
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
NP++ 7.9.4 File doesn't save as extension type (win 7) #9657
Comments
Yes, it should have been fixed. Windows7.mp4Could you, please, record a video? |
Apologies, I should have noted the exact process. I always use keyboard shortcuts so the exact process to reproduce is: ALT -> F -> A -> this for for the "Save As..." menu, then I type my filename and hit Return. The CTRL+ALT+S shortcut will also replicate the issue. |
@EatDesk Can you try with fresh portable version? Maybe something is wrong with the settings. I can't reproduce in:
|
You're right it doesn't occur with a fresh portable version. However that allowed me to find the setting that was causing this, it was the default save file directory apparently: Settings > Preferences > Default Directory: C:\Users\EatDesk\Desktop If I switch portable to that directory the bug also occurs as it does with my installed version. If I change the Default Directory to C:\Users\EatDesk\Desktop\Test the bug doesn't occur in either my installed version or portable. |
I've just tried the scenario with setting Desktop as the Default Directory locally. Looking into it... |
@EatDesk One more question.
Because for me the issue occurs only when I press Return key. |
Initialize file dialog window procedures later so that all the controls have been created by this moment. Fix notepad-plus-plus#9657
@EatDesk You can check the issue again with the build artifacts from the PR above (if you want). |
I tested the build and it is resolved from my testing, thanks for looking into it. It's quite amusing that my normal usage was the perfect chain to trigger the bug.
I don't know if you needed an answer to this anymore but yes I have the same findings. |
Thanks for confirmation. |
Yes, if/when the change is accepted via the PR (and it should be), this issue will get closed as well. |
Description of the Issue
Same issue as #9510
Should have been fixed by f96d81a unless I misunderstand?
Unfortunately the commit did not fix the issue on win 7 at least.
In Notepad++ 7.9.2 I can do "Save as", file name: "lol" and "Save as type": "Normal text file (*.txt)" and the output file will be "lol.txt". Choosing the same options in 7.9.4 and the output file is named "lol" with no extension.
I don't have the option "Set Save dialog file extension filter to *.*" checked.
Steps to Reproduce the Issue
Edit for exact steps:
ALT -> F -> A -> this for for the "Save As..." menu, then I type my filename and hit Return.
The CTRL+ALT+S shortcut will also replicate the issue.
Expected Behavior
Above
Actual Behavior
Above
Debug Information
Notepad++ v7.9.4 (64-bit)
Build time : Mar 15 2021 - 01:03:10
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : ON
Local Conf mode : OFF
OS Name : Windows 7 Ultimate (64-bit)
OS Build : 7601.0
Current ANSI codepage : 1252
Plugins : mimeTools.dll NppConverter.dll NppExport.dll
The text was updated successfully, but these errors were encountered: