vhqtvn / VHEditor-Android

Run Code-server on Android
Other
948 stars 103 forks source link

Sluggish UI and mouse on opening menu #246

Open HGRgamer opened 1 year ago

HGRgamer commented 1 year ago

I tried but couldn't find this/similar issue, the closest to this was #236

Issue: UI and mouse becomes sluggish / laggy / semi-responsive ofter opening the side menu

How to reproduce:

  1. Stop all running editors / terminals and completely reopen the app

  2. Click on start editor and do not open the side menu !! (opening remote will also work) (the side menu is the one with which we can change editors/terminals, has a "new" button, you can kill/clear cache etc)

  3. Check out the ui see if it is smooth or not (easiest way is to open extensions tab and search anything like hi and see the loading sign )

  4. Now open the side menu and close it (the menu) again

  5. Now check the ui if it is smooth or not

Expected: UI should still be smooth

Workaround:

This happens on the local server as well as on remote (such as) vscode.dev, github.dev, codespaces This behavior doesn't happen on any other browser.

Tested it on two devices running Android 10 and Android 11

Code-server version: latest (2.14.1) I have attached a video showcasing this behavior

https://user-images.githubusercontent.com/72596840/235303296-e1cec16d-de36-43f9-8977-6f614ac18b2d.mp4

HGRgamer commented 1 year ago

After some more testing turns out that even though it affects all the devices, it has minimal impact on any medium to high end device. Only the low end devices are majorly affected by it.

vhqtvn commented 1 year ago

Try disabling/enabling hw acceleration, I have mixed results on various devices due to hw acceleration.

HGRgamer commented 9 months ago

Tried it , didn't help. Also it becomes sluggish if you minimize and reopen the app (not clearing it from side/background apps)