After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 703113 - Plug-ins are queried on every launch
Plug-ins are queried on every launch
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Windows Installer
2.8.6
Other Windows
: Normal normal
: 2.8
Assigned To: Jernej Simončič
Jernej Simončič
: 704669 706573 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-06-26 11:17 UTC by Michael Schumacher
Modified: 2013-11-05 14:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Output of gimp-2.8.exe --verbose (7.89 KB, text/plain)
2013-11-05 10:53 UTC, Max Mustermann
Details
Pluginrc (259.72 KB, text/plain)
2013-11-05 12:04 UTC, Max Mustermann
Details

Description Michael Schumacher 2013-06-26 11:17:04 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?
Comment 1 Michael Natterer 2013-06-26 12:30:29 UTC
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?
Comment 2 Michael Natterer 2013-06-26 12:31:17 UTC
Oh hell I should look who is the bug reporter...
Comment 3 Max Mustermann 2013-06-26 18:22:40 UTC
The other Windows bug reporter you might perhaps know ;-) is confirming this for the latest official GIMP 2.8.6/Win build.
Comment 4 Michael Schumacher 2013-06-27 08:28:56 UTC
On #gimp, we've researched that this affects 32 bit platforms only.
Comment 5 Michael Natterer 2013-07-12 13:23:48 UTC
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(-)
Comment 6 Michael Schumacher 2013-07-22 11:39:02 UTC
*** Bug 704669 has been marked as a duplicate of this bug. ***
Comment 7 Michael Schumacher 2013-08-22 12:25:57 UTC
*** Bug 706573 has been marked as a duplicate of this bug. ***
Comment 8 Max Mustermann 2013-10-04 19:00:55 UTC
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.
Comment 9 Max Mustermann 2013-11-05 10:50:59 UTC
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.
Comment 10 Max Mustermann 2013-11-05 10:53:30 UTC
Created attachment 259003 [details]
Output of gimp-2.8.exe --verbose
Comment 11 Michael Natterer 2013-11-05 11:21:21 UTC
Can you compare these py files' timestamps against the ones cached
in pluginrc?
Comment 12 Max Mustermann 2013-11-05 12:04:49 UTC
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.
Comment 13 Michael Schumacher 2013-11-05 13:04:50 UTC
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?
Comment 14 Michael Schumacher 2013-11-05 13:25:43 UTC
And I can't reproduce that at all with 2.8.8 on Windows XP 32 bit.
Comment 15 Max Mustermann 2013-11-05 14:25:51 UTC
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.
Comment 16 Michael Schumacher 2013-11-05 14:51:41 UTC
Resolving again, Python issue is being tracked in bug 711491.