[PR #1571] [MERGED] fix(bar): update the network widget in separate threads #1467

Closed
opened 2026-01-05 14:55:23 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/LGUG2Z/komorebi/pull/1571
Author: @CtByte
Created: 10/3/2025
Status: Merged
Merged: 11/23/2025
Merged by: @LGUG2Z

Base: masterHead: fix/network_thread


📝 Commits (1)

  • 14b6550 fix(bar): update the network widget in a separate thread

📊 Changes

1 file changed (+108 additions, -51 deletions)

View changed files

📝 komorebi-bar/src/widgets/network.rs (+108 -51)

📄 Description

This commit changes the way how the default interface and network activity is loaded by spawning a new thread on each request. This way the main thread is not blocked by this process.

There has been instances where getting the default interface blocked the egui ui thread, resulting in a frozen bar.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/LGUG2Z/komorebi/pull/1571 **Author:** [@CtByte](https://github.com/CtByte) **Created:** 10/3/2025 **Status:** ✅ Merged **Merged:** 11/23/2025 **Merged by:** [@LGUG2Z](https://github.com/LGUG2Z) **Base:** `master` ← **Head:** `fix/network_thread` --- ### 📝 Commits (1) - [`14b6550`](https://github.com/LGUG2Z/komorebi/commit/14b65503e71fa352bd3f274ea7d0d1c8d1b80145) fix(bar): update the network widget in a separate thread ### 📊 Changes **1 file changed** (+108 additions, -51 deletions) <details> <summary>View changed files</summary> 📝 `komorebi-bar/src/widgets/network.rs` (+108 -51) </details> ### 📄 Description This commit changes the way how the default interface and network activity is loaded by spawning a new thread on each request. This way the main thread is not blocked by this process. There has been instances where getting the default interface blocked the egui ui thread, resulting in a frozen bar. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-01-05 14:55:23 +01:00
adam closed this issue 2026-01-05 14:55:23 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#1467