Skip to content

Recent Opened Files Not Remembered #6061

Closed

Description

@hTp34r

Notepad3 version

7.26.1023.1

Build / architecture

x64

Windows version & build

Windows 10 22H2 (19045.6466)

Last known good Notepad3 version (regression only)

No response

Steps to reproduce

  1. Open a file A.txt
  2. Choose "设置"→"默认文件夹"→"设置为当前文件的文件夹"
  3. Close the file.
  4. Open a file from another place named B.txt
  5. Close the file.
  6. 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.

Activity

  1. changed the title [-][Bug]: Recent Opened Files Not Remembered[/-] [+]Recent Opened Files Not Remembered[/+] on Oct 25, 2026
  2. RaiKoHoff commented on Oct 25, 2026

    @RaiKoHoff
    Collaborator

    This is intended behaviour introduced with issue #5614 - choosing a default directory (your step 2.) defines that files directory to be the default.

  3. RaiKoHoff commented on Oct 25, 2026

    @RaiKoHoff
    Collaborator

    To experience expected behaviour, do a Menu -> Settings -> Default Directory -> Reset to Default (Use Version with PR #6064) .

  4. hTp34r commented on Oct 25, 2026

    @hTp34r
    Author

    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

  5. hpwamr commented on Oct 25, 2026

    @hpwamr
    Collaborator

    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... 😃

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions