Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Redirect to open the same file when using multiple windows (multiple instances)? #15103

Open
1 task done
Norlandz opened this issue May 7, 2024 · 0 comments

Comments

@Norlandz
Copy link

Norlandz commented May 7, 2024

Is there an existing issue for this?

  • I have searched the existing issues

related:
#14030

Description of the Issue

Redirect to open the same file when using multiple windows (multiple instances)?

Give:

you have 2 files, AA BB.

you double click & open AA in one window WW
you double click & open BB in another window TT
each window has only 1 file -- 1 tab -- no other tabs

you are editing BB, didnt save it
you leave & do something else

Now, Problem:

you come back
you double click & open BB again,
due to the config of multiple instances (multiple windows)
-> you actually opens another instance of BB -- BB2

you are unaware of it, and you start editing BB2
and later you found BB2 is missing things
->now you have 2 conflicting versions of file, BB & BB2 -- BAD

  • (even worse, this BB2 can sometimes be opened in window WW with AA, even harder to notice)

Describe the solution you'd like.

Solution:

you are editing BB, didnt save it
you leave & do something else

Now, Problem:

you come back
you double click & open BB again,

-> Npp redirects to open the same file BB -- GOOD

Debug Information

Notepad++ v8.6.5   (64-bit)
Build time : Mar 29 2024 - 17:04:43
Path : E:\Notepad++\notepad++.exe
Command Line : "C:\Users\Azeri\Desktop\docNote.txt"
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : OFF
OS Name : Windows 10 Home (64-bit
OS Version : 22H2
OS Build : 19045.4170
Current ANSI codepage : 936
Plugins : 
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)

Anything else?

Example:

Setting:
image

Given:
image

Open BB again & edit -- conflict:
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant