-
• #2
I think they both behave the same way - maybe what you're seeing is that when it tries to figure out the font size it looks at the width of the text string supplied - and if you send:
1 2 3 4 5 6 7
then the width is actually very small. I am a bit surprised it didn't crop the text lines - and actually looking at the code it only does this if the string width is greater than a certain amount (I guess it shouldn't).
I guess the question is: has this ever been a problem in real life, or is it just when using the debug tool with that particular set of text?
-
• #3
The duplicated thread with better pics (smaller size) has been the removed one.
Anyway it was a false alarm, but that's true that i expected the same size and horizontal/vertical centered independently of length of the string.
On the other hand, what is the expect app to display in bangle.js for a debug notification?
Currently it shows "Bangle.js gadgetbridge" or the fake app selected from the debug dropdown list, a even i would propose a 3rd option "Debug: %app%" so "Debug: Whatsapp"But also it is not a real life problem, so it is just a curiosity :D
-
• #4
Ahh, sorry - I didn't know which one to remove...
what is the expect app to display in bangle.js for a debug notification? Currently it shows "Bangle.js gadgetbridge"
I think that's expected. Gadgetbridge debug is really just to test things work ok. If you really want to debug you can connect with the IDE and issue a command manually: http://www.espruino.com/Gadgetbridge#mesĀsages-sent-to-bangle-js-from-phone
I don't know if there is a reason to display notification from GB Debug in a different way than those from real apps.
At the moment when notifications come from Debug:
See the photos with multi line messages
photo1. a test from Debug
photo2. a real notification (it is not recent, so maybe the text distribution has been improved)
3 Attachments