Giter Club home page Giter Club logo

Comments (11)

sbruder avatar sbruder commented on June 7, 2024 1

from red-moon.

sbruder avatar sbruder commented on June 7, 2024 1

I've built the app just now, and there is the same problem again.
You can reproduce it, on a device with CM11 (Android 4.4.4) without GApps. Simply start it without any changes to the settings and then start it. Then swipe the notification bar down and press on pause. One second you can see the notification, but then it is not visible. In the app itself the slider is grey and on the left.
I hope you can reproduce the bug.

from red-moon.

raatmarien avatar raatmarien commented on June 7, 2024 1

Thanks for the further testing @sbruder!

I've been looking into it and I think I found the bug. When the Fragment was running and the pause button in the notification was pressed, the Fragment would attempt to update the switch in the action bar to reflect the state change. However, the switch would then react to being changed to the 'unchecked' state and in turn turn off the filter. This caused the notification to disappear.

I wasn't able to replicate this issue before, because the Fragment was garbage collected on my device, before I could use the notification.

I think the bug is now fixed, but let me know if you still experience it after an update. Thanks for the help with debugging everyone!

from red-moon.

raatmarien avatar raatmarien commented on June 7, 2024

Thanks for letting me know!

I'm not able to replicate this on my device with v2.2.1. Could you tell me what Android version you are running?

from red-moon.

sbruder avatar sbruder commented on June 7, 2024

I am using Android 4.4.4 (CM11) and the Red Moon version from F-Droid

from red-moon.

raatmarien avatar raatmarien commented on June 7, 2024

Okay, thanks. I will look into this with an emulator soon.

from red-moon.

sbruder avatar sbruder commented on June 7, 2024

I've tested it just now with an device running android 5.0 and it appears there, too.

from red-moon.

raatmarien avatar raatmarien commented on June 7, 2024

Sorry, I tested it on my phone and on emulators, but wasn't able to replicate the problem.

If you have the time, it would help if you could give me precise instructions as to how to replicate the bug. However, the way the pause state is handled will be different in the next release, so the bug might not persist in the next version. Taking that into account it might be more time effective to wait and see if the problem still persists in the next version.

from red-moon.

danialbehzadi avatar danialbehzadi commented on June 7, 2024

Same for me on CM11 without gapps

from red-moon.

sbruder avatar sbruder commented on June 7, 2024

Thanks, it works!

from red-moon.

raatmarien avatar raatmarien commented on June 7, 2024

Great!

from red-moon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.