macherel / Barcode-Wallet

50 stars 9 forks source link

Backlight Behavior #3

Open Swap-File opened 2 years ago

Swap-File commented 2 years ago

The barcode readers I'm dealing with will only work with my watch backlight on.

If I'm showing someone a barcode and my backlight shuts off due to timeout, it feels natural to tap my screen again to light it up.

Tapping the screen will turn on my backlight, but it also takes me to the barcode selection screen, requiring me re-select the barcode I want to show someone.

I've learned that pressing the side button on my watch will light it back up without changing the barcode, but it doesn't quite feel as natural.

Would it be possible to have a setting so the app won't enter the the barcode selection menu if the backlight is off? Effectively it would take two taps to enter the menu, a single tap would just refresh the backlight timeout.

Also, would it be possible to have a setting to not shut the backlight off on exit? If using the widget, it makes scrolling through the widget menus odd, since it the light will shut off and then flick back on between widgets. And it makes exiting the app at night odd since once I exit the app I can't see the screen I'm exiting to.

Thanks for a great application! It's the best Garmin barcode app I've seen so far.

cagnulein commented 2 years ago

+1 for this!

macherel commented 2 years ago

I'm very sorry for not responding you before (notification is miss-configured and I'm not used to have feedback from here)

Thank you for your detailed feedback. I will try to make some fixes. First (and easiest) thing I can do is to don't change the default behavior if the "force backlight" option is disabled. I just notice that I always turn backlight off when the app exits. This should be fixed quickly.

Another point that I tought it will be easy is to restore default backlight when the app exits (even if the force backlight is enabled). But I have a strange behavior on my watch, the backlight no longer turn off automatically if the backlight is set to default when the app exit.

Your idea about using touchscreen to make the backlight on is great. I will see how to do that.