Skip to content

[BUG] Using a tab character when renaming an unsaved tab is problematic #15202

@alankilborn

Description

@alankilborn

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

See Steps To Reproduce.

Steps To Reproduce

  1. Get b4tab\tafterTab into your clipboard (where \t is not literal but is a true tab character)

  2. Right-click any new # tab and choose Rename from the popup menu

  3. Paste into the New name box in the Rename Current Tab dialog box, see:
    image

  4. Press OK to obtain:
    image

  5. Attempt to exit N++; receive this prompt:
    image

Current Behavior

A tab character gets into the tab/file name (and causes some problems).

Expected Behavior

Tab characters should be disallowed here.

Debug Information

Notepad++ v8.6.7   (64-bit)
Build time : May 12 2024 - 20:04:00
Path : C:\NotepadPlusPlus\Misc\_NoBackup\Releases\npp.8.6.7\npp.8.6.7.portable.x64\notepad++.exe
Command Line : -titleAdd="8.6.7 64-bit" -multiInst
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 11 Pro (64-bit)
OS Version : 23H2
OS Build : 22631.3593
Current ANSI codepage : 1252
Plugins : 
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)
    PythonScript (3.0.16)

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions