-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[Settings] Error compacting storage: Can't read property 'scroll' of undefined #3824
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
Comments
I believe @bobrippling will be best equipped to look at this? :) |
Yeah, think it's a simple fix. @banglejsdev are you able to test the change with your bangle 1? I have the new settings app deployed here |
Thanks, I tested your version of the app and it appears to fix the problem. However, your version of Settings might have other issues, perhaps due to my missing other apps that also need to be updated on my Bangle 1. In particular, if I press the red "back arrow" from within the launcher now, I get the following error:
|
Interesting - that looks unrelated. Do you see it without my fix? (let me know if you need instructions on backing out the fix) |
Oh, sorry, you're right--since the error occurs in the launcher code it appears unrelated to your fix. I usually use the red "back arrow" to return to the clock from the launcher and have never seen this issue before so believe it's something that started happening after I tested your change. If I remember correctly, when I installed your updated Settings app there were a couple of other apps that also showed up as being outdated, so I think I may have updated those as well. Unfortunately, I don't remember which ones those were--the Launcher and Bootloader, perhaps? Thanks for fixing the original problem I wrote up! |
I found out at #3685 (comment) that "Widget Utils seems to have become incompatible with Bangle.js 1 at some point because of it's reliance on Bangle.setLCDOverlay." It's seems I didn't go to fix it in widget_utils at that time. I opened an issue to track that now at #3830. |
Affected hardware version
Bangle 1
Your firmware version
2v25
The bug
In the Settings app on Bangle 1 (but not Bangle 2), using Utils | Compact Storage always results in the following error appearing in the IDE:
The Bangle 1 appears to hang because the display with the "Compacting..." message remains, but in fact after compacting storage finishes, pressing BTN1 or BTN3 overwrites the display with selections of the Utils menu.
The same behavior/error also occurs when doing Utils | Turn Off | No
Installed apps
No response
The text was updated successfully, but these errors were encountered: