On 2023-09-04 14:03:57 -0700 Riccardo Mottola <[email protected]> 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