close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 20 years ago

Closed 20 years ago

#288 closed enhancement (fixed)

To detect when a file has been changed

Reported by: jimarin Owned by: ofernandez
Priority: normal Milestone:
Component: Interface Version: head
Severity: minor Keywords:
Cc:

Description

Hi there,

an enhancement:

User (A) opens file (F)
User (B) opens file (F)

User (B) modifies and saves file (F)
User (A) modifies and saves file (F) <-- User (B) has lost his/her work

Could it be made that when saving a file user is notified that it has been changed
in the meantime?

An example of this would be:

User (A) is to save file (F) but it is notified that someone has changed it.

The editor gives (A) the option to load the file.

This would mean that (A) looses his/her work but it could be an advantage if (B)
did more than (A).

Cheers !

jima

PS.
Please don't tell me this is also to be left till the editor is changed as you did with
the indent enhancement.

:):):)

Change History (4)

comment:1 Changed 20 years ago by Javier Portugal

Owner: changed from Javier Portugal to ofernandez

We can do another thing. When a file is open in tol editor it can be blocked (and
released when editor is closed) and if other user tries to open it while its blocked,
he's notified and only can open this file for reading.
With this method nobody looses his work.
What do you think?

comment:2 Changed 20 years ago by jimarin

For me that would do...

the important point is to see that nobody does an overwrite without noticing it...

the point I suggested is complementary to the one you propose, so both can be
implemented

best regards

jima

comment:3 Changed 20 years ago by ofernandez

Status: newassigned

comment:4 Changed 20 years ago by ofernandez

Resolution: fixed
Status: assignedclosed

The editor takes the time of modification of the file opened and notices the user if
the file has been modified.
I have discarded the option of the blocking by the problems derived if crash
tolbase when a file is blocked.

Note: See TracTickets for help on using tickets.