Trying to drag tab to new instance with unsaved changes
-
I have noticed that I can now take tab and drag it outside window to make new instance of notepad++. Thank you.
There is only 2 bugs - I cant drag modified file and I cant drag new file from scratch.
-
I have noticed that I can now take tab and drag it outside window to make new instance of notepad++. Thank you.
That’s not a new feature in v8.9.7. It’s been there a long time (as long as I can remember *).
There is only 2 bugs - I cant drag modified file and I cant drag new file from scratch.
That’s inherent to the design (and nothing new, so not a regression, and thus shouldn’t be in the Release Announcement anyway)
To drag a file to a new instance, there needs to be an underlying file on the filesystem, with all the bytes that you want to open in the new instance, because what Notepad++ does is it launches a new instance of the executable, then uses the internal “file > open” command to read the original file off the disk, then closes the old copy from the old instance of Notepad++.
If there wasn’t a file on the disk, there would be nothing for the new instance to read; and if there are unsaved changes, then those changes would not be saved to the disk yet, so the new instance couldn’t read those. To protect you from losing all the unsaved text that you’ve already typed, Notepad++ doesn’t activate the “move to new instance” feature when you try to do it with unsaved changes (whether in a
new #document, or in an existing file with unsaved edits). The behavior you described is thus “working as designed” to keep you from unexpectedly losing your data, and thus not a bug (and definitely not a regression).
*: update: yes, I tried back to v8.0 in 2021 and even v7.0 from 2016, and I could drag a tab from the tabbar to a new instance, even from the 2016 version of the application. Having proven it worked that way a decade ago, I can confidently say that this is definitely not a new feature.
since this is not a new feature, and the problems you are describing are neither a problem with a new feature nor a regression in an existing feature, and they don’t belong in the “Notepad++ release 8.9.7” announcement, this question and reply have been forked to a separate “help wanted” topic.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login