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

Niagara becomes unresponsive intermittently #2595

Open
damianesteves opened this issue Feb 10, 2024 · 82 comments
Open

Niagara becomes unresponsive intermittently #2595

damianesteves opened this issue Feb 10, 2024 · 82 comments
Assignees
Labels
bug Something isn't working

Comments

@damianesteves
Copy link

Describe the bug

Normally using the launcher, it will become unresponsive and/or laggy.
I will tap my home button and Niagara comes into the foreground, and is responsive to input but is not visually updating.
For example, I will scroll down to the letter K apps, it suddenly becomes frozen. I scroll down to the letter Y (still frozen, no screen update has occurred after my scroll input), and I tap where an app would be. It will launch an app from the Y section but still display the letter K apps. It's like the app is still running and working but the view is frozen.

This behavior continues until I force quit the app, it starts working normally again but eventually starts freezing again.

Steps to reproduce

Occurs randomly, I cannot consistently reproduce it, app will work fine for hours and it then happens, or happen within a few minutes after I force quit it.

Device: Samsung S24, Android 14
Niagara version 1.11.3

I use Niagara on 3 other phones, a Pixel a OnePlus, and a Unihertz and they do not have this issue

Does the issue also occur with other 3rd-party launchers?

Not applicable

Other 3rd-party launcher(s) tested

No response

Device name

Samsung S24

Android version

Android 14

Screenshots / Screen recordings

No response

@damianesteves damianesteves added the bug Something isn't working label Feb 10, 2024
@sesu-tech
Copy link

sesu-tech commented Feb 12, 2024

I'm having this same issue on my Samsung Fold 5, randomly Niagra will freeze visually on the home screen. When I tap and scroll my phone vibrates as if I'm actively scrolling things, but the screen stays frozen. I took have to force stop the app for it to restart and work correctly.

I'm on Android 14 as well.

I can submit logs, too, if possible.

Screen_Recording_20240212_101435_Messenger.mp4

@TFackler
Copy link
Collaborator

TFackler commented Feb 26, 2024

Thanks for reporting the issue and also thanks for providing a screen recording @sesu-tech

We have not managed to reproduce this issue but it has been reported multiple times already, so we would like to get to the bottom of it.
Our theory is that Niagara Launcher interacting with OneUI causes an issue.
Could you please share the OneUI version running on your devices?
(Settings > About phone > Software Information > Look for the section where it says OneUI version, sharing a screenshot of the entire software information screen would also help).

Statement

We have reproduced the issue on some devices. This is just one cause and it seems there are others.

Our current theory is that the issue appears on devices running Android 14. When the screen is locked and another application takes charge of its awake state, Niagara Launcher and other third-party launchers have issues realizing they are in the foreground after unlocking the device and thus will not update their UI while staying responsive to actions.
This takeover was reproduced via Tasker opening an app in the background while the device screen is turned off, using Google Assistant, and receiving a call.

We need your help

This issue is an Android incompatibility with third-party launchers in general, please check the information below to see how you can help!

Responding to this survey might help (amongst other things related to custom launchers) with solving this issue from the platform side 🤞
See the announcement of the survey and this news article for context
(from @Wikiwix)

Possible workaround

If this sounds like what you are affected by, please read the section below describing a possible workaround.
We would appreciate others confirming this information.

Massive thanks to @burny90 for finding the following information:

Steps to reproduce the issue on devices it appears on:

  • navigate to the home screen
  • turn off the screen
  • have an application activate the screen in some way (ask Google Assistant a question / let Tasker open an app)
  • go back to the lock screen (use back navigation)
  • unlock the phone
  • notice that the home screen UI is unresponsive

Workaround instructions

Please react to this post with 🎉, if this workaround worked for you and with 👎 if it did not work.

  • go to your system settings
  • tap Accessibility
  • tap Niagara Launcher
  • tap the toggle and allow Niagara Launcher accessibility access

Workarounds worked for:

Device Android version Android flavor Niagara version Reporter
Pixel 7 Pro Android 14 - 1.12.6 Jim (via mail)

