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 752529 - background processes hinder my System to shut down.
background processes hinder my System to shut down.
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: Plugins
2.8.14
Other Mac OS
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2015-07-17 12:57 UTC by Jo
Modified: 2018-05-24 15:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Gimp Plugin processes (29.28 KB, application/zip)
2015-07-24 14:35 UTC, Jo
Details
shutdown scenario (125.87 KB, image/jpeg)
2015-10-19 20:54 UTC, Jo
Details

Description Jo 2015-07-17 12:57:08 UTC
On Mac, Script-fu and Python-fu run as separate processes aside Gimp. 
These processes hinder my Os to shut down, if i miss to quit Gimp manually.
Comment 1 Michael Schumacher 2015-07-20 12:33:22 UTC
And the gimp process itself doesn't do that? Are the two processes indicated as belonging to the gimp process while they are running? Does this happen with the build from gimp.org?
Comment 2 Jo 2015-07-21 11:15:44 UTC
(In reply to Michael Schumacher from comment #1)
> And the gimp process itself doesn't do that? 

Gimp itself behaved normally when i got that bug. 

> Are the two processes indicated as belonging to the gimp process while they are running? 

Gimp activates python-fu or script-fu whenever you start to invoke plugins. They stand in you dock until you quit Gimp. Dont know the relations of Gimp with plugins, but i guess that Python scripts are less bound to Gimp.

Does this happen with the build from gimp.org?

both builds launch plugins as processes aside Gimp, and if one of these plugin processes rests open or stuck, my system refuses to shut down nicely. However, when quitting Gimp, also its processes should quit-dont know if my Os tries to quit Gimps processes before Gimp itself.
Comment 3 Michael Schumacher 2015-07-21 14:18:52 UTC
Can you provide a screenshot of your system's task manager, preferably with a tree view that show the processes' relationship to each other? If any of the default ones fail to offer that, then htop seems to be a recommended alternative.
Comment 4 Michael Natterer 2015-07-22 07:24:47 UTC
We know we need to do something about these "background" processes that
are not really background processed. They should not appear in the
dock either.

Unfortunately we have around zero OS X developers...
Comment 5 Jo 2015-07-24 14:35:31 UTC
Created attachment 308081 [details]
Gimp Plugin processes

attached:
open files and ports (3)
processes hierarchy  (1)
Comment 6 Michael Schumacher 2015-07-31 14:03:28 UTC
Hm... is this with the build from gimp.org? I wonder why some of the files and ports referenced there include "de.lisanet.gimp".
Comment 7 Michael Schumacher 2015-08-05 19:50:10 UTC
Is this the same as bug 710523?
Comment 8 Jo 2015-08-07 10:53:10 UTC
(In reply to Michael Schumacher from comment #7)
> Is this the same as bug 710523?

probably, if the reporter used plugins. Else rather not.
Comment 9 Michael Schumacher 2015-08-07 11:29:41 UTC
You shouldn't have to use anything, Script-Fu is always run.

Or do you only experience this problem if you have run another plug-in? Does python stay around even when all python-based plug-ins have finished?
Comment 10 Jo 2015-08-08 10:43:45 UTC
(In reply to Michael Schumacher from comment #9)
> You shouldn't have to use anything, Script-Fu is always run.
> 
> Or do you only experience this problem if you have run another plug-in? Does
> python stay around even when all python-based plug-ins have finished?

usually Gimp starts without any additional processes. 
Whenever i use Scripts, be it Script-fu or Python-fu, two processes appear in the dock, at least on Mac
Comment 11 Jo 2015-08-08 10:46:25 UTC
i forgot: yes, both processes pythonfu and scriptfu stay open even when the scripts has finished their tasks/closed the dialogs.
Comment 12 Kristian Rietveld 2015-10-11 15:15:14 UTC
(In reply to Michael Natterer from comment #4)
> We know we need to do something about these "background" processes that
> are not really background processed. They should not appear in the
> dock either.
> 
> Unfortunately we have around zero OS X developers...

A process like "python-fu" runs as standalone process and seems to open its own connection to the window server. IIRC, because of this it shows up in the dock.

The only background process that is always active is script-fu, which is the same behavior as on Linux.

I haven't tested the shut down procedure yet, too many tabs open atm :)
Comment 13 Jo 2015-10-19 20:54:06 UTC
Created attachment 313698 [details]
shutdown scenario
Comment 14 Jo 2015-11-05 20:47:46 UTC
i guess its better to show the progress of plugins (progress bar and progress info) in the status bar of Gimp to avoid that plugin processes invoke background processes which can hang and hinder a shutdown of the Os itself
so, the dialog would pop up just to get the use input and not for the execution of commands itself.
Comment 15 Michael Schumacher 2016-12-25 18:04:42 UTC
Kris, any news on the shutdown testing?
Comment 16 GNOME Infrastructure Team 2018-05-24 15:28:42 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/714.