Easer icon indicating copy to clipboard operation
Easer copied to clipboard

select wifi AP empty

Open gorn opened this issue 6 years ago • 22 comments

select wifi AP on page "wifi Connection" is empty when I press the "pencil" icon. I am connected to Wifi.

gorn avatar Mar 01 '18 20:03 gorn

That's strange if you are connected to wifi (because at least the connected one should show up if I were right).

Is that a persistent behavior? I mean, if you close that dialog and click the "pencil" icon again, will anything be shown up?

renyuneyun avatar Mar 04 '18 00:03 renyuneyun

I'm getting that too

Also this may be a bit of topic, but if I check None it still complains about this

ThePreviousOne avatar Mar 04 '18 12:03 ThePreviousOne

Yes it is persistent. The window is small and empty.

gorn avatar Mar 07 '18 17:03 gorn

@ThePreviousOne @gorn Sorry for the invonvinence :(

One last check before I can conclude that's a logical bug (or some not-well-documented behavior?):

Do you use any permission management apps (apart from Android's native permission control)? What's the version of you Android system(s)? If you are not using stock android, what's the name and version of your ROM?

renyuneyun avatar Mar 07 '18 18:03 renyuneyun

v0.5.5.4 should improve the situation. Could you have a test if it appears in the repo?

renyuneyun avatar Mar 22 '18 00:03 renyuneyun

I have the same bug. Samsung sm-j500h/ds with os version 6.0.1 and Easer version 0.5.7.1.

Volodumur558 avatar Apr 30 '18 07:04 Volodumur558

I have the same problem on a Fairphone 2 running Fairphone Open 18.04.1 (based on Android 6.01).

qoheniac avatar May 18 '18 16:05 qoheniac

Same issue on LG G3, Android 6.0 + Easer 0.6.6.1, which is a tad annoying since that's the main condition I'd want to use

ag-eitilt avatar Jul 01 '18 13:07 ag-eitilt

many confirmations. Can anyone send the logcat?

ildar avatar Jul 04 '18 06:07 ildar

I don't have this issue anymore.

qoheniac avatar Jul 04 '18 07:07 qoheniac

I am and have been busy for a few days, but unless I forget, I'll grab it friday.

ag-eitilt avatar Jul 04 '18 14:07 ag-eitilt

(Not for the bug itself, as I still can't reproduce)

FYI: I'm using Oxygen OS 3.1.4, based on Android 6.0.1, and I don't have this issue...

(The two reported cases are both on Android 6.0.1, so this example is to show this may not be an Android bug. I guess the explanation would be Android 6.0.1 is a very widely-used version...)

renyuneyun avatar Jul 05 '18 22:07 renyuneyun

It's huge: ~26% https://en.m.wikipedia.org/wiki/Android_version

ildar avatar Jul 05 '18 22:07 ildar

All right, I'm having trouble getting adb recognizing my phone. I'll keep working on it and post the log once I sort it out, but if someone else has the chance before then, go ahead, I might be a while.

ag-eitilt avatar Jul 07 '18 03:07 ag-eitilt

You can run logcat with an app on the phone

ildar avatar Jul 07 '18 16:07 ildar

Same Issue Asus Z00ED Lineage OS 7.1 Easer 0.7.1

Giant3 avatar Nov 01 '18 17:11 Giant3

1541094125827,2018.11.01 18:42:05.827,ASSERT,PRETTY_LOGGER,======Easer started======
1541094131215,2018.11.01 18:42:11.215,DEBUG,PRETTY_LOGGER,[ScriptListFragment] reloadList()
1541094131217,2018.11.01 18:42:11.217,VERBOSE,PRETTY_LOGGER,[ScriptListFragment] All item: []
1541094131219,2018.11.01 18:42:11.219,DEBUG,PRETTY_LOGGER,[ScriptListFragment] : no item
1541094132832,2018.11.01 18:42:12.832,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094132836,2018.11.01 18:42:12.836,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094132859,2018.11.01 18:42:12.859,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094132861,2018.11.01 18:42:12.861,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094132878,2018.11.01 18:42:12.878,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094132880,2018.11.01 18:42:12.880,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094134611,2018.11.01 18:42:14.611,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094134612,2018.11.01 18:42:14.612,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094134980,2018.11.01 18:42:14.980,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094134982,2018.11.01 18:42:14.982,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094135234,2018.11.01 18:42:15.234,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094135236,2018.11.01 18:42:15.236,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094135654,2018.11.01 18:42:15.654,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094135656,2018.11.01 18:42:15.656,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094135979,2018.11.01 18:42:15.979,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094135982,2018.11.01 18:42:15.982,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094136386,2018.11.01 18:42:16.386,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094136388,2018.11.01 18:42:16.388,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094136879,2018.11.01 18:42:16.879,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094136881,2018.11.01 18:42:16.881,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094137364,2018.11.01 18:42:17.364,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094137366,2018.11.01 18:42:17.366,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094138076,2018.11.01 18:42:18.076,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094138078,2018.11.01 18:42:18.078,DEBUG,PRETTY_LOGGER,[FillDataJob] tick on 0
1541094145760,2018.11.01 18:42:25.760,ASSERT,PRETTY_LOGGER,======Easer started======
1541094239736,2018.11.01 18:43:59.736,ASSERT,PRETTY_LOGGER,======Easer started======

Giant3 avatar Nov 01 '18 18:11 Giant3

One potential cause: did you grant Easer the "Access Location" permission? (I accidentally knew this.)

I know it sounds a bit weird at a first glance, but (at some point) Android began to think wifi APs contain information which can be used to identify your location.

renyuneyun avatar Jun 15 '19 22:06 renyuneyun

That would make sense. However, I no longer have a smart phone, so I'm unable to see if that fixes things.

ag-eitilt avatar Jun 17 '19 12:06 ag-eitilt

I have the same issue with Easer 0.7.8-beta (installed via F-Droid). I'm using a Samsung Galaxy S5 Plus (SM-G901F) with Resurrection Remix OS 6.2.1 (Android 8.1.0).

I'm a bit surprised how the permission management works with Easer. Usually, I a popup appears when an app tries to gain a specific permission (e.g. access to location). However, Easer seems to never ask the system for any permission. At least I didn't get such popups yet. So I went manually into the app permission settings of Android and gave Easer all available permissions. Then I force stopped Easer and started it again. Then I checked if the Bluetooth device list in Easer is empty as well. It wasn't. After these actions I finally see WiFi networks in Easer.

So I guess, manually granting the location access did the job.

xylo avatar Aug 17 '19 10:08 xylo

Reproduction Wifi-related events and conditions only work if Easer is given location permission and if you have location enabled. If either the permission is not given or location is currently off, both the wifi AP list will stay empty and the wifi-related events don't fire.

Issue Location on my phone is almost always disabled but I still want to use Easer with wifi-related conditions. Is this a bug that can be fixed?

@xylo I can confirm that even though apps need a permission they never ask for it. Happened on Resurrection Remix and now on my CalyxOS as well. Makes it hard to help the apps give the permission because it's like "silently denied".

jrsmb avatar Aug 28 '20 14:08 jrsmb

This is a FAQ: Location and Location permission are required for an app to get the AP info. This is an Android system requirement.

ildar avatar Sep 13 '20 16:09 ildar