@TFackler
Copy link
Collaborator

TFackler commented Feb 26, 2024

I will edit this post when we receive more devices on which this issue occurs and react with 👍 to messages I have added to the list.

Confirmed

Device Android version Android flavor Niagara version Reporter
Samsung S21 FE Android 14 OneUI 6.0 1.11.5 -
Samsung Galaxy S22 Ultra Android 14 One UI 6.0 1.11.9 @tunahanyilmaz
Samsung S22+ Android 11 - 1.11.5 -
Samsung S22+ Android 11 - 1.11.5 -
Samsung S22+ Android 14 OneUI 6.1 - @ZedFaldor
Samsung S24 Android 14 - 1.11.3 -
Samsung S24 Android 14 - - @Quotch
Galaxy M53 5G Android 14 OneUI 6.0 1.11.5 -
Samsung Fold 5 Android 14 OneUI 6.0 1.11.5 @sesu-tech
Samsung Fold 5 Android 14 OneUI 6.1 - @James-P-Bennett
Pixel 5 Android 14 - 1.11.5 @cosmopetrich
Pixel 7 Android 14 - - Wilson (via mail)
Pixel 7a Android 14 - 1.11.5 John (via mail)
Pixel 7 Pro Android 14 - 1.11.5 @Daniell-96
Pixel 7 Pro Android 14 - 1.12.3 @ageisen2000
Pixel 8 Android 14 - - @Varniwhoop
Pixel 8 Android 14 - - @noel2004
Pixel 8a Android 14 - 1.12.6 Robert (via mail)
Pixel 8 Pro Android 14 - - @dspencerp
Pixel 8 Pro Android 14 - - @weirdchylde
Pixel 8 Pro Android 14 - 1.12.4 Nick (via mail)
Pixel Fold Android 14 - 1.11.5 @jaygz316
Realme GT 5G Android 14 - 1.11.5 -
Poco x3 Pro Android 14 crdroid 10.5 1.11.7 @onisonic
OnePlus 11 Android 14 Oxygen OS 14 - Adam (via mail)

Suspected

Device Android version Android flavor Niagara version Reporter
Galaxy A73 - - - -

Last updated: 28.06.2024

@sesu-tech
Copy link

sesu-tech commented Feb 26, 2024

@TFackler I'm on One UI 6.0

Screenshot_20240226_085044_Settings.png

@Arecsu
Copy link

Arecsu commented Feb 28, 2024

Same issue here. One UI 6.0, Galaxy S21 FE, Android 14. Need to force stop Niagara to fix it. Don't know how to manually trigger the issue, but it happens frequently

@TFackler TFackler self-assigned this Feb 29, 2024
@dspencerp
Copy link

FYI I'm also having this issue quite regularly now, but I'm on a Pixel 8 Pro

@sesu-tech
Copy link

FYI I'm also having this issue quite regularly now, but I'm on a Pixel 8 Pro

Interesting... what version of Android are you on?

@dspencerp
Copy link

FYI I'm also having this issue quite regularly now, but I'm on a Pixel 8 Pro

Interesting... what version of Android are you on?

14

Screenshot_20240302-182110

@Arecsu
Copy link

Arecsu commented Mar 2, 2024

Same issue here. One UI 6.0, Galaxy S21 FE, Android 14. Need to force stop Niagara to fix it. Don't know how to manually trigger the issue, but it happens frequently

1.11.5 is Niagara's version, just to confirm. Still can't figure out how to trigger the issue manually 😅

@weirdchylde
Copy link

It has begun happening to me as well. Also unsure of what happens to trigger it, but it seems to be happening more and more. Android 14 on a Pixel 8 Pro. Took a screenshot of the glitch that happens when Niagara goes unresponsive.
Screenshot_20240304-190319

@cosmopetrich
Copy link

cosmopetrich commented Mar 8, 2024

This has happened to me a few times now over the past week or so.

Pixel 5
Niagara 1.11.5
Android 14

Before finding this repo I went to the Google Play reviews to see if the problem was widespread, and noticed a couple of reports in the recent reviews there (names omitted).

