You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Last known good Notepad3 version (regression only)
No response
Steps to reproduce
Open a file A.txt
Choose "设置"→"默认文件夹"→"设置为当前文件的文件夹"
Close the file.
Open a file from another place named B.txt
Close the file.
Try opening the third file
Expected behavior
As I've used from competitors (like Notepad4, Notepad++), it should follow where B.txt is placed and open a file there.
Actual behavior
While Notepad3 remembered where A.txt was placed and open a file from that folder.
Additional context
No response
Version & system info (paste from About dialog)
Notepad3 (x64) 7.26.1023.1 beta (a175a717)
Compiler: MS Visual C++ 2026 v18.11.(0-1) (VC v1951)
OS Version: Windows 10 Version 22H2 (Build 19045)
Windows Colors 'Dark-Mode' Theme is NO SUPPORTED.
Scintilla v567
Lexilla v554
PCRE2 v10.49
- Process is not elevated
- User is in Admin-Group.
- Locale -> zh-CN (CP:'ANSI (CP-936)')
- Default Encoding -> 'Unicode (UTF-8)'
- Current Encoding -> 'Unicode (UTF-8)'
- Screen-Resolution -> 1600 x 900 [pix]
- Display-DPI -> 96 x 96 (Scale: 100%).
- Main-Window -> top-left (136, 214), size 1146 x 671 [pix]
- Rendering-Technology -> 'GDI'
- Zoom -> 100%.
- Current Lexer -> '文本文件'
Confirmation
I searched existing issues and this is not a duplicate.
I can reproduce this on a clean install (or a fresh INI via Notepad3 /i), not only with my customized config.
If attaching Notepad3.ini: I've reviewed it for sensitive entries ([Recent Files], [Recent Find], [Recent Replace], Favorites=, DefaultDirectory=) and redacted what I don't want to share publicly.
5. To experience expected behaviour, do a Menu -> Settings -> Default Directory -> Reset to Default (Use Version with PR #6064) .
thanks for your quick fix! now when not setting default directory, even after creating a new file, opening a new file will also remember the last file's location
Activity
[-][Bug]: Recent Opened Files Not Remembered[/-][+]Recent Opened Files Not Remembered[/+]RaiKoHoff commentedon Oct 25, 2026
This is intended behaviour introduced with issue #5614 - choosing a default directory (your step 2.) defines that files directory to be the default.
RaiKoHoff commentedon Oct 25, 2026
To experience expected behaviour, do a
Menu -> Settings -> Default Directory -> Reset to Default(Use Version with PR #6064) .hTp34r commentedon Oct 25, 2026
thanks for your quick fix! now when not setting default directory, even after creating a new file, opening a new file will also remember the last file's location
hpwamr commentedon Oct 25, 2026
Hello @hTp34r ,
Feel free to test the "BETA PortableApps", "Notepad3Portable_7.26.1025.1_beta.paf.exe" -s or newer, see 1st list in issue #1129.
Also, feel free to test the "BETA Setup", "Notepad3_7.26.1025.1_beta_x64_Setup.7z" -s or newer, see 2nd list in issue #1129.
Comments and suggestions are welcome... 😃