GNOME Bugzilla – Bug 682742
Module manager: turning off modules has no effect
Last modified: 2012-10-08 23:29:29 UTC
Turning off modules in module manager (Edit/Modules) is impossible. Doesnt matter if I uncheck them when gimp is running normally or administrator mode - when I restart GIMP all modules appear checked again. Happens every time. Windows 7, 64bit.
Confirming this for GIMP 2.8.2. on Windows 7, 32 bit. Mac-Version is not affected.
Please turn off a module, quit gimp, and attach the "modulerc" file from your gimp settings folder here.
Created attachment 223342 [details] Here in is modulerc file I hope this helps.
Please run gimp with the --verbose option and paste the section of the output where it prints "Loading module" lines.
Created attachment 223779 [details] Output of gimp-2.8 --verbose Here's the output. There's only one line with this text, so I attached the whole output to give all information, that might be necessary.
This makes --verbose work, sigh... commit d4ebc9562d7696fb0e7efa004ca1e65c18d7236d Author: Michael Natterer <mitch@gimp.org> Date: Sat Sep 8 12:48:53 2012 +0200 app: add a workaround to make GimpModuleDB's "verbose" flag work so we get module output from gimp --verbose. (cherry picked from commit 4db6a970ded1eeb5d8de39eb2eab3d008e9370b0) app/core/gimp-modules.c | 3 +++ 1 file changed, 3 insertions(+)
Created attachment 223953 [details] Output of --verbose (2) Here's another output from the --verbose option. I used drawocs stable nightly build from 09.09.2012. Unfortunately no 'Loading modules' line to see, but maybe it's useful, tho'.
Created attachment 223955 [details] Output of --verbose (2) Another, more verbose, try with a greater terminal window buffer. Sorry for the broken attachment before. This one has 'Loading module' lines.
Created attachment 223978 [details] Error message and stacktrace Addition: the output of comment#8 was made without any prior changes in Edit/Modules. I just tried to change those settings, but GIMP 2.8.2. (nightly stable build from 09.09.2012) crashes. Attached you find the debugger messages and stacktrace (from VS 2010).
Thanks Sven, I also need your modulerc from that install, with some modules disabled.
Created attachment 224046 [details] File modulerc Here's the modulerc file you asked for. I have Jernej's 2.8.2 build and Drawocs nightly build in parallel. The latter, crashing doesn't modify the modulerc.
Well, I need the modulerc and the --verbose output from the same executable of course :)
Created attachment 225978 [details] Output of --verbose, modulerc and image showing changes in dialog layout I tried again today with drawocs nightly debug build of GIMP 2.8.2 from 06.10.2012. 1. The stable nightly build still crashes GIMP when using the menu item Edit/Modules. The debug build doesn't crash here. 2. I tried again and turned off the 'CMYK color selector' module, while the others were left active. You find the output of --verbose and the modulerc attached (this time from the same build ;-). The extension '1st run' refers to the first run of the debug build at all, the extension '2nd run' to the next run (when the 'CMYK color selector' module was turned off). 3. I observed a change in the Module managers dialog layout after unticking the first item. The dialog got broader. The attached zip file contains an image showing the effect.
The modulerc first says H:\gimp-stable-dbg-i686-2012-10-06\ and then H:\gimp-stable-i686-2012-10-06\ That is odd. Which one is the right folder? Do they both exist?
Fixed in master and gimp-2-8: commit 2cd165a8b8a19b4b340e477b90761e211da52194 Author: Michael Natterer <mitch@gimp.org> Date: Tue Oct 9 01:25:42 2012 +0200 Bug 682742 - Module manager: turning off modules has no effect Use gimp_config_writer_string() instead of gimp_config_writer_printf() to serialize module-load-inhibit so backslashes and other stuff gets properly escaped. (cherry picked from commit 6c41f58feaa77d34c73ca4b01348efae2b84dbd4) app/core/gimp-modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)