86bd4da342a0f3c4e3180ed9bc223016270cb74c
GalleryRowCell only refreshed :selected on its own cardsByFile, keyed to whichever GalleryRow it currently renders. A relayout's row membership change (e.g. the width-driven re-chunk settling after files load before this pane is resized) can leave a since-superseded GalleryRowCell fully attached and painted for a beat before VirtualFlow recycles or clears it — the same "needs another pulse to settle" staleness relayout()'s own javadoc already documents for thumbnail painting, just surfacing here as a stuck or missing selection border instead: a card built from that stale row never learns selection moved on, and a freshly built card for the same file in the surviving row can just as easily miss the highlight the first time around. ThumbnailGalleryPane now also resyncs :selected on every actually- attached .photo-card directly (rows.lookupAll), on every selection change — ground truth from the live scene instead of bookkeeping that can lag behind VirtualFlow. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Description
No description provided
54 MiB
Languages
Java
97.4%
CSS
1.5%
Python
0.9%
JavaScript
0.2%