Back button being weird on Bangle.js 1 #5435
Replies: 1 comment
-
Posted at 2022-12-05 by @gfwilliams Hi - is your Bangle.js firmware and JS apps all up to date? The back button is handled in the Bangle.js firmware itself, in The thing is the back button goes into the Widget bar, so if your app doesn't have widgets (or isn't expecting them) then that can cause a problem. ... but the pictures you show are using If you go to the emulator https://www.espruino.com/ide/ then top-left, Emulator, Bangle.js 1, then type Posted at 2022-12-05 by KTibow This problem began recently when I updated (firmware 2v16, all apps are updated). One issue might be that I don't have any widgets installed (right now I'm using a custom clock I made that displays info on its own). Posted at 2022-12-05 by @thyttan Reminds me a little of this issue regarding E.showMenu. Posted at 2022-12-05 by @gfwilliams Looks like that's it... This breaks on Bangle.js 1:
And this breaks on Bangle.js 1 and 2:
It's from this PR espruino/Espruino#2286 so it looks like while it was tested, it wasn't tested on Bangle.js 1, and unfortunately showScroller didn't get tested on either of them (although it should have been on Bangle.js 2 as part of showMenu). I'll try and get a fix in now Posted at 2022-12-05 by @gfwilliams Ok, all fixed I hope! You'll need to download a 'cutting edge' build to fix it though Posted at 2022-12-05 by @halemmerich Hm, so the problem was essentially the order of stuff accessing Posted at 2022-12-06 by @gfwilliams This one? espruino/BangleApps#2286
Yes - it looked at the appRect before setUI (when there might be no widgets) Posted at 2022-12-06 by @halemmerich No, I meant the espruino pull you linked since that does not change the access order. I would suspect that it was broken even before that for the no widgets loaded situation. Posted at 2022-12-06 by @gfwilliams Sorry - I was being dense there!
I don't think so, because the issue is |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2022-12-04 by KTibow
I recently updated my Bangle to the latest firmware and apps. However the back button seems to be clipping some stuff off (I attached some images). Has anyone ran into this before? Where even is the source code for the back button?
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions