Opened 5 years ago

Last modified 3 years ago

#810 new defect

File monitoring issue

Reported by: yakudzo Owned by:
Priority: minor Milestone:
Component: editor Version: 0.82
Keywords: Cc:

Description

v5.8.8 built for i686-linux-thread-multi
Wx Version=(0,94) wxWidgets 2.8.10 unicode=(1)

steps to reproduce:
1)
Open padre create new file save it.
remove file from disk. >rm file
Go back to padre. It will show no reaction on this
2)
Create directory e.g. padre_test
open padre create new file save it in padre_test
Go to console remove folder: rm -rf padre_test
If you go back to file in padre it will crash

Attachments (2)

deleted.png (8.5 KB) - added by wwe 3 years ago.
deleted file
changed.png (8.6 KB) - added by wwe 3 years ago.
changed file

Download all attachments as: .zip

Change History (4)

comment:1 Changed 5 years ago by yakudzo

Also look at ticket #786

Changed 3 years ago by wwe

deleted file

Changed 3 years ago by wwe

changed file

comment:2 Changed 3 years ago by wwe

  • Priority changed from major to minor
  • Version changed from 0.53 to 0.82

the situation has changed now at least on WinXP and 0.82. The monitoring works fine and the user receives file change notification if the file is deleted or changed.
If the file is changed the user can reload the file from disk or stay with current content. In case of file is deleted there is also an option to reload the file which end with an empty tab. If the user edits the contents and saves the file a new file is created with the old name.

I think in case the file is deleted the option to reload the file should be changed to 'Close File' which ends in exit editing without saving the content.

Note: See TracTickets for help on using tickets.