GNOME Bugzilla – Bug 674096
Strange behavior with gimprc
Last modified: 2012-05-17 13:07:37 UTC
With both user filter path and PSPI filter path in the gimprc file, if the user filter path entry is above PSPI path entry, when you launch GIMP, all PS filters will be gone and if you open gimprc file, the entry for PSPI path disappears. Vice versa, if the PSPI paths entry is above user filter path entry, then upon launching GIMP, when you run the user filter, the guf path is gone and it can not be saved within the user filter interface. Since I have a few PS filters that I have to run inside GIMP, I can live with not have the user filter path entry, but it is annoying and since it actually disappears when I launch GIMP, I felt it to be a major issue. Not sure what the interaction between GIMP and the gimprc file with respect too these two filters are, but it is strange behavior.
Does this entry vanish on launch if you don't use either of the plug-ins?
The entry vanishes after I launch GIMP. Strange behavior. Also, again, it's the second entry that vanishes (i.e., if PSPI path is above User Filter path, then User Filter Path entry will vanish and vice versa of course). Definitely strange. Upon launch, if User Filter path is above PSPI path, then no PS filters will show up; only the PSPI settings option. Makes sense this would happen if there is no path in gimprc file. Also, if PSPI path entry is above User Filter path, the User Filter will always show up and work, but, the link to the guf directory is gone so you have to point to it each time you launch user filter (not a big issue with me since I don't use it as often as I use PS filters that are not Filter Factory created ones). The path themselves can not be saved in GIMP interface.
As a side note, below's a link to MareroQ and Onkel Hatti's solutions to a variety of RC1 issues. I also just realized that I forgot to state that I'm using 64-bit GIMP but not sure if that matters or not. :) http://www.gimpchat.com/viewtopic.php?f=4&t=4057&start=10#p50077
This doesn't happen if neither of the plug-ins is installed (i.e. on my system), so I guess this may be triggered by something in the plug-in code. As both of them don't seem to be actively maintained, someone other that the original authors might have to look at their code to determine what exactly is causing this.
The question I have is why does the path entry disappear in gimprc. Only thing I can think of is that the second plugin gets somehow undetected so GIMP automatically will delete the entry. Still strange. Again, the few times that I ever use the user filter, I can live with this one, but still wish I knew what was going on. I wasn't the only one who had to manually edit the gimprc to get the user filter guf path to work by the way since you couldn't add the path from the user filter interface itself.
Happens on Linux too and can be tested by simply editing gimprc a bit.
Don't look promising that this will get addressed Michael; PSPI is an unsupported plugin, but still, why did gimprc path assighnments get wacked in the first place? That's the question. Oh well; working around the problem (as mentioned above) for now. More concerned about the jpeg preview size bug and color management brush slow down issue anyway. :)
Fixed in master and 2-8: commit 741daccf0238ccbc022b4e047698be0480e0a5be Author: Michael Natterer <mitch@gimp.org> Date: Thu May 17 01:14:22 2012 +0200 Revert "app (gimprc): Delete dead assignment" This reverts commit d6d2a0bbd15f25d820631b4db6236f6a42b4b49c and allows more than one unknown gimprc token again. Fixes Bug 674096 - Strange behavior with gimprc (cherry picked from commit 8851ec0b6e463c070f513f3f44f40323da25934f) app/config/gimprc-unknown.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
Not sure if I'm understanding you right Michael; are you saying that you fixed the issue and are going to release the update soon? Yes, you can edit gimprc and it will fix one or the other (either user filter or PSPI but not both). Many folks I had interaction with didn't use PSPI and got the user filter fixed after editing gimprc, but it still would be cool that both user filter and PSPI would work with each other as it does in GIMP 2.6.x. :)
Yes, "Fixed" usually means "Fixed".
Thanks Michael; look forward to seeing the next release for Windows then. :)