Unstable ordering during scan for devices with the same alias

オープン
#160 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
linux, rust
領域
cli, desktop

調査の方向性

Start by reading the device scan and ordering logic, then compare the behavior with issues #60 and #31. Check how devices sharing an alias are sorted and whether newly detected devices change the cursor selection. Done means ordering by alias and address is stable, and the cursor selection remains stable as devices are detected.

索引モデルが issue の本文から書いたものです。

説明

When scanning, it appears that there is no ordering defined with devices of the same alias, which creates a confusing behavior where they repeatedly swap positions. It would be much more intuitive if this ordering can be stable. Perhaps as an extension to #60. we can sort first by alias, then by address.

Image

Furthermore, #31 is closed, but it appears that the selection under the cursor does not remain stable as new devices are detected. Was there a prior regression by chance?

I would be happy to submit a PR to address either, or both.

主要言語
Rust
スター
3.1k
フォーク
85
平均マージ
3日 4時間
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pythops/bluetui のほかの issue

pythops/bluetui の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。