March 6, 2024
I've been running Niagara Pro since September 2022, and, for the most part, I've loved it! Up until recently... Of late, the UI has started freezing in position on the screen. Tho I CAN still swipe up and down, nothing moves on the screen...just somewhere behind the scenes. Same goes with the vertical app scroll on the right. The 3 "buttons" along the bottom of the phone function normally, as does Google Assistant, which I have to use unless I restart the phone or wait the glitch out.

March 6, 2024
I really like this but lately it's been freezing up. I've had to restart my phone each time because I can't select any of my apps, nor can I shut the launcher down. I hope the developer fixes this issue or I'll have to find a new launcher.

@ZedFaldor
Copy link

As a paying Pro user, I am hoping I don't have to ask for a refund. I really like Niagara+.
I tried switching back to the Samsung OneUI 6.0...it sucks.
Please fix this.

@sesu-tech
Copy link

As a paying Pro user, I am hoping I don't have to ask for a refund. I really like Niagara+.
I tried switching back to the Samsung OneUI 6.0...it sucks.
Please fix this.

They'll fix it, no worries. Patience is virtuous. :)

@ZedFaldor
Copy link

ZedFaldor commented Mar 13, 2024 via email

@sesu-tech
Copy link

And frustration thru non-access is tantamount to paralysis, or mutiny, or something much, much worse.

True, frustrating, but think of it this way: expressing your frustration here takes more work than just reloading the app. ;)

@sesu-tech
Copy link

@weirdchylde your home screen is awesome bro

@ZedFaldor
Copy link

ZedFaldor commented Mar 13, 2024 via email

@sesu-tech
Copy link

It's absolutely just reloading the app. Settings > Apps > Niagra Launcher > Press "Force stop".

Yes, it's tedious and annoying. But do you have any idea the amount of work and skill it takes to develop software?

Complaining in the comments that you're a "paying customer" and deserve first class immediate support helps nothing and nobody. If anything, it discourages the dev team behind the project.

Patience. If you don't have it, maybe you should contribute to the source code and fix it yourself! 😛

Trust me: life is more enjoyable when you're patient and slow to anger.

@sesu-tech
Copy link

sesu-tech commented Mar 13, 2024

P.S. how much do you pay for Niagra Pro? Be honest: I bet we're talking $1-10 a YEAR. 😅

@ZedFaldor
Copy link

ZedFaldor commented Mar 13, 2024 via email

@ZedFaldor
Copy link

ZedFaldor commented Mar 13, 2024 via email

@sesu-tech
Copy link

sesu-tech commented Mar 13, 2024 via email

@TFackler
Copy link
Collaborator

Thank you for the continuous reports with device specs. Before, we thought this was an incompatibility with OneUI and thrid-party launchers / Niagara Launcher, but now we see that it is also common on Pixel devices.

@TFackler
Copy link
Collaborator

@ZedFaldor, I 100% understand where you are coming from, having your phone's homescreen not work reliably must be incredibly frustrating, and I would try to fix the issue in a heartbeat if we knew where it stems from. Sadly, none of our test devices has had this issue, so tracking down the error is really difficult.

@Varniwhoop
Copy link

Varniwhoop commented Mar 20, 2024

Just to throw another data point in there, I also experience this issue somewhat frequently on my Pixel 8.
It can usually be cleared by locking and unlocking the screen while on the frozen homepage. Locking/unlocking the phone while in an app will not fix the issue.

Not sure if it helps track down where it's freezing, but I have a widget that I have adjusted so that it pushes the Niagara UI down a bit lower than default. When the freezes occur, the stuck UI reflects the "original" position of the Niagara UI before that widget pushes things down. The app I was previously using, if it was one of the favorites, will return to its proper, lower position. The frozen UI stays in the "up" position.

Screenshot_20240216-155824

Screenshot_20240320-152452

@ZedFaldor
Copy link

ZedFaldor commented Mar 20, 2024 via email

@noel2004
Copy link

FYI I'm also having this issue quite regularly now, but I'm on a Pixel 8 Pro

I have the same issue, on a newly purchased pixel 8 (not pro)

@jaygz316
Copy link

I have this same issue on the pixel fold. Android 14, Niagara 1.11.5, it seems that it is happening more frequently lately.

@noel2004
Copy link

I tried changing system navigation. but I still get the issue after the Google Assistant prompt.

However, I did find a solution to my problem! In Accessibility, give Niagra Launcher permissions for the On/Screen locking service and it stops it from becoming unresponsive after using the google assistant!!!

I think this might be a fix! Fingers crossed!

Yes, this solution is great! I have run the launcher without any issue for one week. Congratulations 🎉

@ageisen2000
Copy link

Mine is hanging on pixel 7 pro.

Niagara 1.12.3

Android build number: AP1A.240505.005

@TFackler
Copy link
Collaborator

@burny90 The thread is not dead yet, but it was a bit slow.

Thanks so much for all the effort you put into trying to find the cause 💙

I have looked at it, and since others also said the workaround worked for them, let's hope that grating Niagara Launcher the accessibility permission is indeed the fix.

I added your workaround and reproduction steps to my collection comment above so others are aware of this.

Sadly, I could not replicate the issue on my Pixel 5 running Android 14, so it's still difficult to determine exactly what's going on.

@ageisen2000
Copy link

@burny90 The thread is not dead yet, but it was a bit slow.

Thanks so much for all the effort you put into trying to find the cause 💙

I have looked at it, and since others also said the workaround worked for them, let's hope that grating Niagara Launcher the accessibility permission is indeed the fix.

I added your workaround and reproduction steps to my collection comment above so others are aware of this.

Sadly, I could not replicate the issue on my Pixel 5 running Android 14, so it's still difficult to determine exactly what's going on.

Accessibility has been turned on for my phone, that didn't fix it for me.

@TFackler
Copy link
Collaborator

@ageisen2000 can you reproduce the issue using these steps:

Steps to replicate:

  1. Be on the home screen (this seems to be important as being in an app doesn't always cause an issue)
  2. Turn off screen
  3. Ask the google assistant a question
  4. Unlock phone normally and the screen becomes unresponsive

If so, please also try to reproduce the issue with another third party launcher like Nova Launcher if you have the time, that would be valuable information.

@burny90
Copy link

burny90 commented Jun 28, 2024

@TFackler [

Google.Assistant.hates.Nova.Launcher.mp4

](url)

I've pasted this on the discord discussion too.

Nova Launcher displayed the same issues more or less.

I'll attach a video in a short second, but the freezing can vary from temporary to a full unresponsiveness. Sometimes swiping to the left for the Google Feed will trigger normally, but the rest of the launcher is still stuck and frozen. Turning on accessibility mode for Nova Launcher will fix the issue.

The video I will attach in a second has Niagra Launchers accessibility mode off for the purposes of the test. I have also turned it on in other tests when using Nova Launcher and it still freezes. This is also the case vice-versa, so using Nova Launchers accessibility settings but using Niagara Launcher .So the finding is that the accessibility mode for whatever launcher you use must be turned on.

@TFackler
Copy link
Collaborator

TFackler commented Jul 3, 2024

Thank you for trying with Nova launcher and also for sharing the video.

Nova can at least catch itself somewhat soon / opening the app list fixes the issue, so that might give us some points we can look into.

👍

While I hope this is the solution for everyone, it seems that there is also a version of this issue that cannot be fixed by granting the accessibility permission. We will keep looking.

@ZedFaldor
Copy link

ZedFaldor commented Jul 4, 2024 via email

@burny90
Copy link

burny90 commented Jul 4, 2024

I've discovered that phone calls cal lock it up too. Try that as well with your testing.

The situation might be niche to certain phones.

@Wikiwix
Copy link

Wikiwix commented Jul 4, 2024

I've discovered that phone calls cal lock it up too. Try that as well with your testing.

The situation might be niche to certain phones.

That sounds to mee like it is caused by apps that draw on top of the lockscreen.
(Which Assistant as well as (most) phone apps do.)

@burny90
Copy link

burny90 commented Jul 4, 2024

All, I wish I could co-celebrate the "locked Assistant to Niagara freeze" solution. Tried 3 times to freeze things. It didn't do it. That said, I haven't had a lock up in a while. I will keep tryong, tho. ZED

What phone and android version do you use?

@the-codesmith
Copy link

I've discovered that phone calls cal lock it up too. Try that as well with your testing.

The situation might be niche to certain phones.

That sounds to mee like it is caused by apps that draw on top of the lockscreen.
(Which Assistant as well as (most) phone apps do.)

I also have a hunch that this might be the case. For me, it tends to freeze up after the Alarmy app rings an alarm, which draws over the screen.

@scribblescrabble
Copy link

I will edit this post when we receive more devices on which this issue occurs and react with 👍 to messages I have added to the list.

Confirmed

Device Android version Android flavor Niagara version Reporter
Samsung S21 FE Android 14 OneUI 6.0 1.11.5 -
Samsung Galaxy S22 Ultra Android 14 One UI 6.0 1.11.9 @tunahanyilmaz
Samsung S22+ Android 11 - 1.11.5 -
Samsung S22+ Android 11 - 1.11.5 -
Samsung S22+ Android 14 OneUI 6.1 - @ZedFaldor
Samsung S24 Android 14 - 1.11.3 -
Samsung S24 Android 14 - - @Quotch
Galaxy M53 5G Android 14 OneUI 6.0 1.11.5 -
Samsung Fold 5 Android 14 OneUI 6.0 1.11.5 @sesu-tech
Samsung Fold 5 Android 14 OneUI 6.1 - @James-P-Bennett
Pixel 5 Android 14 - 1.11.5 @cosmopetrich
Pixel 7a Android 14 - 1.11.5 John (via mail)
Pixel 7 Pro Android 14 - 1.11.5 @Daniell-96
Pixel 7 Pro Android 14 - 1.12.3 @ageisen2000
Pixel 8 Android 14 - - @Varniwhoop
Pixel 8 Android 14 - - @noel2004
Pixel 8 Pro Android 14 - - @dspencerp
Pixel 8 Pro Android 14 - - @weirdchylde
Pixel Fold Android 14 - 1.11.5 @jaygz316
Realme GT 5G Android 14 - 1.11.5 -
Poco x3 Pro Android 14 crdroid 10.5 1.11.7 @onisonic

Suspected

Device Android version Android flavor Niagara version Reporter
Galaxy A73 - - - -
Last updated: 28.06.2024

I'm seeing this on:

  • Pixel 8
  • Android 14, build AP2A.240705.005
  • Niagara 1.12.6

I just tried applying the accessibility fix and will keep an eye on whether the issue happens again.

@onisonic
Copy link

onisonic commented Aug 15, 2024

I just tried applying the accessibility fix and will keep an eye on whether the issue happens again.

btw it actually worked for me, I'm not having this bug anymore (for 2 months now)

@YouRik
Copy link

YouRik commented Aug 15, 2024

For me it was also fixed by the proposed solution of enabling the accessibility permission although it was 100% never caused by the Google assistant on my end as I don't have it installed at all. There may have been a certain trigger but to me it just seemed to happen randomly.

@ZedFaldor
Copy link

ZedFaldor commented Aug 15, 2024 via email

@netguino
Copy link

Same, enabled accessibility (I also dont have google assistant turned on, or even activated) and things have been smooth since then. (pixel 8 )

@scribblescrabble
Copy link

I granted the Accessibility permission but still had the issue. Each time it happened, I went back and the Accessibility toggle had been turned off, though. So it might be working fine while Accessibility permission is granted, but for some reason something is turning the Accessibility toggle off.

@BinaryKhaos
Copy link

My partner has run into the same issue on his Pixel 9 Pro XL w/ Android 14 (AD1A.240530.047) this morning. I, on the other hand, have used my P9 Pro XL a lot more heavily and have not seen it. After checking the differences, I have the accessibility service enabled for the quick lock while he does not. I will enable it on his device too and see how it goes.

Two more dara points:

  1. He hasn't enabled / used the Google assistant nor does he do anything special with his device. As non-tech savvy person, his usage is very tame. It happened randomly after the device had been in stand-by for several hours.

  2. I also use Niagara on a Tab S9 Ultra w/o the accessibility service enabled and have yet to run into this issue there. It too runs Android 14 (One UI 6.1, UP1A.231005.007.X910XXS4BXG7).

Is there any way to restart Niagara easily when this happens? Accessing the settings app blindly is nothing a non-tech savy person can do. On a Pixel you could setup the double tap on the back to open the settings app... but that comes with its own problems.

@burny90
Copy link

burny90 commented Aug 31, 2024

My partner has run into the same issue on his Pixel 9 Pro XL w/ Android 14 (AD1A.240530.047) this morning. I, on the other hand, have used my P9 Pro XL a lot more heavily and have not seen it. After checking the differences, I have the accessibility service enabled for the quick lock while he does not. I will enable it on his device too and see how it goes.

Two more dara points:

1. He hasn't enabled / used the Google assistant nor does he do anything special with his device. As non-tech savvy person, his usage is very tame. It happened randomly after the device had been in stand-by for several hours.

2. I also use Niagara on a Tab S9 Ultra w/o the accessibility service enabled and have yet to run into this issue there. It too runs Android 14 (One UI 6.1, UP1A.231005.007.X910XXS4BXG7).

Is there any way to restart Niagara easily when this happens? Accessing the settings app blindly is nothing a non-tech savy person can do. On a Pixel you could setup the double tap on the back to open the settings app... but that comes with its own problems.

Those are good observations and it's a shame to hear it's affecting the new Pixel as well.

Remember, it can also trigger from phone calls too. Anything that technically can open something whilst in the lock screen can potentially set it off.

I used to quickly reset it by accessing the settings through the quick settings drop down and force closing Niagara Launcher within there. You could probably create a shortcut to do the same thing with something like tasker if you want a faster way than that.

@ZedFaldor
Copy link

ZedFaldor commented Sep 1, 2024 via email

@burny90
Copy link

burny90 commented Sep 1, 2024

@ZedFaldor

That's very unusual. You should be able to swipe down to access quick settings even during the freeze up. How I fix it quickly can be seen in my demonstration video here at 0:27

If that is also frozen, it points to a wider system issue on your device IMO.

Google.Assistant.hates.Third.Party.Launchers.unless.you.do.this.one.trick.mp4

@ZedFaldor
Copy link

ZedFaldor commented Sep 4, 2024 via email

@burny90
Copy link

burny90 commented Sep 4, 2024

@ZedFaldor
View the link on the GitHub forum page, not via email :)

