chris.gitea 1a0fdfc037 fix(gallery): retry thumbnail decode when the file isn't on disk yet
ThumbnailImageCache.request never calls back when the decode returns
null, which is the right contract for a file with no thumbnail at all
but left the placeholder stuck forever for a file whose generation
simply hadn't finished writing to disk yet - confirmed via the
[DIAG] logs, no ASYNC delivery line ever appeared for the stuck file.
GalleryRowCell now retries the request every 500ms (up to 8 times)
until it lands, relying on Caffeine evicting a null-completed entry
so each retry is a genuine new decode attempt.

Also reverts an unrelated regression from the same investigation:
deliverThumbnail used to defer/drop the paint while card.getScene()
was null, on the theory the card was mid-reattachment by VirtualFlow.
That check proved unreliable even for genuinely visible cards, so it
started silently dropping real deliveries - worse than the original
bug, since nothing could make a card show content that was never
painted into it. The paint is unconditional again.
2026-09-23 21:45:26 -04:00
2026-08-22 17:52:02 -04:00
2026-08-22 11:54:20 -04:00
2026-08-22 11:54:20 -04:00
2026-08-22 11:54:20 -04:00
2026-08-08 23:21:21 -04:00
2026-07-26 18:49:07 -04:00
2026-07-26 18:49:07 -04:00
S
Description
No description provided
54 MiB
Languages
Java 97.4%
CSS 1.5%
Python 0.9%
JavaScript 0.2%