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

Đang mở
#3,942 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
54/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c
Lĩnh vực
mobile

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
C
Star
3.9k
Fork
1.5k
Merge trung bình
2 ngày 7 giờ
Pull request đã merge (30 ngày)
56

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của meshcore-dev/MeshCore

Tất cả issue của meshcore-dev/MeshCore

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.