discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage caching bug?


From: Marco Cawthorne
Subject: Re: NSImage caching bug?
Date: Wed, 06 Sep 2023 15:42:21 -0700

On 2023-09-04 14:03:57 -0700 Riccardo Mottola <riccardo.mottola@libero.it> wrote:

Hi Marco,

Marco Cawthorne wrote:

I went into libs-gui/Source/NSImageRep.m and inside
imageRepsWithContentsOfURL set the argument of
resourceDataUsingCache from YES to NO which fixes
the problem I was having. So my assumptions about
the cache being too generous appear to be correct.

Obviously not a real fix, but good enough for me to keep
working. When I have some time I can try looking into
writing a patch but some of you on the list may be faster
anyway.

did you try digging into this? perhaps making a small test case?

During my work on dock tiles, I discovered another image cache issue:

https://github.com/gnustep/libs-gui/issues/187

maybe it is a good thing to track them for a solution.

Riccardo

I can write a test case, I was afraid of my GNUstep install being
rather out of date at this point since there's been a lot of activity
upstream so I was putting it off. I'll put some time aside this week
to create it.

-- Marco




reply via email to

[Prev in Thread] Current Thread [Next in Thread]