Add workaround for delegate stuck transition bug

Sometimes and randomly, a HListView/HGridView delegate's
add/populate transition will stop before completion.

This especially happens on startup when loading a large room list,
one room might get stuck and left tiny or invisible, despite its
normal space still being taken.
This commit is contained in:
miruka
2020-09-22 19:12:13 -04:00
parent 35fa1fa16b
commit 8acc7299e9
10 changed files with 53 additions and 0 deletions

View File

@@ -243,4 +243,6 @@ HTile {
sequences: window.settings.keys.togglePresenceOffline
onActivated: account.togglePresence("offline")
}
DelegateTransitionFixer {}
}

View File

@@ -207,6 +207,8 @@ HTile {
if (loadEventsFutureId) py.cancelCoro(loadEventsFutureId)
}
DelegateTransitionFixer {}
Timer {
interval: 1000
triggeredOnStart: true