Ticket #22 (new enhancement)

Opened 2 years ago

Last modified 2 years ago

Open files in read mode and re-read the file after it has been changed

Reported by: julbts@… Owned by: eros2
Priority: trivial Milestone: 2.0 and further
Component: Lucide Core Version:
Keywords: Cc:
Blocking: Blocked By:

Description

Open the files in "read" mode, so they can also be accessed by other programs and it is allowed to write the file while it is already opened by Lucide. If the file has changed it has to be re-read! This is needed to use it as PDF-Viewer when someone creates PDF files with VTEX/2 (LaTeX).

You have to compare the last saved timestamp with the current timestamp when the Lucide window will be activated. If you have a background thread that will check the timestamps in the background this would be an option too. Look at the GSView source, which is supporting this feature since ages.

Change History

Changed 2 years ago by eros2

  • milestone set to 2.0 and further

We use poppler library for reading pdf's, so we open files as poppler does it.

Moving to 2.0, we can think about that when we are bored.

Note: See TracTickets for help on using tickets.