Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] Changes do not take effect #55

Open
AgentGibbz opened this issue Jan 11, 2021 · 18 comments
Open

[Bug Report] Changes do not take effect #55

AgentGibbz opened this issue Jan 11, 2021 · 18 comments
Labels
bug Something isn't working question Further information is requested

Comments

@AgentGibbz
Copy link

Description

If I change various settings too much, the app stops recognizing changes. At that point, it doesn't seem to matter what changes I make in settings; the changes will not take effect. The more I try to make settings adjustments, the more the app breaks. The only way the app will work is if I uninstall / reinstall the app, and then try to make only a couple changes in the settings. It's a bit of a vague problem because I don't know exactly what changes are causing things to break. So for now, to make the app useful, I did a fresh install of the app, and only made 2-3 changes, leaving the rest at their defaults.

Here's an example:
When I go into the Settings and try to set different things like change the color of the Edge Glow, or show/hide the clock, date, battery level... most of the time, the changes I set do not take effect. For example, I've tried multiple times to set the Edge Glow to be red color, but doing so seems to break Edge Glow altogether because Edge Glow simply stops working. But the clock will still show. If I go set the Edge Glow color back to white, it doesn't start working again. Edge Glow just stops working altogether. The only way to "fix" the app is to uninstall / reinstall it, and then it seems that as long as I only make a couple small changes, as to not deviate too much from the default settings, then the app works according to the settings I have set.

Screenshots

Add screenshots here to describe the problem.

Logs

Add a detailed stack trace / crash log here if applicable

Additional information

  • Android version: 11
  • AlwaysOn version: 3.8.4
  • Installation source: F-Droid
@AgentGibbz AgentGibbz added the bug Something isn't working label Jan 11, 2021
@Domi04151309
Copy link
Owner

This is strange. Do you use double tap or the power button to exit the AOD?

@AgentGibbz
Copy link
Author

Sometimes I double tap, and sometimes I use the power button to exit the AOD. Should I try exclusively using one or the other?

Not sure if it matters, but my phone is a Pixel 3. If there's any more info I can provide to help, please let me know. This is a very helpful app for any phone that doesn't have a front LED for notifications. I love that you made it, so I can set the app to activate the AOD when a notification is received.

@AgentGibbz
Copy link
Author

AgentGibbz commented Jan 11, 2021

I'm also running CalyxOS (which currently uses Android 11). Thanks for the quick response.

@Domi04151309
Copy link
Owner

Try using double tapping at least once after you changed a setting and tell me if this still happens.

@AgentGibbz
Copy link
Author

AgentGibbz commented Jan 11, 2021

So here's what I just tried:

Mind you that before I made any change, Edge Glow was working and it was white.

I went into settings and changed the Edge Glow color to red. I then backed out of the app settings. I also have it set to activate when upon a notification showing up. So in order to make a notification happen, I opened NewPipe and started a video. While the video was playing I pressed Power to turn off the display. NewPipe activates some playback controls in a notification, which AlwaysOn sees as a notification and activates AOD.

When the AOD activated, Edge Glow is no longer there. I double tap to exit AOD. Swiped up to unlock. Then pressed Power again, and AOD activates but still no Edge Glow. I double tap again to quit AOD. So I went into settings and changed the Edge Glow color back to white. Backed out of the app, checked the AOD screen again and Edge Glow doesn't activate (the other elements are still there such as Clock and Date).

@Domi04151309
Copy link
Owner

This might be an issue with the app detecting the notification. It ignores some notifications like permanent ones.

@Domi04151309 Domi04151309 changed the title [Bug Report] Changes to settings do not take effect [Bug Report] Changes to edge glow do not take effect Jan 11, 2021
@AgentGibbz
Copy link
Author

AgentGibbz commented Jan 11, 2021

But the AOD is activating, which means AlwaysOn is working. For this reason I do believe the app is detecting the notification.

Now for my test, I used the EdgeGlow setting. But if I try changing other settings I can almost guarantee problems with those settings will happen. I was just using Edge Glow as an example.

@Domi04151309
Copy link
Owner

This is really strange because it seems like you are the only one having that problem. Sadly, I was not able to reproduce the behavior described by you.

@Domi04151309
Copy link
Owner

Are you rooted?

@AgentGibbz
Copy link
Author

Are there any app logs that I can send?

Would it help if I made a video? I'd also be up for having a video chat if that helps. I would really like to help fix the issue, and then I want to donate if you have a way of accepting donations because this could be a very useful app for me if we can work this out.

@AgentGibbz
Copy link
Author

I'm not rooted.

@Domi04151309
Copy link
Owner

You can try sending me the actual values of the preferences using this adb pull /data/data/io.github.domi04151309.alwayson/shared_prefs/io.github.domi04151309.alwayson_preferences.xml %HOME%\Desktop\prefs.xml but I don't know whether this works without root (this command is for windows using the android debug bridge)

@Domi04151309
Copy link
Owner

I have currently not set up a way for donating but I will likely in a month or so.

@AgentGibbz
Copy link
Author

Interestingly, I just got a notification and AOD turned on, and Edge Glow is working again. So weird.

I'll be home later and will try using ADB to pull the prefs.xml

I've used adb a lot in the past for rooting / flashing roms so no problem there. As you said, it's just a matter of whether it will be able to, given that it's not rooted. I'll follow up later.

Also if you have Venmo I can send over a little tip that way :)

@AgentGibbz
Copy link
Author

Looks like it's unable to see the file path. I'm guessing because the phone isn't rooted.

image

@Domi04151309
Copy link
Owner

No the problem is that it doesn't know where to put the file on your PC. It doesn't know where %home% is. Try using a direct path instead.

@AgentGibbz
Copy link
Author

Ha, woops. I'll try again when I have some time.

@Domi04151309
Copy link
Owner

Any news on this one?

@Domi04151309 Domi04151309 changed the title [Bug Report] Changes to edge glow do not take effect [Bug Report] Changes do not take effect Jul 25, 2022
@Domi04151309 Domi04151309 added the question Further information is requested label Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants
@Domi04151309 @AgentGibbz and others