Frequent Window Refreshes #11

Closed
opened 2026-10-05 03:15:56 +02:00 by adam · 4 comments
Owner

Excessive window refreshing makes for a strobing experience on slower systems like the LuckFox

Excessive window refreshing makes for a strobing experience on slower systems like the LuckFox <!-- github-sync-id:2793903899 -->
adam closed this issue 2026-10-05 03:15:56 +02:00
Author
Owner

Might not be the only cause but #24 probably isn't helping this, especially on app startup if the node has messages queued.

Ideas:

  1. Check if the list order actually changed before triggering refresh
  2. Identify which packet types can actually trigger last heard changes, limit processing to these
  3. Implement a minimum time between list order updates
  4. Update list order on a timer instead of in response to packet receipt (combine with 1)
Might not be the only cause but #24 probably isn't helping this, especially on app startup if the node has messages queued. Ideas: 1. Check if the list order actually changed before triggering refresh 2. Identify which packet types can actually trigger last heard changes, limit processing to these 3. Implement a minimum time between list order updates 4. Update list order on a timer instead of in response to packet receipt (combine with 1) <!-- github-comment-id:2597085501 -->
Author
Owner

#24 is one of the causes however, the windows also all refresh when navigating between windows and nodes unnecessarily. The inverted items could be redrawn individually instead of refreshing the entire window. I believe it'll take a bit of refactoring to improve.

#24 is one of the causes however, the windows also all refresh when navigating between windows and nodes unnecessarily. The inverted items could be redrawn individually instead of refreshing the entire window. I believe it'll take a bit of refactoring to improve. <!-- github-comment-id:2597111330 -->
Author
Owner

Maybe close? There are still some possible improvements but it's not nearly like it was.

Maybe close? There are still some possible improvements but it's not nearly like it was. <!-- github-comment-id:2610811643 -->
Author
Owner

I tried out the current master on a LuckFox and it's a waaay better experience. The only strobing I see now is from:
Switching channels (and loading all the messages)
The settings dialog flickers when navigating.

I'd say this is no longer a "bug" so I'll close.

I tried out the current master on a LuckFox and it's a waaay better experience. The only strobing I see now is from: Switching channels (and loading all the messages) The settings dialog flickers when navigating. I'd say this is no longer a "bug" so I'll close. <!-- github-comment-id:2610822026 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/contact#11