-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
performance issue on Mac Catalyst app #122
Comments
That's weird. It works flawlessly for me. Could you build from source code? |
The problem is identical whether I build the latest release in Xcode, or use the downloadable build. While making the screen cap I noticed the issue only happens at a certain zoom level, as demonstrated here: https://monosnap.com/file/jAa8z38P3lKe2gzIqWK9e0TZDk7f3I Zoomed out is fine, but zoom in a little and the app runs at 100% CPU. Also noticed that the bubble for UK is located over Nigeria. |
No probs, here's a grab: |
no probs, here's a more complete trace: I suspect it's a Catalyst glitch to be honest, the 100% CPU surge seems to happen as a result of a single click, and lasts up to a minute, doesn't seem to be network related. I ran the same build in the iPad sim and it's smooth as silk. Nb, there is a data glitch that puts the UK data bubble in Algeria |
Thank you again. Unfortunately, I couldn't see what's wrong from the partial screenshot. The problem could also be with a different thread. Without more information, it's hard to understand what's happening and fix the problem. The annotation issue is now fixed on the master branch. Thank you for your feedback! |
I'm experiencing the same. Here is my Time profile from Instruments: http://gk.lka.hu/x/keep/Time_profile.trace.zip |
Thank you so much. It's very helpful. It looks like an issue with Mac Catalyst. Do you remember the last action you made before the main thread hangs? Also, could you try to comment out those lines (171->202) and see if the problem is solved? CoronaTracker/Corona/Controller/Map/RegionAnnotationView.swift Lines 171 to 202 in 871ddc1
|
I wanted to scroll the map right after the app was launched. I’ll try to comment out the mentioned lines later today. |
Unfortunately it did not help. :( |
Thank you for taking the time to try. I tried many things but wasn't able to reproduce the problem yet. |
The same thing happens for me. I can select/deselect bubbles just fine, but as soon as I start dragging the map, the app gets stuck. |
The current version of CoronaTracker is beach balling continuously on my mbp 16". Network is not the issue, I have 30 mbps connection. Can't select any country bubbles. Only selection that works is from search results.
My previous version was from around 1 month ago, it worked fine, re-downloading now :-)
UPDATE: Going back through the previous releases one at a time, 1.6 seems to be latest version that doesn't hang UI for macOS release.
The text was updated successfully, but these errors were encountered: