certain Gimp xcf files cause showFoto to crash

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

certain Gimp xcf files cause showFoto to crash

Elle Stone
Is there a way to tell digiKam/showFoto to ignore all xcf images?

Sometimes when opening an image (eg a png or a tiff or a jpeg) with
showFoto, showFoto will open the image and then crash. The reason
turns out to be that there is a Gimp xcf file in the same folder and
that makes showFoto crash. The same thing happens with digiKam if
digiKam is trying to add the images in that folder to its database.


Elle

--
http://ninedegreesbelow.com
Just because it's a standard, doesn't mean it's right.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: certain Gimp xcf files cause showFoto to crash

hajo
I think the solution for that should be to fix the programs so they can read xcf properly rather than disabling support ;)

--
Composed on my smartphone. Apologies for typos.

On 21 Sep 2013, at 01:13, "Elle Stone" <[hidden email]> wrote:

> Is there a way to tell digiKam/showFoto to ignore all xcf images?
>
> Sometimes when opening an image (eg a png or a tiff or a jpeg) with
> showFoto, showFoto will open the image and then crash. The reason
> turns out to be that there is a Gimp xcf file in the same folder and
> that makes showFoto crash. The same thing happens with digiKam if
> digiKam is trying to add the images in that folder to its database.
>
>
> Elle
>
> --
> http://ninedegreesbelow.com
> Just because it's a standard, doesn't mean it's right.
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: certain Gimp xcf files cause showFoto to crash

Elle Stone
My xcf files are generated by the development version of Gimp, so I
haven't filed a bug report with digiKam as the file format itself
might be in a state of flux.

I don't know whether xcf files from Gimp 2.8 cause crashes or not. Has
anyone experienced such crashes?

It seems reasonable that digiKam might provide the option to ignore
file extensions that the user doesn't actually want digiKam to track.
So I was wondering if there is such a feature hidden away somewhere. I
looked at the config files but didn't see a list of file extensions.

On 9/20/13, HaJo Schatz <[hidden email]> wrote:

> I think the solution for that should be to fix the programs so they can read
> xcf properly rather than disabling support ;)
>
> --
> Composed on my smartphone. Apologies for typos.
>
> On 21 Sep 2013, at 01:13, "Elle Stone" <[hidden email]> wrote:
>
>> Is there a way to tell digiKam/showFoto to ignore all xcf images?
>>
>> Sometimes when opening an image (eg a png or a tiff or a jpeg) with
>> showFoto, showFoto will open the image and then crash. The reason
>> turns out to be that there is a Gimp xcf file in the same folder and
>> that makes showFoto crash. The same thing happens with digiKam if
>> digiKam is trying to add the images in that folder to its database.
>>
>>
>> Elle
>>
>> --
>> http://ninedegreesbelow.com
>> Just because it's a standard, doesn't mean it's right.
>> _______________________________________________
>> Digikam-users mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>


--
http://ninedegreesbelow.com
Just because it's a standard, doesn't mean it's right.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: certain Gimp xcf files cause showFoto to crash

Gilles Caulier-4
Setup/Type Mime, where you can add and remove file format to manage in digiKam.

Just entry if i remember "-xcf" in image format. Try SHIFT+F1 for help.

There is no such option for Showfoto

Note that there is no CXF image loader code in digiKam all is delegate
to KDEimgio component.

Gilles Caulier

2013/9/21 Elle Stone <[hidden email]>:

