text icon indicating copy to clipboard operation
text copied to clipboard

[Bug]: After clicking a parent folder and then, a subfolder while components are loading, components jump

Open piiskop opened this issue 3 years ago • 0 comments

⚠️ This issue respects the following points: ⚠️

  • [X] This is a bug, not a question or a configuration/webserver/proxy issue.
  • [X] This issue is not already reported on Github (I've searched it).
  • [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • [X] I agree to follow Nextcloud's Code of Conduct.

Bug description

I want to open a subfolder. After I've clicked to parent folder, the page loads and while it's loading its components I see the subfolders and click on one of them. It turns out that I've clicked on one subfolder before the right one as during that time, the files part jumps down and I hit the wrong folder with my mouse. This is a design bug.

Steps to reproduce

You need to perform these steps on a folder that has been used for a while so that cache can't have an effect.

  1. Enter a folder that has at least two subfolders!
  2. Don't wait while all the components are loaded! Click right after seeing the subfolders to a non-first subfolder!
  3. See that the folder your'e about to enter isn't the one you clicked on but one higher in the list! However if you tend to have time to wait you might end up in the correct folder.

I tested it many times. This bug only appears if the loading of page components takes too long.

Expected behavior

It's not possible to miss the target while hitting a folder with the mouse cursor.

Installation method

Manual installation

Operating system

Debian/Ubuntu

PHP engine version

PHP 7.4

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Updated to a major version (ex. 22.2.3 to 23.0.1)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • [X] Default user-backend (database)
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Configuration report

sudo -u www-data php occ config:list system
An unhandled exception has been thrown:
OCP\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)
$ php occ config:list system
An unhandled exception has been thrown:
OCP\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)
$ ./occ config:list system
-bash: ./occ: Permission denied

List of activated Apps

$ sudo -u www-data php occ app:list
An unhandled exception has been thrown:
OCP\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)
$ php occ app:list
An unhandled exception has been thrown:
OCP\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)
$ ./occ app:list
-bash: ./occ: Permission denied

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

As you know, it's not possible as the log file is huge and GitHub has its limits. Here's the link to the compressed file itself: https://nextcloud.tennis24.ee/index.php/s/Ft4eKWppJTm2fQZ

Additional info

It can be solved by fixing the height of every single component on the page which prevents lower components to jump around while other components aren't loaded yet. Or just make every page load the components top-down and wait until every component is loaded before the next component is allowed to appear!

piiskop avatar Mar 27 '22 18:03 piiskop