calcitem / Sanmill

Sanmill is an open-source, UCI-like Mill/Morris/Merrills/Mühle/Malom (and its variants) program with CUI, Flutter GUI and Qt GUI, sharing and freely distributing the code, tools and data needed to deliver this mill game. We do this because we are convinced that open software and open data are key ingredients to make rapid progress.
https://play.google.com/store/apps/details?id=com.calcitem.sanmill
GNU General Public License v3.0
145 stars 21 forks source link

Ability to show Statusbar for notch displays #240

Open iJahangard opened 3 years ago

iJahangard commented 3 years ago

My phone have notch and my phone's system will show a black area from down of the camera to top of the phone Not cool 🥺 Screenshot_۲۰۲۱-۰۶-۳۰-۱۴-۱۹-۱۵-۵۸۵_com.calcitem.sanmill.jpg

I believe this is because of you hided the statusbar for the app , so notch display system show this to see full content of the app ( i mean they don't want , you don't see content because of notch ) It can be fixed if you add an option to enable statusbar again Thank in advance

calcitem commented 3 years ago

Whether to display the top status bar is also determined in the early stage of app initialization, and it may not be able to read the user configuration. I need to study it a bit more. Another idea is to solve the problem of black blocks at the top.

Can you tell me the phone model? Let me see if I can buy the same phone for debugging.

iJahangard commented 3 years ago

Can you tell me the phone model? Let me see if I can buy the same phone for debugging.

My phone's model is Redmi Note 9 Pro But ! Hey you don't need to buy the phone In android 10 and early ! There is a feature in developer options for emulate a notch area I guess this is enough to debug this issue

calcitem commented 3 years ago

Thank you, this problem can indeed be reproduced, I will study how to solve it.

calcitem commented 3 years ago

TODO:

When opening the app status bar is fine, but go to the settings (any other layers) And come back to the board page, and the status bar is black. It should be white.