vhqtvn/VHEditor-Android

Sluggish UI and mouse on opening menu

HGRgamer opened this issue · 3 comments

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:

  • close and reopen the editor (no need to stop/kill the editor)
    (Reloading the page using command in server doesn't work)

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

Screen_Recording_20230429-180413_VHEditor_230429181222.mp4

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

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