GNOME Bugzilla – Bug 703113
Plug-ins are queried on every launch
Last modified: 2013-11-05 14:51:41 UTC
Seems like all plug-ins are queried on every launch (I can verify that for four consecutive launches, at least). Is this a side-effect of the fix for bug #703065?
This could be the first broken installer which got stat() wrong. Can you check if the GIMP 2.8.6 installer that is now offered as "lastest" is the same you downloaded?
Oh hell I should look who is the bug reporter...
The other Windows bug reporter you might perhaps know ;-) is confirming this for the latest official GIMP 2.8.6/Win build.
On #gimp, we've researched that this affects 32 bit platforms only.
This should fix it in master and gimp-2-8, please test. commit 26fb257a191885068b7a478a63009a092aff62f4 Author: Michael Natterer <mitch@gimp.org> Date: Fri Jul 12 15:18:38 2013 +0200 Bug 703113 - Plug-ins are queried on every launch Port gimp_datafiles_read_directories() to GIO which seems to get its stat() calls right on all platforms. (cherry picked from commit 767a5a321708c4ca19bbf1e103a3988fcc404cc5) libgimpbase/Makefile.am | 4 ++-- libgimpbase/gimpdatafiles.c | 65 ++++++++++++++++++++++++++++++++++----------------------- 2 files changed, 41 insertions(+), 28 deletions(-)
*** Bug 704669 has been marked as a duplicate of this bug. ***
*** Bug 706573 has been marked as a duplicate of this bug. ***
I tested with Mike Hennings nightly builds of GIMP 2.8 and master from 3.10.2013 on Windows 7 (32 bit) and Windows 8 (64 bit). The bug doesn't occur anymore - ok.
While the stable nightly builds for Windows from 2.11.13 and 5.11.13 don't have this issue, the official GIMP 2.8.8 build for Windows still queries some plug-ins at startup. The most of it is gone, but the following plug-ins are queried: text-brush.py, python-eval.py, python-console.py, py-slice.py, palette-to-gradient.py, palette-sort.py, palette-offset.py, gradients-save-as-css.py, foggify.py, file-openraster.py and colorxhtml.py.
Created attachment 259003 [details] Output of gimp-2.8.exe --verbose
Can you compare these py files' timestamps against the ones cached in pluginrc?
Created attachment 259006 [details] Pluginrc The pluginrc doesn't contain these Python files. I checked back in the nightly builds. No surprise that they seem to work - they don't contain the Python scripts. After copying them from the official GIMP build the behaviour is the same.
I don't think it is useful to handle that in this bug. Are we even sure that the behavior is different to previous versions?
And I can't reproduce that at all with 2.8.8 on Windows XP 32 bit.
Indeed, on a WinXP/32 machine it runs through very fast and is almost not noticeable. On my Win7/32 machine the effect is clearly visible. It happens between the 'Tool Options' and 'extension-script-fu'. If needed I can post a short video. In GIMP 2.8.4 on Win7/32 only the item 'pyconsole.py' is shown for a short time. In GIMP 2.8.6 on Win7/32 the aforementioned Python scripts are among all other plug-ins that are re-queried on startup.
Resolving again, Python issue is being tracked in bug 711491.