Status icon indicating copy to clipboard operation
Status copied to clipboard

Data and signal icons are shown incorrectly

Open fennifith opened this issue 9 years ago • 11 comments

They usually (I've had a few occurrences where they do actually work properly) refuse to disappear when airplane mode is enabled or when wifi is turned off. No clue why.

fennifith avatar Sep 07 '16 22:09 fennifith

And it's annoying too

MrNikhilGupta avatar Sep 08 '16 12:09 MrNikhilGupta

It's not the only issue, because the strength of the signal doesn't update on WiFi and cellular network.

chdelacr avatar Sep 08 '16 17:09 chdelacr

Well, the wifi icon works properly now. As people usually don't enable airplane mode on a regular basis I think it would be ok to leave this issue open for now and push the next update. I'll add an option to disable the animations (since there are a lot more now and they will definitely have an effect on performance) then I'll build the next apk.

fennifith avatar Sep 11 '16 12:09 fennifith

Network icon apparently disappears unless the user is calling someone since 2.7. Can't reproduce.

fennifith avatar Nov 13 '16 12:11 fennifith

According to some people the bug also occurs if the user is on 4g/LTE. Most people seem unaffected. Thought it was limited to 6.1 at first but then saw someone on 5.0 and one on 7.1.

fennifith avatar Nov 14 '16 11:11 fennifith

Changed the signal strength stuff in b36ebd4, but I can't tell if it did anything since I can only test on emulators or my phone, which works fine on all the versions (obv)

fennifith avatar Nov 14 '16 11:11 fennifith

Some progress is being made on the issue with the signal icon, see TheAndroidMaster/SignalStrengths for more info.

fennifith avatar Jan 08 '17 23:01 fennifith

There is an issue with the WiFi icon as well - this is confirmed from my end now. I wasn't getting very accurate descriptions from users, so I couldn't really understand the problem, but the actual issue is that whenever the WiFi is full irl (signal level = 4), Status shows 0.

fennifith avatar Feb 10 '17 21:02 fennifith

The problem with the WiFi icon has been corrected. The issue came from a misunderstanding of how WifiManager.calculateSignalLevel(int, int) works. My original understanding was that it will return 0-4 if you pass '4' as the second argument but, as you can see from the documentation that I definitely didn't skim through really fast trying to make this, that makes it return 0-3 (and apparently return 1 if the signal is 4? This could be due to implementation, not an actual issue with the method). The fix was to change it to 5. Hopefully this works across all versions and won't cause any issues when I push the next update.

fennifith avatar Feb 10 '17 21:02 fennifith

Small problem: the airplane mode bug still hasn't been fixed over two months after it was discovered :worried:

fennifith avatar Feb 10 '17 21:02 fennifith

Add roaming icon?

Rod911 avatar Nov 08 '17 06:11 Rod911