You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Closing and reopening the window updates the cell. I’m not sure why it’s failing to update, but the bug definitely lies in the UI rather than the underlying offline storage implementation.
Actually, if that were the case, selecting the row would update the cell. (I thought it was a Cocoa Bindings issue, but it isn’t.) With a breakpoint in -[MGLOfflinePack offlineRegionStatusDidChange:], I can see that mbgl::OfflineRegionStatuses passed into mbgl::OfflineRegionObserver::statusChanged() during download have completedTileCount at 0 even after completedTileSize begins to increase:
The reason closing and reopening the window causes the cell to get populated is that mbgl::DefaultFileSource::getOfflineRegionStatus() comes back with an mbgl::OfflineRegionStatus that does have completedTileCount set.
Activity
1ec5 commentedon Jun 9, 2016
Closing and reopening the window updates the cell. I’m not sure why it’s failing to update, but the bug definitely lies in the UI rather than the underlying offline storage implementation.
1ec5 commentedon Jun 9, 2016
Actually, if that were the case, selecting the row would update the cell. (I thought it was a Cocoa Bindings issue, but it isn’t.) With a breakpoint in
-[MGLOfflinePack offlineRegionStatusDidChange:], I can see thatmbgl::OfflineRegionStatuses passed intombgl::OfflineRegionObserver::statusChanged()during download havecompletedTileCountat 0 even aftercompletedTileSizebegins to increase:The reason closing and reopening the window causes the cell to get populated is that
mbgl::DefaultFileSource::getOfflineRegionStatus()comes back with anmbgl::OfflineRegionStatusthat does havecompletedTileCountset./cc @jfirebaugh