LawnchairLauncher / lawnchair

No clever tagline needed.
https://lawnchair.app
Other
9.49k stars 1.22k forks source link

[BUG] Taskbar key does not work after multiple clicks #4205

Open MNDIA opened 7 months ago

MNDIA commented 7 months ago

Describe the bug

Taskbar menu key does not work after Click the taskbar menu key,Click the taskbar menu key,Click the taskbar menu key

Steps to reproduce

Steps to reproduce the behavior: Behavior 2

  1. Click the taskbar menu key(recent tasks
  2. Click the taskbar menu key(Return to application
  3. Click the taskbar menu key(A bug occurred and recent tasks were not entered.
  4. Click the taskbar menu key(Continuously inactive. . . . .

Behavior 1

  1. Click the taskbar menu key(recent tasks
  2. Click the App page in recent tasks(Return to application
  3. Click the taskbar menu key(recent tasks
  4. Click the App page in recent tasks(Return to application
  5. Click the taskbar menu key(recent tasks
  6. Click the App page in recent tasks(Return to application
  7. everything is normal

https://github.com/LawnchairLauncher/lawnchair/assets/74826767/4dbc01e5-3993-4389-bde6-9ef20d9e4213

Expected behavior

The taskbar menu key should be able to be clicked to enter recent tasks at any time, and clicked to return to an application at any time on the recent tasks page.

Screenshots

https://github.com/LawnchairLauncher/lawnchair/assets/74826767/0b447661-2842-4972-9ea6-e21017941196

Device information

Device: [ xiaomi pad 6 pro] OS: [hyperos ROM Android version 14] App version: [14.0.0 beta 2]

Additional context

No response

lainlives commented 3 months ago

This is a critical bug. Makes it a pretty unusable launcher as for some reason trebuchet on my phone does weird things when its also not home so switching to lineage/trebuchet quickswitch is not a workable workaround. I notice it seems to only happen when taskbar mode is on so maybe the bug is in that code somewhere.
For anyone else affected usually pulling down notifications, tapping home, then go back to last app and its fixed for a while.

MNDIA commented 2 months ago

Turn off all animations in the developer options. Then click the square button 2~3 times in 0.5 seconds or faster, Such behavior should be easy to reproduce the problem.🤔