Author Topic: Only one options panel on the Lenovo Yoga Book due to different DPI?  (Read 2228 times)

spitfire_ch

  • Newbie
  • *
  • Posts: 2
I have been using AquaMail for quite some time on my Lenovo Yoga 10 HD+ tablet and was very happy with it. I recently acquired a new Lenovo Yoga Book (Android version) and of course installed AquaMail right away. It's working almost perfecly, but I noticed a subtle difference compared to the 10 HD+:

When I go to options on the HD+, I always get two panels: the option group on the left and the detailed options on the right.

Doing the same on the Book results in only one panel. I can go from the option groups to the option details, but by that "loose" the option groups (just one panel showing the details). I need to use the back button in order to get back to the groups.

Both tablets share the resolution of 1920 x 1200 (Full HD). But while the HD+ uses 240 DPI, the Book uses 280 DPI (everything is a bit larger). I experimentally lowered the DPI on the Book to 240 using ADB and - voilà - I got the two options panels in AquaMail. However, it brings a bunch of other issues with it, as the tablet was not meant for that DPI.

From this experiment I conclude that AquaMail must check the DPI to decide if two or only one options panel are displayed. However, the threshold, lying somewhere between 240 and 280 DPI, seems to be too low. Two panels would still perfectly make sense at 280 DPI. The messages still offer two panels, so it doesn't make sense why the options should not.

If you have a chance, could you please adjust this threshold? I know, it's just cosmetics, but it somewhat hurts the experience on the Book.

Thanks very much
- spitfire

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Only one options panel on the Lenovo Yoga Book due to different DPI?
« Reply #1 on: February 14, 2017, 10:59:33 pm »
This is controlled by Android, and any changes made by the manufacturer. Yes, the DPI could be a large part of it, but it could also be hard-coded (in Android code) itself.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

spitfire_ch

  • Newbie
  • *
  • Posts: 2
Re: Only one options panel on the Lenovo Yoga Book due to different DPI?
« Reply #2 on: February 18, 2017, 01:12:10 pm »
This is controlled by Android, and any changes made by the manufacturer. Yes, the DPI could be a large part of it, but it could also be hard-coded (in Android code) itself.

Thanks very much for the reply, Kostya. I will forward this to lenovo, hoping they consider lowering the DPI on the book.

I don't think it's hard-coded, because lowering the DPI is enough to bring back the second option panel. It rather seems to be some dynamic / responsive element of android in response to the DPI used by the device.