GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||
GeezerVison is showing github.com — ApplicationList: Reset app menu screen when loading watch face by vkareh · Pull Request #2009 · InfiniTimeOrg/InfiniTime Conversation
Contributor
This prevents the application list from loading in the last used screen and instead goes back to the first screen whenever the watch face is loaded. Fixes #2006
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
|
Build size and comparison to main:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Have you checked why the page number of the launcher is actually stored? I wouldn't want to apply a change that conflicts with the original intend of the code. I think it would also be a good idea to check that the behavior reported in #2006 does not happen for other apps as well, like settings for example (that you can open with a double press on the button iirc)? Maybe the fix should be more generic than it currently is? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
39c37f1 to
842bcae
Compare
Yes. It was added as part of #217 with the description:
This behaviour is preserved, as we only reset the page when we're not in an app.
This issue doesn't happen in the settings, since we don't store the current screen there. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
842bcae to
923d5d1
Compare
|
Git bisect says the bug was introduced in 39bc166. There was no call to SetAppMenu removed in that commit... Why didn't the bug occur before? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
This prevents the application list from loading in the last used screen and instead goes back to the first screen whenever the watch face is loaded. Fixes InfiniTimeOrg#2006
923d5d1 to
4742403
Compare
The call to Settings::SetAppMenu() was done in the ctor of the And I think the @vkareh found a better place for this in |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
App menu stays at second screen
There was an error while loading. Please reload this page.