anthonya1999/GoodNight

When adjusting the temperature slider, the temperature value text becomes illegible

int3h opened this issue · 7 comments

int3h commented

In the Temperature settings view, when you move the temperature slider, the text in the table section header/footer updates with the current value of the slider.

However, there is currently a bug that, when the slider is updating rapidly, the new text is simply rendered in-place on top of the old text without clearing the old text.

After a half-second or so, the old text is finally cleared away, and only the most recent value is rendered. So this isn't a permanent glitch; it only happens when the temperature value is updating rapidly. Unfortunately, that makes the text illegible when actively changing the temperature slider, which makes it hard to set the exact value you want.

goodnighttextbug

Interesting. I cannot reproduce that on my devices. What iOS version are you using and on what devices?

int3h commented

iOS 9.2 on an iPhone 6S+, and an iPhone 6+. I'm using the latest commit from 'master' (216a84e).

Really strange. I currently use an iPhone 6+ on 9.2 as well and cannot reproduce that. Any specific settings that must be activated in the app to reproduce this?

int3h commented

Not that I can tell. The only configuration of GoodNight I have done is what you see in the screenshot above; all other settings screens are left at default.

Nothing jumps to mind in terms of iOS system settings that might cause this. I'm happy to report back on my configuration if you have specific settings you want me to look at, though.

eyv commented

I've actually been seeing that as well for some time now. No special settings that I can think of.

int3h commented

Aha! Found the confounding variable: in my iOS system settings, I have "Display & Brightness -> Text Size" set to the smallest setting. When I set this back to the middle size (the default), the bug in GoodNight disappears.

From what I can tell, if this system setting is set to any value below the middle (default), then the bug appears. The middle value or larger makes the bug disappear.

Why this happens, I do not know :)

Not sure what can be done against it. Will do some experiments...