notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
[Feature request] Remember multiple instances and virtual desktop
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Is there an existing issue for this?
- I have searched the existing issues
Description of the Issue
It's great that Notepad++ remembers which files where open and also remembers unsaved files when Windows (unexpectedly or on updates) reboots. However, many people organize their work and as such are working with different desktops and different notepad++ instances. Notepad++ however only remembers one instance and ignores all others, opening it in the current dekstop when restarting notepad++. The first editor that does remember the desktop it was on and re-opens everything as it was before will be my #1 editor for everything! Currently normal notepad just opens everything on one desktop (horrible, need to move all those windows to the right dekstop) and notepad++ is ignoring other instances that where open (more horribly as not everything is re-opened and possible unsaved files are lost).
Describe the solution you'd like.
When re-starting notepad++ after (unexepected) shutdown, re-open all the different instances of notepad++ and also on the desktop on which they were open previously.
Debug Information
Notepad++ v8.6.8 (64-bit)
Build time : Jun 4 2024 - 00:30:00
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "X:\test\trial01\start.bat" -multiInst -nosession -lbatch -n1 -c1
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : OFF
OS Name : Windows 11 Pro (64-bit)
OS Version : 23H2
OS Build : 22631.4169
Current ANSI codepage : 1252
Plugins :
ComparePlugin (2.0.2)
HexEditor (0.9.12)
mimeTools (3.1)
NppConverter (4.6)
NppExport (0.4)
Anything else?
Best feature request ever! This is what everybody wants!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source files, tests, or entry points. Start by tracing Notepad++ session restoration and Windows virtual-desktop handling; done means restoring every previously open instance on its prior desktop after an unexpected shutdown, including unsaved files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100