View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003503 | Scribus | Import / Export | public | 2006-03-24 21:39 | 2016-05-23 00:28 |
Reporter | cbradney | Assigned To | |||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Product Version | 1.3.4cvs | ||||
Target Version | 1.6 milestone | ||||
Summary | 0003503: FileWatcher removes item preview if file save in another app takes too long | ||||
Description | Load a large, eg 2-5mb, image into an image frame. Edit in Gimp. When saving, Scribus will usually detect a change and if the file is not saved in time, the frame gets the red cross, ie image linked, but image missing. To fix in 1.3.4. | ||||
Tags | No tags attached. | ||||
Patch | No | ||||
|
Simply increasing the timeout wont really help either, as images will get larger and larger as digital cameras get better. Also, the refresh timeout could be smaller for small images so a smarter method needs to be worked out. A shortcut for a signal to rescan might be useful too. |
|
It might be interesting to look at the file size. Once FileWatcher detects a change, it can poll the file until the following conditions are true: (a) file size is non-zero (with LONG timeout for failed saves) (b) file size has not increased for last n polling intervals If both of those are true it is likely that the save has finished, and we can update the image. Sound reasonable? |
|
or something like fuser command does. resp. something like this... |
|
Peter, do you mind testing ? |
|
Tested: Linux Mint 17.3; r21264; pictures: 20-60Mb I can reproduce! I have already experienced, but rarely. During testing 1x occurred (but the phenomenon exists). |
|
Thanks. assigning to 1.6 milestone |
Date Modified | Username | Field | Change |
---|---|---|---|
2006-03-24 21:39 | cbradney | New Issue | |
2006-03-24 21:40 | cbradney | Note Added: 0009467 | |
2006-03-27 02:11 |
|
Note Added: 0009487 | |
2006-03-27 02:11 |
|
Status | new => confirmed |
2006-03-27 16:40 | subik | Note Added: 0009498 | |
2006-05-04 20:51 | cbradney | Relationship added | has duplicate 0003747 |
2007-04-12 16:09 | christoph_s | Relationship added | related to 0005548 |
2016-05-21 18:00 | Kunda | Note Added: 0041290 | |
2016-05-22 07:42 | PeterBenedek | Note Added: 0041294 | |
2016-05-23 00:28 | Kunda | Patch | => No |
2016-05-23 00:28 | Kunda | Note Added: 0041320 | |
2016-05-23 00:28 | Kunda | Target Version | => 1.6 milestone |