nightscout / AndroidAPS

Opensource automated insulin delivery system (closed loop)
https://wiki.aaps.app
GNU Affero General Public License v3.0
696 stars 1.7k forks source link

3.1.0.2: Important info truncated in main screen #1960

Closed Arne1346 closed 1 year ago

Arne1346 commented 2 years ago

Hi,

with 3.1. some UI improvements have been applied. Unfortunately now a 6 inch phone (Xioami Mi A2) with a resolution 1080 x 2160 pixels is no longer able to display important information on the main screen due to truncation:

signal-2022-07-24-134333_002

The red 1 in the middle of the line is the first digit of the remaining insulin units. At the moment the screenshot was taken it was 19 IU (which makes quite a different to 1 IU as displayed).

Can you rethink and enhance the new layout to make sure that all information can be displayed as before in 3.0?

thank you, Arne

Alamo04 commented 2 years ago

Confirmed It's because the german translation is to long (Std) instead the english (h).

Solution for development: Don't translate this information and let it stay in english.

Solution for user: If needed, set AAPS language to english.

cr582 commented 2 years ago

This issue is also seen in treatment tab among other locations. See also discussion and screenshots in #1394 (which was unfortunately and incomprehensibly closed). Switching to english does not fix it.

jgordon5 commented 2 years ago

I have the same problem with my Honor 50 5g. Sometimes it shows full information on home screen, at other times it's truncated. I put in the screen/pixel dimensions in Android Studio but it's still often truncated and doesn't show COB in full or IOB.

MilosKozak commented 2 years ago

I have the same problem with my Honor 50 5g. Sometimes it shows full information on home screen, at other times it's truncated. I put in the screen/pixel dimensions in Android Studio but it's still often truncated and doesn't show COB in full or IOB.

screenshot?

jgordon5 commented 2 years ago

Here are the screenshots - apologies for the delay. The first one shows what the IOB actually was. Quite often the amount of insulin in the reservoir only shows 1 figure when it should be showing 3. Sorry tried to make them smaller but they ended up not being. Apologies.

Screenshot_20220805_195429_edited Screenshot_20220805_195415_edited .

MilosKozak commented 2 years ago

this is not resolvable. you are using too large font on small display

MilosKozak commented 2 years ago

I updated all translation to one letter

cr582 commented 2 years ago

I updated all translation to one letter

which does not solve it (even in native english it's not fully readable). This is a screenshot of my Samsung S20FE 5G with standard font size. It's neither readable how many IE insulin is left in the cartridge nor how many percantage the battery has left

Screenshot_20220809-150009_AndroidAPS

cr582 commented 2 years ago

and here's the same device in landscape mode

Screenshot_20220809-150336_AndroidAPS

MilosKozak commented 1 year ago

improved by https://github.com/nightscout/AndroidAPS/commit/c86edb94fd59ca1105a03296a565bf405d5d2636