Neamar / KISS

Lightning fast, open-source, < 250kb Android launcher
https://kisslauncher.com/
GNU General Public License v3.0
2.99k stars 582 forks source link

Kiss launcher freezes on my Pixel 8 #2308

Open speendo opened 3 months ago

speendo commented 3 months ago

Describe the bug I experience some buggy behaviour with KISS Launcher on my Pixel 8. When I wipe up to switch from an App (like Firefox or Signal) to the Launcher, most of the times The App Icons in the scrollable list are not present - only the names are displayed.

When I then enter the search bar to find an app that's not in the list, the Launcher gets completely stuck. As I enter letters to the search bar, the search list is not updated. If I then select an app from the (not updated) list, another app starts instead (one that was previously on the position but is not anymore). The only way to reliably start an app in such a case is to completely write out the app name and then hit the magnifying glass.

In those situations the launcher also stays frozen when I exit the keyboard again, leaving half of the display unused.

Noticeable, this problem does not occur everytime I switch from an app to the launcher but just sometimes. However, it happens multiple times a day. So far I couldn't find out, what exactly triggers this unwanted behaviour.

I already tried to wipe the Launcher history and to delete and reinstall KISS launcher.

I use a Pixel 8 (stock, not rooted) with KISS launcher installed from the play store.

To Reproduce Steps to reproduce the behavior:

  1. Go to some App and use it
  2. Wipe up to switch to the launcher
  3. Launcher is sometimes unusable

Expected behavior Use the search bar to find an app - list should get updated and items from the list should be selectable.

Screenshots Screenshot_20240801-173012 Screenshot_20240801-173031 Screenshot_20240801-173050 Screenshot_20240801-173059

Additional information

Additional context Is it possible to get some debug information from the launcher? I will happily provide this information, if you tell me how to do it.

speendo commented 3 months ago

Added Screenshots

cyberfarer commented 3 months ago

I am having the same issue with a Pixel 7 after a Google update and restart. To correct the problem I must restart KISS. It is occurring all the time to the point I may have to use a different launcher.

gcalfin commented 3 months ago

I have a similar issue running KISS 3.21.1 on a pixel 6 pro with graphene os with Android 14. The launcher will often stall or freeze

speendo commented 3 months ago

This got annoying to the point where I switched to the standard pixel launcher.

However, the Pixel launcher annoys me too. Maybe even more...

Can anybody give a hint if how or when this issue is looked at?

If somebody points me the way on how to generate debug information, I would happily do the first steps...

gcalfin commented 3 months ago

Same. Not sure what caused this problem. KISS launcher worked great across two different devices for years. Might have something to do with Android 14?

I went back to stock launcher but have become so accustomed to the KISS launcher that I went back to it and am dealing with the bugs. Sometimes the KISS menus don't display properly and I just type-out more of the app name (several characters) before hitting enter and that works. If the launcher freezes, I hit my home button or gesture a few times until it unfreezes.

But would like to see a fix for this and will submit debug logs if someone can share how.

On Saturday, August 10th, 2024 at 4:38 AM, speendo @.***> wrote:

This got annoying to the point where I switched to the standard pixel launcher.

However, the Pixel launcher annoys me too. Maybe even more...

Can anybody give a hint if how or when this issue is looked at?

If somebody points me the way on how to generate debug information, I would happily do the first steps...

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

cyberfarer commented 3 months ago

I uninstalled and reinstalled and that was a mistake as now all my preferences are gone and the problem is not resolved. :(

On Sat, Aug 10, 2024, 9:04 a.m. gcalfin @.***> wrote:

Same. Not sure what caused this problem. KISS launcher worked great across two different devices for years. Might have something to do with Android 14?

I went back to stock launcher but have become so accustomed to the KISS launcher that I went back to it and am dealing with the bugs. Sometimes the KISS menus don't display properly and I just type-out more of the app name (several characters) before hitting enter and that works. If the launcher freezes, I hit my home button or gesture a few times until it unfreezes.

But would like to see a fix for this and will submit debug logs if someone can share how.

On Saturday, August 10th, 2024 at 4:38 AM, speendo @.***> wrote:

This got annoying to the point where I switched to the standard pixel launcher.

However, the Pixel launcher annoys me too. Maybe even more...

Can anybody give a hint if how or when this issue is looked at?

If somebody points me the way on how to generate debug information, I would happily do the first steps...

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/Neamar/KISS/issues/2308#issuecomment-2281644312, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYQRPOBPAIA5IFYM2PXJW3ZQYFUNAVCNFSM6AAAAABLYKXKNOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBRGY2DIMZRGI . You are receiving this because you commented.Message ID: @.***>

hmedway commented 3 months ago

I have the same issue on my pixel 8 pro and pixel 7.

I'm running GrapheneOS, but the described behavior above seem identical.

When the freeze occurs, searches are not visible or selectable. The search is still taking text entry, though it is not visible, and it defaults to the default action on pressing enter. In my case, that's 'search with default browser'.

I can access the kiss menu, go to advanced, then restart kiss.

It happens about 4 - 5 times a day

LeoColman commented 3 months ago

Same situation with FairPhone 3+ and lineage os

The only thing I found find in the logs the child indicate an issue is Screenshot_20240815-120138_LogFox

speendo commented 3 months ago

has anybody asked about this in the Telegram Channel? I don't use Telegram so the hurdle is a little high for me.

However, it would be interesting, if anybody will ever care about this issue (even if it's just guidance on how to research or fix it).

TBog commented 3 months ago

Ok, from the logs it may be an issue with the icon caching.

d10r commented 2 months ago

same issue on a Pixel 7a running GrapheneOS

speendo commented 2 months ago

@TBog will the dev team do anything about it? Can we support the dev team in any way?

FrostKiwi commented 2 months ago

Experience the same on Pixel 6 Pro and Pixel 9 Pro XL, ever since the Android 14 update dropped. In addition to the symptoms described in:

Neriderc commented 2 months ago

Checking in as another Pixel user having the same issue.

colonelgeil commented 2 months ago

have the same problem... and because of this i did some frickin. i removed some animations in the MainActivity File

https://github.com/Neamar/KISS/tree/master/app/src/main/java/fr/neamar/kiss/MainActivity.java

there is a section with the comment " // Do not display animation if launcher button is already visible"

i removed everything in the function and replaced it with

public void displayLoader(boolean display) {
    if (!display) {
        // Do not display animation if launcher button is already visible
        //      if (launcherButton.getVisibility() != View.VISIBLE) {
            launcherButton.setVisibility(View.VISIBLE);

        int animationDuration = getResources().getInteger(
                android.R.integer.config_longAnimTime);

        // Animate transition from loader to launch button
        launcherButton.animate()
                .alpha(1f)
                .setDuration(0)
                .setListener(null);

        loaderSpinner.animate()
                .alpha(0)
                .setDuration(0)
                .setListener(null);

    }}

its a dirty hack and it kills the animation completely... but i have no more crashes. i bumped also some dependencies... but i dont think that had an effect...

my device is a pixel 9 pro with grapheneos.

here is the binary that came out for testing: kissohneanimkiss3.zip

i have no plan about android coding... but i know how to destroy an application until it does what i want.

maybe someone more competent can add a "fuck animations" config option.

FrostKiwi commented 2 months ago

here is the binary that came out for testing: kissohneanimkiss3.zip

Mega Danke ❤ Tested it out for the past ~7ish hours. No crash, no hidden icons anymore! @ToNIX-'s initial diagnosis of this issue in this comment last year (jesus christ, this issue is here since forever) https://github.com/Neamar/KISS/issues/2188#issuecomment-1818968223 was right on the money it seems.

i have no plan about android coding... but i know how to destroy an application until it does what i want.

Clearly enough of a plan to solve a major bug. Actually huge quality of life improvement 👍

https://github.com/Neamar/KISS/issues/2316 remains unsolved as seen in this video with @colonelgeil's build. So that issue has another cause

https://github.com/user-attachments/assets/56049aa0-9caa-4152-866f-c0fdfc5f1676

colonelgeil commented 2 months ago

i have no time to create a pr... i go on vacation today. i also think its a dirty hack... i disabled the circle animation that was running endless.

the code snipped that i posted should be enough to reproduce. i would prefer a real animation fix.

but so far... the goal for me was, that i can use kiss launcher, without cursing the whole time, in my vacation 👯

agschaid commented 2 months ago

sehr geil @colonelgeil !

Installed it and will report. Looks good for now.

By the way the issue is in no way restricted to Pixel devices. I am on a Fairphone 4 with IodeOS

Have a nice and deserved holiday

holocronweaver commented 1 month ago

This affects my Pixel 8 Pro, which came with Android 14 out of the box. It occurs along with #2316 and #2188 as @FrostKiwi mentions.

I previously had a Pixel 4 XL and never encountered this issue, but it was stuck on Android 13 due to Google no longer supporting it.

These issues have been plaguing me pretty much this whole year, makes KISS very unreliable. Unfortunately almost always messes up when I need to access my phone quickly during emergencies.

Thus this seems to be a Android 14 issue - my question is are there any devices with Android 14 where KISS does NOT have these issues?

Happy to provide logs, videos, etc. for any of these issues if it will aid debugging, or test fixed builds.

If I get some time I will try to do some debugging myself to see if I can't help root cause.


In the meantime I have switched to Kvaesitso, a KISS-like launcher I can barely pronounce. It is a fine launcher, but I prefer many of the KISS design decisions so I am hoping these Android 14 issues are resolved and I can move back.

hmedway commented 1 month ago

I don't know what I did, but I'm not having this issue any more. Still GrapheneOS (regular updates), still pixel 8 Pro, same version of KISS (3.21.1). It just stopped freezing one day. The last change I made that I remember was disabling accessibility access for applications like KDE Connect and LastPass, which gave them draw over other apps permissions.

This was recommended as a step for diagnosing why Chrome wouldn't hide the URL bar on scrolling up on any web page. I don't think this was what fixed it, but I suppose it's worth trying!

The items I disabled were under Settings > Accessibility > Downloaded Apps

I'd love to know if this works for anyone else

On Thu, 26 Sept 2024 at 14:10, Jesse Johnson @.***> wrote:

This affects my Pixel 8 Pro, which came with Android 14 out of the box. It occurs along with #2316 https://github.com/Neamar/KISS/issues/2316 and

2188 https://github.com/Neamar/KISS/issues/2188 as @FrostKiwi

https://github.com/FrostKiwi mentions.

I previously had a Pixel 4 XL and never encountered this issue, but it was stuck on Android 13 due to Google no longer supporting it.

These issues have been plaguing me pretty much this whole year, makes KISS very unreliable. Unfortunately almost always messes up when I need to access my phone quickly during emergencies.

Thus this seems to be a Android 14 issue - my question is are there any phones with Android 14 that do NOT have any of these issues?

Happy to provide logs, videos, etc. for any of these issues if it will aid debugging, or test fixed builds.

If I get some time I will try to do some debugging myself to see if I can't help root cause.

In the meantime I have switched to Kvaesitso https://kvaesitso.mm20.de/, a KISS-like launcher I can barely pronounce. It is a fine launcher, but I prefer many of the KISS design decisions so I am hoping these Android 14 issues are resolved and I can move back.

— Reply to this email directly, view it on GitHub https://github.com/Neamar/KISS/issues/2308#issuecomment-2377500911, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADD3HUEFW7QOQXCGZPRWI7DZYQ5X7AVCNFSM6AAAAABLYKXKNOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZXGUYDAOJRGE . You are receiving this because you commented.Message ID: @.***>

agschaid commented 1 month ago

sadly the fix by @colonelgeil did NOT fix it for me (Fairphone 4; IodeOS/LineageOS)

The first two days were just fine and then the issue slowly started to emerge again. Now I am back to multiple freezes per day (just without animation :P )

Makes me think that the problem is either something cache- or history-related (survives restarts though).

Back to standard KISS.

dkoch84 commented 4 weeks ago

I'm on a Pixel 8 Pro and this issue plagued me until I upgraded to Android 15, which I did yesterday. This issue would appear every minute or so, basically all the time and hasn't occurred in 12 or so hours.

Cautiously optimistic.

Rumperuu commented 3 weeks ago

I was facing these issues on a Pixel 8a w/ GrapheneOS:

Under Accessibility > Downloaded Apps I had KISS Launcher listed but it was grayed out and said I had to grant it permissions.

By going to Apps > KISS Launcher and tapping the three-dots icon in the top right, I was able to enable 'Allow restricted settings'. Then I could go into Accessibility > Downloaded Apps and enable KISS Launcher, which seems to have fixed the problems.

Props to @hmedway's comment for helping point me in the right direction. According to this response this is an Android 13 feature that affects 'sideloaded' apps, which F-Droid-packaged apps apparently fall afoul of too. Android 15 has tightened the restrictions further, restricting overlay and accessibility access (amongst many others) by default.

cyberfarer commented 3 weeks ago

Didn't fix it for me either. It's better. Not freezing, but icons disappear. If I type for an app, nothing shows. I'm on a Pixel 8 upgraded to 15.

On Sun, Sep 29, 2024, 11:58 p.m. agschaid @.***> wrote:

sadly the fix by @colonelgeil https://github.com/colonelgeil did NOT fix it for me (Fairphone 4; IodeOS/LineageOS)

The first two days were just fine and then the issue slowly started to emerge again. Now I am back to multiple freezes per day (just without animation :P )

Makes me think that the problem is either something cache- or history-related (survives restarts though).

Back to standard KISS.

— Reply to this email directly, view it on GitHub https://github.com/Neamar/KISS/issues/2308#issuecomment-2381956784, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYQRPM7IHB3BIEPAQDLJ6TZZDD5JAVCNFSM6AAAAABLYKXKNOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRHE2TMNZYGQ . You are receiving this because you commented.Message ID: @.***>

speendo commented 3 weeks ago

The upgrade to Android 15 mostly fixed the issue for me. I sometimes still experience an umexpected behavior but I cannot describe it yet or be sure that it's related to KISS.

Also it's not that bad anymore

FrostKiwi commented 2 weeks ago

The upgrade to Android 15 mostly fixed the issue for me. I sometimes still experience an umexpected behavior but I cannot describe it yet or be sure that it's related to KISS.

Also it's not that bad anymore

I can confirm this as well. Been running release version KISS on Android 15 and all the worst bugs are gone!

Only thing remaining is during App switching, KISS causes some kind of bug where all other App switcher Windows go blank and have to be double tapped in order to switch. This has been present since the Android 14 issue started. But the main issues are indeed gone 🎇