> My xcf files are generated by the development version of Gimp, so I
> haven't filed a bug report with digiKam as the file format itself
> might be in a state of flux.
>
> I don't know whether xcf files from Gimp 2.8 cause crashes or not. Has
> anyone experienced such crashes?
>
> It seems reasonable that digiKam might provide the option to ignore
> file extensions that the user doesn't actually want digiKam to track.
> So I was wondering if there is such a feature hidden away somewhere. I
> looked at the config files but didn't see a list of file extensions.
>
> On 9/20/13, HaJo Schatz <[hidden email]> wrote:
>> I think the solution for that should be to fix the programs so they can read
>> xcf properly rather than disabling support ;)
>>
>> --
>> Composed on my smartphone. Apologies for typos.
>>
>> On 21 Sep 2013, at 01:13, "Elle Stone" <[hidden email]> wrote:
>>
>>> Is there a way to tell digiKam/showFoto to ignore all xcf images?
>>>
>>> Sometimes when opening an image (eg a png or a tiff or a jpeg) with
>>> showFoto, showFoto will open the image and then crash. The reason
>>> turns out to be that there is a Gimp xcf file in the same folder and
>>> that makes showFoto crash. The same thing happens with digiKam if
>>> digiKam is trying to add the images in that folder to its database.
>>>
>>>
>>> Elle
>>>
>>> --
>>> http://ninedegreesbelow.com
>>> Just because it's a standard, doesn't mean it's right.
>>> _______________________________________________
>>> Digikam-users mailing list
>>> [hidden email]
>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>
>>
>> _______________________________________________
>> Digikam-users mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
>
>
> --
> http://ninedegreesbelow.com
> Just because it's a standard, doesn't mean it's right.
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: certain Gimp xcf files cause showFoto to crash

Elle Stone
Gilles, thanks! I thought I had seen such an option for digiKam but
couldn't remember where, and was hoping there was a showFoto option
also.

So an eventual bug report would be to KDEimgio?

On 9/21/13, Gilles Caulier <[hidden email]> wrote:

> Setup/Type Mime, where you can add and remove file format to manage in
> digiKam.
>
> Just entry if i remember "-xcf" in image format. Try SHIFT+F1 for help.
>
> There is no such option for Showfoto
>
> Note that there is no CXF image loader code in digiKam all is delegate
> to KDEimgio component.
>
> Gilles Caulier
>
> 2013/9/21 Elle Stone <[hidden email]>:
>> My xcf files are generated by the development version of Gimp, so I
>> haven't filed a bug report with digiKam as the file format itself
>> might be in a state of flux.
>>
>> I don't know whether xcf files from Gimp 2.8 cause crashes or not. Has
>> anyone experienced such crashes?
>>
>> It seems reasonable that digiKam might provide the option to ignore
>> file extensions that the user doesn't actually want digiKam to track.
>> So I was wondering if there is such a feature hidden away somewhere. I
>> looked at the config files but didn't see a list of file extensions.
>>
>> On 9/20/13, HaJo Schatz <[hidden email]> wrote:
>>> I think the solution for that should be to fix the programs so they can
>>> read
>>> xcf properly rather than disabling support ;)
>>>
>>> --
>>> Composed on my smartphone. Apologies for typos.
>>>
>>> On 21 Sep 2013, at 01:13, "Elle Stone" <[hidden email]> wrote:
>>>
>>>> Is there a way to tell digiKam/showFoto to ignore all xcf images?
>>>>
>>>> Sometimes when opening an image (eg a png or a tiff or a jpeg) with
>>>> showFoto, showFoto will open the image and then crash. The reason
>>>> turns out to be that there is a Gimp xcf file in the same folder and
>>>> that makes showFoto crash. The same thing happens with digiKam if
>>>> digiKam is trying to add the images in that folder to its database.
>>>>
>>>>
>>>> Elle
>>>>
>>>> --
>>>> http://ninedegreesbelow.com
>>>> Just because it's a standard, doesn't mean it's right.
>>>> _______________________________________________
>>>> Digikam-users mailing list
>>>> [hidden email]
>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>
>>>
>>> _______________________________________________
>>> Digikam-users mailing list
>>> [hidden email]
>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>
>>
>>
>> --
>> http://ninedegreesbelow.com
>> Just because it's a standard, doesn't mean it's right.
>> _______________________________________________
>> Digikam-users mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-users
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>


--
http://ninedegreesbelow.com
Just because it's a standard, doesn't mean it's right.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: certain Gimp xcf files cause showFoto to crash

Gilles Caulier-4
2013/9/21 Elle Stone <[hidden email]>:
> Gilles, thanks! I thought I had seen such an option for digiKam but
> couldn't remember where, and was hoping there was a showFoto option
> also.
>
> So an eventual bug report would be to KDEimgio?

yes you can. Don't forget to give a XCF sample file to reproduce the problem....

Gilles Caulier

