Skip to content

enable state restoration#18

Merged
Kapeli merged 5 commits intoKapeli:masterfrom
zhongwuzw:enable-state-restore
Nov 25, 2016
Merged

enable state restoration#18
Kapeli merged 5 commits intoKapeli:masterfrom
zhongwuzw:enable-state-restore

Conversation

@zhongwuzw
Copy link
Copy Markdown
Contributor

enable state restoration

enable state restoration
@Kapeli
Copy link
Copy Markdown
Owner

Kapeli commented Nov 22, 2016

Looks good. One issue: the webView's page gets reverted back to the "This page intentionally left blank" page upon restore.

fix webView issue
@zhongwuzw
Copy link
Copy Markdown
Contributor Author

@Kapeli , I fix the webView issue.

fix webView url is http/https restoration
@Kapeli
Copy link
Copy Markdown
Owner

Kapeli commented Nov 23, 2016

More issues on iPad:

  1. Have Settings > Download Docsets open and quit and restore state, the download docsets view on the right isn't restored
  2. If you have the split view collapsed (i.e. webView on whole screen) and quit and restore state, the split view is correctly restored, but the collapse button isn't restored in its right state so it tries to collapse the split view when you first tap it
    2.1. For some reason restoring with the split view collapsed causes the table views to appear below the search field
  3. The selected row of table views isn't restored

enable-state-restore
@zhongwuzw
Copy link
Copy Markdown
Contributor Author

@Kapeli I fixed issues on iPad. for the second issue, I think it's UISearchDisplayController bugs, so my solution is to force non-collapsed when state restoration.

@Kapeli
Copy link
Copy Markdown
Owner

Kapeli commented Nov 24, 2016

More issues:

  1. Doesn't work with Remotes
  2. Issue 1 from enable state restoration #18 (comment) is still present on iPhone 6/7 Plus in landscape mode

add remoteBrowser state restoration
fix iPhone6/7 Plus download interface restore issue
@zhongwuzw
Copy link
Copy Markdown
Contributor Author

@Kapeli , I updated codes to fix the issue.

@Kapeli Kapeli merged commit 5b7c283 into Kapeli:master Nov 25, 2016
@Kapeli
Copy link
Copy Markdown
Owner

Kapeli commented Nov 25, 2016

Awesome job. Thank you! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants