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 701640 - File/Export: GIF and PNG export option dialogs are empty
File/Export: GIF and PNG export option dialogs are empty
Status: RESOLVED NOTGNOME
Product: GIMP
Classification: Other
Component: User Interface
2.8.4
Other Windows
: Normal major
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2013-06-05 12:21 UTC by Petrumila Zhendova
Modified: 2013-07-05 08:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
How the new "Export Image as GIF" dialog box appears - greatly reduced. (408.79 KB, image/jpeg)
2013-06-05 12:21 UTC, Petrumila Zhendova
Details
My gif export plugin. (14.22 KB, text/xml)
2013-06-05 15:40 UTC, Petrumila Zhendova
Details
My png plugin. (9.20 KB, text/xml)
2013-06-05 15:40 UTC, Petrumila Zhendova
Details

Description Petrumila Zhendova 2013-06-05 12:21:39 UTC
Created attachment 246061 [details]
How the new "Export Image as GIF" dialog box appears - greatly reduced.

Desktop manager: Aero (Windows 7)

When I want to export a file as a .gif, I got to the menu File->Export... as usual. Then an "Export Image" dialog box appears and after I have chosen a file name and save location and click on "Export", instead of the normal gif export dialog box popping up, only a remnant of it (named "Export Image as GIF") appears with the exporting options for gif files gone and only three clickable boxes: "Help", "Export" and "Cancel". If I choose "Export", I do get a gif file, but it's not animated - which is not what I want (I don't have the option to save the image as an animation among other options). I've tried this with different .gif files and the outcome is the same.
Comment 1 Michael Schumacher 2013-06-05 14:46:48 UTC
The UI for the GIF plug-in is defined in a file called plug-in-file-gif.ui in the share\gimp\2.0\ui\plug-ins directory of the GIMP program directory.

If this file is missing (or maybe damaged), the dialog is empty except for the stock buttons.

There has been one such report for the PNG plug-in, but no reason has been determined. This is one of the rare cases where reinstalling GIMP on the Windows platform may actually fix problems - the file will usually be put there again.

If that file turns out to be missing (or empty) and if you have a suspicion what might be causing that (AV software, maybe?), it would be great if you tell us.
Comment 2 Petrumila Zhendova 2013-06-05 15:40:26 UTC
Created attachment 246090 [details]
My gif export plugin.
Comment 3 Petrumila Zhendova 2013-06-05 15:40:57 UTC
Created attachment 246091 [details]
My png plugin.
Comment 4 Petrumila Zhendova 2013-06-05 15:41:11 UTC
(In reply to comment #1)
> The UI for the GIF plug-in is defined in a file called plug-in-file-gif.ui in
> the share\gimp\2.0\ui\plug-ins directory of the GIMP program directory.
> 
> If this file is missing (or maybe damaged), the dialog is empty except for the
> stock buttons.
> 
> There has been one such report for the PNG plug-in, but no reason has been
> determined. This is one of the rare cases where reinstalling GIMP on the
> Windows platform may actually fix problems - the file will usually be put there
> again.
> 
> If that file turns out to be missing (or empty) and if you have a suspicion
> what might be causing that (AV software, maybe?), it would be great if you tell
> us.

Thank you for the feedback. I've just discovered I have the problem with exporting files as .png as well. The plug-ins in question are where they have to be (C:\Program Files\GIMP 2\share\gimp\2.0\ui\plug-ins , right?). I've attached them both, if that's going to be of any help. It says that both files were modified last on 06.02.2013, but even after this date I haven't had a problem with this - it's only today that I discovered it. I don't have any particular suspicions. That's strange...
Comment 5 Michael Schumacher 2013-06-05 23:44:11 UTC
These ui files are identical to those one my system. And everything works fine here.
Comment 6 Max Mustermann 2013-06-21 20:14:34 UTC
I also tried to reproduce this bug on two Windows 7 systems, one with Aero enabled, the other without Aero. On both systems the dialogs are proper.
Both plug-ins are the only plug-ins which read their dialog layout from a UI file. 
Petrumila, can you uninstall GIMP and then install GIMP again from the official download site (www.gimp.org/downloads) when GIMP 2.8.6. on Windows will be released next? If the error occurs again, please follow the instructions at

http://wiki.gimp.org/index.php/Users:Tips#On_Windows

to get a more verbose output from GIMP and post it here.

Thank you in advance.
Comment 7 Petrumila Zhendova 2013-06-21 20:31:49 UTC
Thank you, I've already "fixed" this. First, I reinstalled GIMP (the official release), but then received the same errors. I searched through the net for solutions and one person had suggested uninstalling the program, then deleting remnant folders of it (which remain even after the uninstall). I copied my plugins, scripts, brushes, etc. to another place and deleted all the folders (in the Program files and User directories). Then I installed it again to get the same errors. I searched further and found another suggestion: to try installing the portable version of GIMP. I did it and everything worked like a charm. Then I moved all my stuff to the according folders and all is well again. 

I hope I have provided some information, which could be of use in resolving this issue.
Comment 8 Max Mustermann 2013-06-22 07:13:07 UTC
Thank you for your quick feedback. 
It seems that you have an older GTK+ library (libgtk-win32*.dll) on your system, that isn't able to handle these two ui-files of GIMP properly. GIMP Portable gets over it because it sets an environment variable (PATH) to prefer its own, portable version of this library. 
 
To validate my assumption and finally analyze it, can you do the following, please: 

1) Search for all files named libgtk-win32*.dll under c:\programs.
2) Right click on each file, click 'Properties' and then 'Details'. You'll find a number for 'File version' or 'Product version' there. For GIMP 2.8.4 for instance this is 2.24.10. For every found file post its path, name and the file/product version.
3) Click Windows' start button, in the lower text field enter 'cmd', <Enter>. In the now showing black window enter the command 'path' and post the output here.

Thank you in advance.
Comment 9 Petrumila Zhendova 2013-06-22 16:29:37 UTC
(In reply to comment #8)

1- C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\libgtk-win32-2.0-0.dll; file version: 2.24.10.0

2- C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\libgtkglext-win32-1.0-0.dll; file version: doesn't say

3- C:\Program Files\YouWave_Android\libgtk-win32-2.0-0.dll; file version: 2.18.5.0

4- C:\Program Files\Funkyplot\libgtk-win32-2.0-0.dll; file version: 2.10.11.0

5- C:\Program Files\YouWave_Android\libgtkglext-win32-1.0-0.dll; file version: doesn't say

From the Command Prompt:

"PATH=C:\Program Files\AMD APP\bin\x86;C:\Program Files\Common Files\Microsoft Sh
ared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Win
dows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ATI Technologies\ATI.ACE\
Core-Static;C:\Program Files\Windows Live\Shared;C:\Program Files\MKVToolNix;C:\
Program Files\QuickTime\QTSystem\"
Comment 10 Michael Schumacher 2013-06-23 19:14:40 UTC
The file lib\gimp\2.0\plug-ins\libgtk-win32-2.0-0.dll should not be there, the default location for it is in GIMP's bin directory. Do you know why it is there on your system?
Comment 11 Petrumila Zhendova 2013-06-23 19:45:46 UTC
(In reply to comment #10)

Well, I'd been getting errors when loading GIMP in the past: 

11.05.13. :

"web-page.exe / help-browser.exe / file-pdf-load.exe - Entry Point Not Found

The procedure entry point_gxx_personality_sj0 could not be located in the dynamic link library libstdc++-6.dll / libgimpui-2.0-0.dll."

So, I moved/ copied some files between GIMP folders following suggestions from other internet users in an attempt to fix this issue. In the end these error messages stopped appearing.

After about one month I got a similar error message: 

05.06.13. :

"gmic_gimp.exe - Entry Point Not Found

The procedure entry point_gxx_personality_v0 could not be located in the dynamic link library libstdc++-6.dll "

Again I fixed it by moving /copying files between GIMP directories.

Maybe I had misplaced the file libgtk-win32-2.0-0.dll as well when I was trying to fix these. I moved it now to its rightful place.
Comment 12 Petrumila Zhendova 2013-06-24 22:37:40 UTC
Update: Unfortunately I'm having issues again after I moved the libgtk-win32-2.0-0.dll to C:\Program Files\GIMP 2\bin. I started receiving a lot of missing dll files errors. I tried fixing them and undoing the action, but in the end it got even worse and I had to unistall GIMP yet again. The problem was, I couldn't. The uninstall file was gone; the progoram wasn't even listed on my programs list in Control Panel. So, I just deleted the installation folders of GIMP and then installed the new version, which came up just recently (2.8.6). At the beginning it was OK. Then after I moved in my brushes, plugins, scripts, etc. I started receiving multiple error messages again. I was able to resolve most of them in the end and GIMP still loads, but now every time at startup I get: 

"simple-bilateral.exe - Entry Point Not Found

The procedure entry point__gxx_personality_sj0 could not be located in the dynamic link library libstdc++-6.dll."

I click "OK" and then this pops up:

"Microsoft Visual C++ Runtime Library

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information."

I click "OK" and then some cmd windows pop up loading something and finally GIMP starts.

Also, while searching for solutions on the web I stumbled upon another person who's in the same situation I was in: http://registry.gimp.org/node/26737 . I hope that could tell something about the cause of this.

Please, help me solve this too, because I've already wasted so much time troubleshooting GIMP...!
Comment 13 Michael Schumacher 2013-06-24 22:46:22 UTC
If you have plug-ins that ship with their own copies of some DLL files, then put them into their own directory and add this directory as an additional plug-ins directory in GIMP's settings.

Stay away from any suggestion that asks you to copy DLL files around.
Comment 14 Petrumila Zhendova 2013-06-24 23:22:37 UTC
I put the additional DLL files in a seperate folder within the plugins directory and added it as a plugins folder in the settings, but it seems it didn't work - the first error only slightly changed - now instead of "simple-bilateral.exe" it's "gmic_gimp.exe" and instead of "entry point__gxx_personality_sj0" it's "entry point_gxx_personality_v0" again.
Comment 15 Max Mustermann 2013-07-05 08:28:31 UTC
The most proper way is to make a clean install of the latest GIMP from the official download site (http://gimp-win.sourceforge.net/). Install all other GIMP stuff in subfolders of your GIMP user data (in GIMP 2.8 this is $USERPROFILE\.gimp-2.8) (clean them first in your case).

The current incarnation of the bug is related to G'Mic. Please report your error there, as the G'Mic project provides this plugin. It could also help to install the latest G'Mic which has been released a few days ago.