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

Ouverte
#3,942 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 2 jours

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
54/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
c
Domaine
mobile

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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
Langage dominant
C
Étoiles
3.9k
Forks
1.5k
Merge moyen
2 j 19 h
PR mergées (30 j)
61

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de meshcore-dev/MeshCore

Toutes les issues de meshcore-dev/MeshCore

Issues similaires

Plus d'issues C

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.