From your control panel, you should be able to access settings.

@TFackler
Copy link
Collaborator

@burny90
Would it be possible for me to use this video on our help page and on the official Android issue tracker?

I would like to report the issue to Google properly and also add it to our official list of issues that we want users to be aware of. Sadly, we have not been able to reproduce the issue on one of our devices, so I cannot create a screen recording myself.

@burny90
Copy link

burny90 commented Sep 25, 2024

@burny90 Would it be possible for me to use this video on our help page and on the official Android issue tracker?

I would like to report the issue to Google properly and also add it to our official list of issues that we want users to be aware of. Sadly, we have not been able to reproduce the issue on one of our devices, so I cannot create a screen recording myself.

Yeah of course. Go ahead :)

@Wikiwix
Copy link

Wikiwix commented Sep 25, 2024

Responding to this survey might help (amongst other things related to custom launchers) with solving this issue from the platform side 🤞

See the announcement of the survey and this news article for context

@azsde
Copy link

azsde commented Oct 28, 2024

Hello

I have the exact same issue on my Galaxy Fold 4, I really can't justify buying the pro version with such an annoying bug ...

@funbiscuit
Copy link

Hey everyone! Could you please add some easy shortcut to restart launcher? It's highly annoying to search for Niagara in apps to restart it. For example you could treat chaotic movement of finger around the screen as a restart gesture. And make it configurable in settings.
This will really help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests