FS#8485 - gimp save as only works once
Attached to Project:
Arch Linux
Opened by robin wood (dninja) - Friday, 02 November 2007, 11:02 GMT
Last edited by Jan de Groot (JGC) - Sunday, 09 November 2008, 10:35 GMT
Opened by robin wood (dninja) - Friday, 02 November 2007, 11:02 GMT
Last edited by Jan de Groot (JGC) - Sunday, 09 November 2008, 10:35 GMT
|
Details
Description:
If I do a save as in gimp it works ok, if I then do another save as on the same image the save box comes up blank. The box is the right size just doesn't have anything in it. If I close the image and re-open it save as works ok. Additional info: * package version(s) gimp-2.4.1-1 - gimp-2.4.5-1 * config and/or log files etc. don't know which would help, happy to post any on request Steps to reproduce: happens every time. open image save as new image save as new image - gives blanks dialog UPDATE 2008-05-26: Likely related to this upstream bug: http://bugzilla.gnome.org/show_bug.cgi?id=483502 |
This task depends upon
Closed by Jan de Groot (JGC)
Sunday, 09 November 2008, 10:35 GMT
Reason for closing: Fixed
Additional comments about closing: Assuming fixed. See last comments.
Sunday, 09 November 2008, 10:35 GMT
Reason for closing: Fixed
Additional comments about closing: Assuming fixed. See last comments.
The file at the time was a number of png files created in gimp. I was creating them, rotating them then resaving.
It is probably worth closing but if it happens again I'll send some files in.
that worked flawlessly for me
I can still reproduce this every time.
I've attached a screenshot of the dialog box.
Something I've noticed is the first save pops up the options box for png, the second time that box doesn't appear. Maybe it is locked on trying to draw that and so not getting round to drawing the save as box.
I'm happy to try anything you suggest to get this sorted.
cd ~
tar czf mygimpsettings.tar.gz .gimp-2.4
rm -rf -.gimp-2.4
I assume you know what that does. Do that, then you can try your problem with the factory settings. Does it work?
I realise that this is a local issue, I know how to work around it (and to be honest will probably not be in the situation to need this again anyway) so if you want to close it feel free.
Also, which gtk theme on which gtk engine are you running? Can you use a different theme (one that uses a different engine) for another test?
How do I tell which gtk stuff I'm running? I've not set anything special or changed anything so I guess it is probably whatever is default.
So first check what your's use, and the select another one and try with that.
(But it doesn't look as well as before ;-)
Matthias, how did you disable the extension? I'll give this a try and see if it works for me as well.
Here is a instruction how to use the feature in KDE: http://docs.kde.org/stable/en/kdebase/kompmgr/index.html
I added a screenshot. For some reason the problem didn't happen with the screenshot, but creating a new and empty image and saving it multiple times fails.
- what flags are set in xorg.conf
- which hardware for graphics.
here is mine
- Section "Device"
Identifier "card-DFP"
Driver "nvidia"
#Driver "nv"
Option "RenderAccel" "True"
Option "AllowGLXWithComposite" "True"
Option "NvAGP" "1"
Option "NoLogo" "0"
Option "CursorShadow" "on"
Option "ConnectedMonitor" "DFP-0"
Option "IgnoreDisplayDevices" "TV-0,CRT-0"
Option "TripleBuffer" "true"
EndSection
Section "Screen"
Identifier "screen-DFP"
Device "card-DFP"
Monitor "wide-LCD"
DefaultDepth 24
SubSection "Display"
Modes "1680x1050" "1280x800" "1024x768" "800x600" "640x480"
Depth 24
EndSubSection
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "ServerFlags"
Option "AIGLX" "true"
EndSection
- Nvidia (newest, not the legacy)
I'm on a dual head nvidia card running the nvidia-96xx drivers
01:00.0 VGA compatible controller: nVidia Corporation NV44A [GeForce 6200] (rev a1)
Section "Device"
Identifier "TimeLCD"
Driver "nvidia"
BusID "PCI:1:0:0"
Screen 0
Option "NoLogo" "true"
EndSection
Section "Device"
Identifier "BenqLCD"
Driver "nvidia"
BusID "PCI:1:0:0"
Screen 1
Option "NoLogo" "true"
EndSection
Section "Screen"
Identifier "TimeScreen"
Device "TimeLCD"
Monitor "TimeMonitor"
DefaultDepth 24
Option "RenderAccel" "true"
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "BenqScreen"
Device "BenqLCD"
Monitor "BenqMonitor"
DefaultDepth 24
Option "RenderAccel" "true"
#Option "TwinView"
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerFlags"
Option "Xinerama" "true"
EndSection
I don't have an extensions section
If you need anything else let me know.
Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto" # Auto detect
Option "Device" "/dev/input/mice"
# Mouse-speed setting for PS/2 mouse.
Option "ZAxisMapping" "4 5 6 7"
# Emulate3Buttons is an option for 2-button mice
EndSection
Section "Monitor"
Identifier "acer"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 63.0
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "Standard VGA"
Driver "vga"
VendorName "Unknown"
BoardName "Unknown"
EndSection
Section "Device"
#VideoRam 131072
# Insert Clocks lines here if appropriate
Identifier "radeon card"
Driver "radeon"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "radeon card"
Monitor "acer"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1680x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1680x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1680x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Disable"
EndSection
the following thing are just a collection of issues:
- the composite manager was not the issue, I could reproduce crashes without it activated!!!
- the theme in the gimp preferences must have been set to small (that reproduceable triggered the gaussian Blur to crash, but only if the next issue was set too)
- crashes happened with both, gtk-themes based on the clearlooks engine as well as the murraine engine
the last thing triggers most of the crashes for me. Looking at the code of both engines shows me that they are using cairo methods to accelerate drawing. Using an engine like gtk-xfce-engine, which incorporates no cairo calls works fine and no crashes happened, even with composite AND compiz active. This solution was reproducable on an intel915 and a Nvidia powered machine.
So for all the people who can reproduce the crashes, I like to hear some confirmation. Please install and select gtk-xfce-engine(no, that does not pull all of xfce4 in, it's a single package you have to download, so don't whine) and try to reproduce the crashes. Also pleace check if your theme is set to "small" in gimps preferences and do some more testing on that one.
Most likely, the issue is upstream or/and in our gtk2 package or the gtk-engines. For now, all I can give are work arounds, no finite solutions.
Option "RenderAccel" "true"
line I had in my Screen section in xorg.conf should have been in the Device section. I've just moved it, restarted X and the problem seems to have stopped.
I got this answer from here:
http://docs.kde.org/stable/en/kdebase/kompmgr/problems.html
It could just be co-incidence, I'll keep testing it and see.
I'm running Ubuntu 7.10
I have Intel integrated video.
I'm using the Mist theme.
I can get the problem sometimes by simply creating a new blank image then saving it twice, however that does not always trigger it.
I can reproduce it every time by doing this:
1) Open an XCF file with multiple layers
2) Change the visibility of a layer
3) Crop to a selection
4) Change the visibility of layers
5) Save as a BMP
6) Change the visibility of layers
7) Save as a BMP
Then I get a blank save window.
The window still works, I just can't see anything. I can type in a new name, nothing will show in the name box, then click on the invisible save box and the Export File window will appear and I can save the picture.
1) create a new blank image
2) make the image smaller, using any method (making it larger will not trigger the error)
3) use "Save as" to save the image
4) use "Save as" again, this time the window will appear blank
I'm using Gimp 2.4.2
Inexplicably I can no longer reproduce the bug even when not using an XFCE theme.
Before I installed the XFCE engine I had found another way to trigger this bug that may help you troubleshoot it:
1) Open any file using the RAW file type option
2) In the RAW importer select a small image size so that the entire file will not be loaded (loading the whole file will not trigger the bug)
3) Use "Open" again, this time the window will appear blank.
(hows that for selfish!)
Can't this problem be considered as an upstream bug ? (the history is quite long and I may have missed something ;-) )
I haven't changed anything in terms of video or window managers etc except for normal pacman upgrades.
I have gtk-xfce-engine installed but have no idea if it actually being used by anything.
Other stuff that might matter: openbox-session, with and without xcompmgr.