The S3 fix removed the only conditional that read is_breadcrumb. Remove
the parameter from the signature and its kwarg from the one call site in
the breadcrumb button handler.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Change nav_gen default from 0 to None in _fetch_list_contents_bg and
_finalize_list_loading. The guard is updated to only apply when a gen
is explicitly provided (`nav_gen is not None`).
Refresh call sites (lines 1515, 1529, 1538) pass no gen, so they receive
None and bypass the guard — their results are always applied. Navigation
calls still pass an explicit integer gen, so stale-navigation protection
remains fully intact.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- S1: drop pulse_gauge(True) from inside pagination while-loops in
_fetch_sites_bg, _fetch_tree_children_bg, and _fetch_list_contents_bg;
the gauge is already running from the call before the loop
- S3: remove the is_breadcrumb bypass on the early-return guard so
clicking the already-active breadcrumb segment no longer fires a
redundant network request
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Introduces self._nav_gen, incremented on every _navigate_to_item_data
call. The counter is threaded through _fetch_list_contents_bg and
checked in _finalize_list_loading: if the user navigated away while a
fetch was in flight, the stale results are silently discarded instead of
overwriting the active folder view and re-sorting its items.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- C2: remove duplicate EVT_SIZE binding (on_status_bar_resize); merge
gauge repositioning into the single on_resize handler
- I4: position gauge correctly on first show by updating rect inside
pulse_gauge._do() when start=True, so no resize event is required
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- C1: initialize url=None before conditional in _fetch_tree_children_bg
to prevent UnboundLocalError on unexpected data types
- I2: translate System tab label via get_txt instead of hardcoded string
- I3: add status_loading_items to STRINGS (da+en) and use it in
_fetch_list_contents_bg instead of hardcoded Danish f-string
- S2: remove unreachable SITE branch from _append_list_items
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>