notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

File rename fails when changing case

Open
#3,615 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
29.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Description of the Issue

I'm trying to rename a file to change the filename from lowercase to the identical name in uppercase.

Steps to Reproduce the Issue
  1. Create a file named "indexes.txt"
  2. Right-click on file tab in Notepad++, select "rename"
  3. Rename file to "INDEXES.txt"
  4. Click "yes", that you want to overwrite file
Expected Behavior

Case of filename is changed from "indexes.txt" to "INDEXES.txt"

Actual Behavior

Nothing occurs

Debug Information

Notepad++ v7.3.2 (32-bit)
Build time : Feb 12 2017 - 23:15:39
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 10 (64-bit)
Plugins : mimeTools.dll NppConverter.dll NppExport.dll PluginManager.dll

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in Notepad++ on Windows using the tab context-menu Rename action and the lowercase-to-uppercase filename change described above. Trace the rename handling from that action, then verify that the filename's case changes without unintended overwriting; add or run a regression test if the repository provides coverage for this behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.