Files reopen on start with external drives
-
Hi,
First of all your NP++ is a really awesome - super software! You make a great work!
But it have an one old and very annoying problem:
If user work with some external drive (as many now have external HDD/SSD/USBFlash/SDcard/etc) and open for example 10 files from a main internal drive and 10 from external - on next NP++ start program will open all of them - and it’s right!
But, if external drive will be TEMPORALLY unacceptable - NP++ will open only files that will be accessible at start moment.
Main problem that when NP++ will be closed - it will remember only files that will open at last start - so files from external drive will gone from auto-open.
And the most annoying problem - is that those files from external drives will not shows at list of recent files!!! :))))
For users that works with external drives its a really frustrating!Please, to resolve this bug:
or #1) add an auto-save-session function for for example 5-10 previous and different files-tabs sessions!
or #2) just add a check on start - if some of previously opened files are placed on a missing disk - don’t remove them from a session! Try to open those files on each start! So files from session will be removed only by a direct users command “close file”. ;)GL HF :)
-
a) I won’t call it a bug
b) if you want to have a fixed static list of files to be opened every time you need it save it as a session and load it accordingly or use projects …
c) loading something which wasn’t loaded previously is a bad idea as this might affect network files as well as deleted files as well. -
@justdudeone said:
And the most annoying problem - is that those files from external drives will not shows at list of recent files!!! :))))
Please open Notepad++ preferences dialog and ensure that the setting marked below is checked:
-
@Ekopalypse said:
a) I won’t call it a bug
b) if you want to have a fixed static list of files to be opened every time you need it save it as a session and load it accordingly or use projects …
c) loading something which wasn’t loaded previously is a bad idea as this might affect network files as well as deleted files as well.a) It’s an obvious flaw;
b) I DON’T want to have a FIXED list. Files list changes every session.
c) And what? File just can be loaded or cannot be loaded, this function will not crush program etc.@dinkumoil said:
Please open Notepad++ preferences dialog and ensure that the setting marked below is checked:
OK, thanks, this option will help to show last opened files even from a unaccessible drive.
But if there was not 1-3, but 5-10-15 files… better to add one of my solutions. I prefer #2.
-
It’s an obvious flaw;
It is not, it works as designed. This might not be how YOU want it to behave but
making everyone happy isn’t possible at all.I DON’T want to have a FIXED list. Files list changes every session.
You didn’t get my point here. If you know that the current list of files is of interest
in a next session with a possibility that few or all of them are not accessibly via start
save them in its own session list file which can be loaded at any time you want.And what? File just can be loaded or cannot be loaded, this function will not crush program etc.
Unfortunately it isn’t that easy.
This slows down the start of npp and depending on your
configuration it might happen that you have to wait up to 15 min for each file before
the next one gets loaded and remember what you said initially, it should remember those not available files, so this just means it will grow and grow and grow … -
Too much excuses.
Absent files mostly placed at external hard drives or sw mounted drives which connects directly to this pc (usbflash,hdd,ssd,etc) via a fast interface (USB2,USB3,TB3,SATA,PCIE) so opening or not opening of those text files takes just about a 1ms.
Also can be added a check to clear files from “auto-open files at start” after month of absent or something like that.
You must not try to reject useful requests, but try to resolve them by automated solutions.
-
Too much excuses.
I would say arguments but …
Absent files mostly placed at external hard drives or sw mounted drives which connects directly to this pc (usbflash,hdd,ssd,etc) via a fast interface (USB2,USB3,TB3,SATA,PCIE) so opening or not opening of those text files takes just about a 1ms.
In your case this might be true but you are ignoring that others do things different
You must not try to reject useful requests, but try to resolve them by automated solutions.
Why, did you pay me something to do this?
Did you try to search on the forum a see what I’ve done in the past?
Are you aware that I’m not a npp maintainer?But I guess I get your point, you want it to behave like you want it to have
and ignore what others want, they don’t count. -
@Ekopalypse said:
In your case this might be true but you are ignoring that others do things different
Most users now have some external drives (as I already say 3 times) and often those drives can be not pluged-in, not mounted, etc so with NP++ start files session will be spoiled.
Why, did you pay me something to do this?
Did you try to search on the forum a see what I’ve done in the past?
Are you aware that I’m not a npp maintainer?But I guess I get your point, you want it to behave like you want it to have
and ignore what others want, they don’t count.Again - too much excuses-prevarications.
Just add one of already 3 solutions to resolve this old and obvious problem.
-
Most users now have some external drives (as I already say 3 times) and often those drives can be not pluged-in, not mounted, etc so with NP++ start files session will be spoiled.
Yes, you keep repeating yourself and keep ignoring my arguments why I think your idea might be not as good as you think.
Again - too much excuses-prevarications.
Just add one of already 3 solutions to resolve this old and obvious problem.Another proof that you either don’t read or understand what I’ve posted before.
-
@justdudeone
I think you should read @Ekopalypse arguments carefully.But let me try to give you a specific example:
- I fetch everyday a nightly log from our build server named build_<date>.log. E.g. build_18082019.log.
- I open it with Notepad++ and observe it.
- I close Notepad++.
- I delete the file since I no longer need it locally.
With your proposed solution within a year Notepad++ will remember within its auto-session 365 files that will never reappear again and spend considerable amount of time trying to open each of these files. I will not be aware of this list of files that Notepad++ tries to open in the background (other then noticing that Notepad++ becomes SLOW). The example could be modified to using files over network shares which can be even more catastrophic due to occasional VERY long network timeouts.
Try to be a little less egocentric and realize that Notepad++ needs to balance different requirements of thousands of usage patterns.