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
(Yes, this is a really minor error, but I wanted to document it here anyway, in case anyone cares. As with my previous bug report, I seriously doubt many people will.)
Normally, while editing a file, that file's path is removed from the Recent Files list until it is closed, but if the file is opened indirectly as the consequence of a Save As action on a different file, the tab changes to the different file name, but the second file name remains in the list. It is my impression that the Recent Files list is intended to only contain files that aren't currently open, but this situation violates that principle.
Steps to Reproduce the Issue
Create, save, and close two files from NPP, e.g. one.txt and two.txt. Verify that the two files both appear in the Recent Files list.
Open one.txt. Verify that its path disappears from the Recent Files list while NPP has it open for editing.
Select Save As from the File menu (not Save a Copy As or Close). In the dialog box that appears, navigate to the location of two.txt, select it, and click Save. When NPP asks if you want to replace two.txt, click Yes.
Examine the Recent Files list again.
Expected Behavior
one.txt should appear in the Recent Files list, but two.txt should not, because it is currently open and being edited.
Actual Behavior
Both one.txt and two.txt are in the Recent Files list.
The text was updated successfully, but these errors were encountered:
SinghRajenM
added a commit
to SinghRajenM/notepad-plus-plus
that referenced
this issue
Jan 4, 2022
Description of the Issue
(Yes, this is a really minor error, but I wanted to document it here anyway, in case anyone cares. As with my previous bug report, I seriously doubt many people will.)
Normally, while editing a file, that file's path is removed from the Recent Files list until it is closed, but if the file is opened indirectly as the consequence of a Save As action on a different file, the tab changes to the different file name, but the second file name remains in the list. It is my impression that the Recent Files list is intended to only contain files that aren't currently open, but this situation violates that principle.
Steps to Reproduce the Issue
one.txt
andtwo.txt
. Verify that the two files both appear in the Recent Files list.one.txt
. Verify that its path disappears from the Recent Files list while NPP has it open for editing.Save As
from theFile
menu (notSave a Copy As
orClose
). In the dialog box that appears, navigate to the location oftwo.txt
, select it, and clickSave
. When NPP asks if you want to replacetwo.txt
, clickYes
.Expected Behavior
one.txt
should appear in the Recent Files list, buttwo.txt
should not, because it is currently open and being edited.Actual Behavior
Both
one.txt
andtwo.txt
are in the Recent Files list.The text was updated successfully, but these errors were encountered: