Closed bassosimone closed 1 month ago
@sloncocs thank you!
@bassosimone , i think your use case is quite different from that reported in https://github.com/ooni/probe/issues/2487. Looking at the screenshot alone tells me you opened the Performance Test
results while Instant Messaging Test
was running. In such situations, the page functionality breaks down. Share variables across the various views.
https://github.com/ooni/probe/issues/2487 reported by @sloncocs is more related to https://github.com/ooni/probe/issues/2511 where the upload button is partially or fully covered. This I have investigated in details.
@bassosimone , i think your use case is quite different from that reported in #2487. Looking at the screenshot alone tells me you opened the
Performance Test
results whileInstant Messaging Test
was running.
Where do you see this in the screenshot? In any case, no, I did not run any other test in the meanwhile.
I think what happens is that there is some race condition because the UI code is called from the background thread, as explained in the logs. If you read the logs, the results are actually submitted, but the UI never updates.
It's reasonable for this to happen when we're updating the UI from a background thread.
It also seems that the race condition is more likely when using the Xcode debugger.
In such situations, the page functionality breaks down. Share variables across the various views.
This seems rather bad. Can you elaborate on which variables are shared and why?
2487 reported by @sloncocs is more related to #2511 where the upload button is partially or fully covered. This I have investigated in details.
Yeah, those are two different issues. One seems a UI layout issue while the other seems a UI updating issue.
Has this been fixed?
this issue has been fixed.
Describe the bug
I clicked the upload-all button for measurements that were not uploaded but nothing happened for minutes.
To Reproduce
Disable automatic measurements upload. Run IM. Try to upload the not-uploaded masurements.
Expected behavior
We should upload measurements that were not uploaded.
Screenshots
System information (please complete the following information):
Additional context
There are the logs observed using the Xcode debugger:
Additionally, after I tried to "upload all", the whole UI for the results was frozen in that screen and I needed to kill the app to be able again to see results.