>
> On 9/21/13, Gilles Caulier <[hidden email]> wrote:
>> Setup/Type Mime, where you can add and remove file format to manage in
>> digiKam.
>>
>> Just entry if i remember "-xcf" in image format. Try SHIFT+F1 for help.
>>
>> There is no such option for Showfoto
>>
>> Note that there is no CXF image loader code in digiKam all is delegate
>> to KDEimgio component.
>>
>> Gilles Caulier
>>
>> 2013/9/21 Elle Stone <[hidden email]>:
>>> My xcf files are generated by the development version of Gimp, so I
>>> haven't filed a bug report with digiKam as the file format itself
>>> might be in a state of flux.
>>>
>>> I don't know whether xcf files from Gimp 2.8 cause crashes or not. Has
>>> anyone experienced such crashes?
>>>
>>> It seems reasonable that digiKam might provide the option to ignore
>>> file extensions that the user doesn't actually want digiKam to track.
>>> So I was wondering if there is such a feature hidden away somewhere. I
>>> looked at the config files but didn't see a list of file extensions.
>>>
>>> On 9/20/13, HaJo Schatz <[hidden email]> wrote:
>>>> I think the solution for that should be to fix the programs so they can
>>>> read
>>>> xcf properly rather than disabling support ;)
>>>>
>>>> --
>>>> Composed on my smartphone. Apologies for typos.
>>>>
>>>> On 21 Sep 2013, at 01:13, "Elle Stone" <[hidden email]> wrote:
>>>>
>>>>> Is there a way to tell digiKam/showFoto to ignore all xcf images?
>>>>>
>>>>> Sometimes when opening an image (eg a png or a tiff or a jpeg) with
>>>>> showFoto, showFoto will open the image and then crash. The reason
>>>>> turns out to be that there is a Gimp xcf file in the same folder and
>>>>> that makes showFoto crash. The same thing happens with digiKam if
>>>>> digiKam is trying to add the images in that folder to its database.
>>>>>
>>>>>
>>>>> Elle
>>>>>
>>>>> --
>>>>> http://ninedegreesbelow.com
>>>>> Just because it's a standard, doesn't mean it's right.
>>>>> _______________________________________________
>>>>> Digikam-users mailing list
>>>>> [hidden email]
>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>>
>>>>
>>>> _______________________________________________
>>>> Digikam-users mailing list
>>>> [hidden email]
>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>
>>>
>>>
>>> --
>>> http://ninedegreesbelow.com
>>> Just because it's a standard, doesn't mean it's right.
>>> _______________________________________________
>>> Digikam-users mailing list
>>> [hidden email]
>>> https://mail.kde.org/mailman/listinfo/digikam-users
>> _______________________________________________
>> Digikam-users mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
>
>
> --
> http://ninedegreesbelow.com
> Just because it's a standard, doesn't mean it's right.
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: certain Gimp xcf files cause showFoto to crash

Jean-François Rabasse-2
In reply to this post by Elle Stone

Hello,

My 5 cts comments, as I am an intensive Gimp user.
(I say user, not addict :-)


On Sat, 21 Sep 2013, Elle Stone wrote:

> My xcf files are generated by the development version of Gimp, so I
> haven't filed a bug report with digiKam as the file format itself
> might be in a state of flux.
>
> I don't know whether xcf files from Gimp 2.8 cause crashes or not.
> Has anyone experienced such crashes?

I am a bit surprised to read this, as I use Gimp 2.8 too, and I have
plenty of .xcf files in my Digikam folders. Gimp is my edition tool
and .xcf is my working format, so I usually have a xcf file plus a
Jpeg for the final image.

I don't use showFoto, but I can say Digikam works perfectly well with
my xcf files. Scanning for new images is ok, folders thumbnails views
are ok, xcf appears with their correct thunmbnail, and clicking on the
thumbnail show the image correctly. I've never experienced a crash.

Strange indeed. Should probably be a configuration problem, or diffs
in environment between Elle's configuration and mine.



On 9/20/13, HaJo Schatz <[hidden email]> wrote:

> I think the solution for that should be to fix the programs so they
> can read xcf properly rather than disabling support ;)

I agree with Hajo, xcf is a useful format.



On Sat, 21 Sep 2013, Gilles Caulier wrote:

> Subject: Re: [Digikam-users] date problem
>
> Note : it's serious problem with gimp to lost metadata. I know this
> problem since many year ago.
>
> With all 3rd party components available in open-source to manage
> metadata, it's to gimp team to fix seriously this problem. After all,
> Photoshop take a care about metadata. why not Gimp ?

Gimp processes correctly Exif and IPTC metadata.
What is read from the original image is saved into the xcf file.
And when work is over and the final image is generated from Gimp,
be it a Jpeg, PNG, etc., the metadata is there in the output file.

Gimp has a broken XMP parser and looses XMP metadata upon read,
so XMP data isn't exported in Gimp output files. This exists from
the beginning.

This XMP problem has started to be treated these last two months and
the next releases of Gimp, 2.9 or 3.0, are expected to support XMP
data correctly (using libexiv2 and the GNU gexiv2 wrapper.)

Also, Gimp xcf format supports metadata (except XMP because of the
current broken parser) in read/write mode from inside Gimp, and in
read mode with some external applications.
- exiftool reads correctly metadata from xcf files, but can't write back.
- exiv2 doesn't support the format
   (error message : The file contains data of an unknown image type)

So, it's not just a Gimp related problem. Once the XMP problem will be
fixed (in the next months), the xcf support will still remain questionable.

I've no definitive idea of what should be done about that. Im my opinion,
applications specific formats like xcf should probably be considered
the same way as RAW files. I.e. « try to read, but don't touch ! »
Nothing but my opinion.
Anyway because of the broken XMP support, I work with sidecar files for
my metadata, so...

Regards,
Jean-François
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: certain Gimp xcf files cause showFoto to crash

Elle Stone
On 9/21/13, Jean-François Rabasse <[hidden email]> wrote:

>
> On Sat, 21 Sep 2013, Elle Stone wrote:
>
>> My xcf files are generated by the development version of Gimp, so I
>> haven't filed a bug report with digiKam as the file format itself
>> might be in a state of flux.
>>
>> I don't know whether xcf files from Gimp 2.8 cause crashes or not.
>> Has anyone experienced such crashes?
>
> I am a bit surprised to read this, as I use Gimp 2.8 too, and I have
> plenty of .xcf files in my Digikam folders. Gimp is my edition tool
> and .xcf is my working format, so I usually have a xcf file plus a
> Jpeg for the final image.
>

I'm using Gimp 2.9 from git, which is why I haven't filed a bug
report. When Gimp 3.0 is released perhaps would be a good time to file
a bug report if the problem still persists. Or at least closer to
release, if/when a tentative release date is available.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: certain Gimp xcf files cause showFoto to crash

Jean-François Rabasse-2

Hi Elle,

On Sat, 21 Sep 2013, Elle Stone wrote:

> I'm using Gimp 2.9 from git, which is why I haven't filed a bug
> report. When Gimp 3.0 is released perhaps would be a good time to file
> a bug report if the problem still persists. Or at least closer to
> release, if/when a tentative release date is available.

Apologies, I read you a bit too fast, thought you we're using 2.8
I use latest 2.8.4 and have no experience with dev releases.

But your problem comes from the xcf files, not Gimp itself.
What could be interesting is to know if the xcf format changed.
You are a Gimp user, you probably have « old » xcf files produced with
earlier versions of Gimp, e.g. 2.8.
Do you observe the same issue with Digikam when opening 2.8 created
Gimp files ?
(Or, can you open correctly old xcf files with your 2.9 dev version ?)

I mean if the xcf format is stable, and Gimp processes correctly files
with 2.8, 2.9, 3.0, etc. versions, it's not sure that a Digikam problem
could be filed on gimp-bugs, they'll probably reply « Ou Gimp works
well with our file format »
(With my 2.8 I still open without problems very old xcf files created
with Gimp 1.2, 1.3)


Regards,
Jean-François
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: certain Gimp xcf files cause showFoto to crash

Elle Stone
On 9/21/13, Jean-François Rabasse <[hidden email]> wrote:
> On Sat, 21 Sep 2013, Elle Stone wrote:

> But your problem comes from the xcf files, not Gimp itself.
> What could be interesting is to know if the xcf format changed.
> You are a Gimp user, you probably have « old » xcf files produced with
> earlier versions of Gimp, e.g. 2.8.

Sadly, no. Prior to Gimp 2.9 I used Gimp very little, mostly for
preparing jpegs for the web.

I was wondering whether anyone had similar issues with xcf files
created with older versions of Gimp (2.6, 2.8). It sounds like the
answer is no, at least based on your experiences.

Just speculating wildly, it could be that KDE expects xcf files to be
8-bit files and so crashes because the Gimp 2.9 xcf files are 32-bit
floating point (other bit depth xcf files are possible, but why? just
export to the bit depth you want).

Best,
Elle
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: certain Gimp xcf files cause showFoto to crash

Boudewijn
In reply to this post by Elle Stone
On Saturday 21 September 2013 10:13:44 Elle Stone wrote:
> It seems reasonable that digiKam might provide the option to ignore
> file extensions that the user doesn't actually want digiKam to track.
> So I was wondering if there is such a feature hidden away somewhere. I
> looked at the config files but didn't see a list of file extensions.

I use my jpg's as sidecars to my nefs, and as such, don't need (and don't
want) to see .nef or .NEF in Digikam.

Dmitri helped me out on that one: it turns out that a minus in front of the
extension disables files with that extension. So, under settings/mime-types I
got: -nef;-dng

I recall DK needs to be restarted for the filter to take effect.

Best regards,

Boudewijn
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: certain Gimp xcf files cause showFoto to crash

Elle Stone
Boudewijn,

Thanks! (Now if only showFoto had that option!)


On 9/21/13, Boudewijn Kranendonk <[hidden email]> wrote:

> On Saturday 21 September 2013 10:13:44 Elle Stone wrote:
>> It seems reasonable that digiKam might provide the option to ignore
>> file extensions that the user doesn't actually want digiKam to track.
>> So I was wondering if there is such a feature hidden away somewhere. I
>> looked at the config files but didn't see a list of file extensions.
>
> I use my jpg's as sidecars to my nefs, and as such, don't need (and don't
> want) to see .nef or .NEF in Digikam.
>
> Dmitri helped me out on that one: it turns out that a minus in front of the
>
> extension disables files with that extension. So, under settings/mime-types
> I
> got: -nef;-dng
>
> I recall DK needs to be restarted for the filter to take effect.
>
> Best regards,
>
> Boudewijn
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>


--
Elle Stone
http://ninedegreesbelow.com

Just because it's a standard, doesn't mean it's right.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: certain Gimp xcf files cause showFoto to crash

Gilles Caulier-4
It don't have. Showfoto use the dynamic list of type mime supported by
KDElibs. KImgIO image loader are plugins in fact.... Look here :

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/showfoto/main/showfoto.cpp#L784

Gilles Caulier

2013/9/22 Elle Stone <[hidden email]>:

> Boudewijn,
>
> Thanks! (Now if only showFoto had that option!)
>
>
> On 9/21/13, Boudewijn Kranendonk <[hidden email]> wrote:
>> On Saturday 21 September 2013 10:13:44 Elle Stone wrote:
>>> It seems reasonable that digiKam might provide the option to ignore
>>> file extensions that the user doesn't actually want digiKam to track.
>>> So I was wondering if there is such a feature hidden away somewhere. I
>>> looked at the config files but didn't see a list of file extensions.
>>
>> I use my jpg's as sidecars to my nefs, and as such, don't need (and don't
>> want) to see .nef or .NEF in Digikam.
>>
>> Dmitri helped me out on that one: it turns out that a minus in front of the
>>
>> extension disables files with that extension. So, under settings/mime-types
>> I
>> got: -nef;-dng
>>
>> I recall DK needs to be restarted for the filter to take effect.
>>
>> Best regards,
>>
>> Boudewijn
>> _______________________________________________
>> Digikam-users mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
>
>
> --
> Elle Stone
> http://ninedegreesbelow.com
>
> Just because it's a standard, doesn't mean it's right.
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users