|
From: | Riccardo Mottola |
Subject: | Re: NSImage caching bug? |
Date: | Mon, 4 Sep 2023 23:03:57 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101 SeaMonkey/2.53.17 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |