Skip to content

After typing something in, dragging a file inside window will always open a new window #5938

Description

@hTp34r

Notepad3 version

Notepad3 (x64) 7.26.602.2 beta (da43ec0) Compiler: MS Visual C++ 2026 v18.6.2 (VC v1951) OS Version: Windows 11 Version 22H2 (Build 22621) Windows Colors 'Dark-Mode' Theme is NO SUPPORTED. Scintilla v562 Lexilla v549 PCRE2 v10.47 - Process is 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 -> 1920 x 1080 [pix] - Display-DPI -> 96 x 96 (Scale: 100%). - Main-Window -> top-left (336, 380), size 1362 x 674 [pix] - Rendering-Technology -> 'GDI' - Zoom -> 100%. - Current Lexer -> 'JSON5'

Build / architecture

x64

Windows version & build

Windows 11 Pro 22H2 (build 22621.1702)

Last known good Notepad3 version (regression only)

No response

Steps to reproduce

  1. First, open notepad3
  2. Second, randomly type something in the current window
  3. Then open a file by dragging this file into the window
  4. And notepad3 will somehow always open this file in new window

Expected behavior

It may happen 1 of these 3, depending on your settings:

  1. Open this file in new window;
  2. Overwhelm the current editing file in this window;
  3. Ask me whether to overwhelm

Actual behavior

  1. And notepad3 will somehow always open this file in new window

Additional context

I don't know whether I can change this settings somewhere, so I asked this for help. Many thanks! Or if there is no this setting, may it be better to add it into settings? Since sometimes we may discard what we are writing, or may not be disturbed by too many windows.

Version & system info (paste from About dialog)


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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions