Notepad3 icon indicating copy to clipboard operation
Notepad3 copied to clipboard

Ask too many times for if wants to save deleted file

Open kice opened this issue 4 years ago • 8 comments

As the title, I often open files directly from compression file, like WinRAR, which create temporary files. After closing the compression file, temporary files are also removed.

It looks like Notepad3 will check the file stats every few seconds, and ask the user if the file was deleted every few seconds as well, somethings I cannot close Notepad3 due to the pop ups were shown too frequently.

And if I recall correctly, there are also some same kind of issues to this, mostly are asking for some actions every few seconds.

kice avatar Jul 22 '21 17:07 kice

Just disable it: Menu -> Settings -> File Change Notification... (Alt+F5) set to None . (Maybe you want to set to None and "uncheck" Reset if a new file is opened. - do explicit save config (F7) after changing this).

RaiKoHoff avatar Jul 22 '21 18:07 RaiKoHoff

I mean I still want those notifications, but just not ask me every few seconds

kice avatar Jul 23 '21 10:07 kice

Hello @kice ,

Feel free to test the "BETA/RC PortableApps", version "Notepad3Portable_5.21.724.1_beta.paf" or newer, see 1st list in issue #1129.

"Notepad3Portable BETA/RC PortableApps" version can be used with or without ".7z" extension.

Also, feel free to test the "BETA/RC Setup", version "Notepad3_5.21.724.1_beta_Setup" or newer, see the 2nd list in issue #1129.

Comments and suggestions are welcome... 😃

hpwamr avatar Jul 24 '21 21:07 hpwamr

I put my computer to sleep every night and every morning I get "file deleted" notification for every (network) file once PC wakes up :/ Could you add some timeout for network files after system wakes up or do some other workaround (like more consecutive checks with some delay) to get rid of those warnings but still be warned when file gets changed?

tkrzek avatar Sep 23 '21 05:09 tkrzek

PR #3673 will allow to disable the actively polling of file changes (every 2 sec) by default. Needs setting [Settings2] FileCheckInverval=0 (or removal of this key-value - new default is zero(0)). Notepad3 then relies only on directory change notifications send by the system and then checking the current file for change explicitly (if file change notifications are enabled). While this is sufficient for normal external file changes, continuously updated files (e.g. logging) are not notified in time. Using the "Monitoring Log" temporarily enables the actively polling of file for this mode. Not enabling actively polling file changes by default saves extra computation time every 2 seconds.

Ed.: Hope that solves the problems with the network file shares. It will not work, if system issues a directory change notification on missing net-share availability (and triggered file change check does not find the file) 🤔

RaiKoHoff avatar Sep 24 '21 08:09 RaiKoHoff

Hope that solves the problems with the network file shares.

Hello @kice ,

Feel free to test the "BETA/RC PortableApps", version "Notepad3Portable_5.21.924.1_beta.paf" or newer, see 1st list in issue #1129.

"Notepad3Portable BETA/RC PortableApps" version can be used with or without ".7z" extension.

Also, feel free to test the "BETA/RC Setup", version "Notepad3_5.21.924.1_beta_Setup" or newer, see the 2nd list in issue #1129.

Comments and suggestions are welcome... 😃

hpwamr avatar Sep 24 '21 12:09 hpwamr

PR #3673 will allow to disable the actively polling of file changes (every 2 sec) by default. Needs setting [Settings2] FileCheckInverval=0 Ed.: Hope that solves the problems with the network file shares. It will not work, if system issues a directory change notification on missing net-share availability (and triggered file change check does not find the file) 🤔

it didn't help for network files (tested on v5.21.927.1 beta)

tkrzek avatar Oct 21 '21 06:10 tkrzek

Hello @tkrzek ,

Feel free to test the "BETA/RC PortableApps", version "Notepad3Portable_5.21.1021.1_beta.paf" or newer, see 1st list in issue #1129.

"Notepad3Portable BETA/RC PortableApps" version can be used with or without ".7z" extension.

Also, feel free to test the "BETA/RC Setup", version "Notepad3_5.21.1021.1_beta_Setup" or newer, see the 2nd list in issue #1129.

Comments and suggestions are welcome... 😃

hpwamr avatar Oct 21 '21 16:10 hpwamr