Rev 246 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 246 | Rev 247 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | Status: FIXED (Workaround) in FilterFoundry 1.7 |
36 | Status: FIXED (Workaround) in FilterFoundry 1.7 |
37 | 37 | ||
38 | The reason is a bug in PSPI: The host should preserve the value of pb->parameters, which PSPI doesn't do. |
38 | The reason is a bug in PSPI: The host should preserve the value of pb->parameters, which PSPI doesn't do. |
39 | Also, all global variables are unloaded, so the plugin cannot preserve any data. |
39 | Also, all global variables are unloaded, so the plugin cannot preserve any data. |
40 | 40 | ||
41 | Workaround in FF 1.7: If the host GIMP is detected, the new flag persistent_savestate will be set. |
41 | Workaround in FF 1.7: If the host GIMP is detected, the new function "host_preserves_parameters" returns "true". |
42 | This mode saves the filter data into a temporary file "tmp.afs" and loads it |
42 | This mode saves the filter data into a temporary AFS file and loads it |
43 | when the window is opened again. |
43 | when the window is opened again. |
44 | 44 | ||
45 | Exactly the same problem applies to the IfanView 8BF host. |
45 | Exactly the same problem applies to the IfanView 8BF host. |
46 | 46 | ||
47 | 4. Saving does not work |
47 | 4. Saving does not work |
Line 60... | Line 60... | ||
60 | resemble the actual space GIMP can assign to the plugin. |
60 | resemble the actual space GIMP can assign to the plugin. |
61 | In Photoshop, maxSpace is 825 MB. |
61 | In Photoshop, maxSpace is 825 MB. |
62 | 62 | ||
63 | Workaround in FF 1.7: If GIMP/PSPI is detected, the adjustment of the zoom level is disabled. |
63 | Workaround in FF 1.7: If GIMP/PSPI is detected, the adjustment of the zoom level is disabled. |
64 | 64 | ||
65 | 6. Standalone filters don't work |
65 | 6. Standalone filters don't work correctly |
66 | 66 | ||
67 | Status: Currently no solution!! |
67 | Status: FIXED (Workaround) in FilterFoundry 1.7 |
68 | 68 | ||
69 | PSPI does not preserve the data of the EntryPoint argument "intptr_t *data". |
69 | PSPI does not preserve the data of the EntryPoint argument "intptr_t *data". |
70 | Therefore, the global data (gdata) object cannot preserved, |
70 | Therefore, the global data (gdata) object cannot preserved, |
71 | and the standalone plugin doesn't "know" that it is a standalone plugin. |
71 | and the standalone plugin doesn't "know" that it is a standalone plugin. |
- | 72 | Exactly the same problem applies to the IfanView 8BF host. |
|
- | 73 | => The handling in checkandinitparams() has been changed to address this issue. |
|
72 | 74 | ||
73 | Furthermore, the preserved "pb->parameters" are in a TEMP file which has |
75 | Furthermore, the preserved "pb->parameters" are in a TEMP file which has |
74 | the same name for each FilterFoundry plugin. Therefore, the "pb->parameters" |
76 | the same name for each FilterFoundry plugin. Therefore, the "pb->parameters" |
75 | are shared between main plugin and all standalone plugins. |
77 | are shared between main plugin and all standalone plugins. |
76 | - | ||
77 | Exactly the same problem applies to the IfanView 8BF host. |
78 | => In FilterFoundry 1.7.0.4, the file name will contain a hash of the plugin |
- | 79 | or 0 for the main plugin. |