App - sorting already loaded neighbors of a repeater glitches on fail

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

メンテナーはふだん 2 日以内に返信

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

評価

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

調査の方向性

The report describes sorting neighbours in the app after the full list has loaded, then a timeout leaves the banner at “Showing 0 of 21” while the previous rows remain. Start by locating the app’s repeater-neighbour list, ordering controls, and timeout handling; the payload names no files or tests. Done when changing the order and timing out keeps the displayed count consistent with the retained list and the issue can be reproduced and checked.

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

説明

I've encountered this bug on MeshCore-v1.52.0-windows-x64.

I loaded the full list of neighbours (21) for my repeater, then I noticed there was ordering available under the filter-like button and tried to sort from the strongest.

My expectations were that the already loaded list was going to get reordered. Instead, it seemed like the app tried to pull neighbours from the repeater again (failed with a timeout that one time, I don't have a perfect route to this one). After that, the info banner is saying "Showing 0 of 21 neighbours," although all of the 21 previously loaded repeaters are still listed and don't disappear when I switch back and forth between the list and map views. No actual reordering happened. The list view got a "Load more" button by that ordering change, too - it wasn't present before because the whole list had been pulled already.

It seems that this "0 out of n repeaters while the old list is still present" reliably occurs when you change the ordering and the first pull times out, otherwise it replaces the previous list normally (the "load more" button over the previous list also achieves this).

It's still a bit weird to start pulling the whole list again instead of sorting the already loaded one but I understand that it's at least consistent with change of ordering on partially loaded lists.

image image
主要言語
C
スター
3.9k
フォーク
1.5k
平均マージ
2日 7時間
マージ済み PR(30日)
56

環境構築

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

はじめの一歩

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

meshcore-dev/MeshCore のほかの issue

meshcore-dev/MeshCore の issue をすべて見る

似ている issue

C の issue をもっと見る

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

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