Skip to content

fix(ui): avoid sidebar stall from sync network on page show (#129) - #130

Closed
Detritalw wants to merge 2 commits into
Windowsfrom
fix/sidebar-nav-stall-129
Closed

fix(ui): avoid sidebar stall from sync network on page show (#129)#130
Detritalw wants to merge 2 commits into
Windowsfrom
fix/sidebar-nav-stall-129

Conversation

@Detritalw

@Detritalw Detritalw commented Jul 25, 2026

Copy link
Copy Markdown
Member

PassPort avatar no longer blocks the UI thread: read local cache first, download in the background, and notify via passPortAvatarChanged. Home activity/server refresh uses a 5-minute TTL and skips localmod; remote info/server requests get 5s timeouts so offline/slow nets cannot freeze navigation.

close #129

Not tested yet

PassPort avatar no longer blocks the UI thread: read local cache first,
download in the background, and notify via passPortAvatarChanged.
Home activity/server refresh uses a 5-minute TTL and skips localmod;
remote info/server requests get 5s timeouts so offline/slow nets cannot freeze navigation.
@gemini-code-assist

This comment has been minimized.

@Detritalw
Detritalw marked this pull request as draft July 25, 2026 23:00
Harden home remote refresh with in-flight guards and success-only TTL so failed
requests can retry. Cache launch items briefly, avoid force-scanning Java on
every Settings open, defer home network/plugin work with Qt.callLater, and
ignore stale avatar downloads after account switch.
@Detritalw
Detritalw marked this pull request as ready for review July 26, 2026 02:47
@gemini-code-assist

This comment has been minimized.

@Detritalw

Copy link
Copy Markdown
Member Author

冲突过大,待我重写。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

关于侧边栏点击时发生的卡顿的性能问题

1 participant