server icon indicating copy to clipboard operation
server copied to clipboard

[Bug]: When drag and drop multiple files, only one is loaded

Open SHellSys opened this issue 1 year ago • 10 comments

⚠️ This issue respects the following points: ⚠️

Bug description

After Upgrade to 28.0.2 RC1: When dragging multiple files into Nextcloud for upload only one file will be uploaded if I use Edge. On Firefox, all files will be uploaded.

Steps to reproduce

  1. Open target folder in Nextcloud in Edge
  2. Drag multiple files for upload onto the upload area
  3. Check which files have been uploaded

Expected behavior

All files should be uploaded.

Installation method

None

Nextcloud Server version

28

Operating system

Debian/Ubuntu

PHP engine version

None

Web server

None

Database engine version

None

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

Upgraded to a MAJOR version (ex. 22 to 23)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

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

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "28.0.2.0",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "skeletondirectory": "\/var\/www\/html\/nextcloud\/core\/comp",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "remember_login_cookie_lifetime": 1296000,
        "session_lifetime": 172800,
        "session_keepalive": true,
        "token_auth_enforced": false,
        "filelocking.enabled": "true",
        "trashbin_retention_obligation": "auto,1",
        "versions_retention_obligation": "disabled",
        "maintenance_window_start": 1,
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0
        },
        "ldapIgnoreNamingRules": false,
        "ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
        "updater.release.channel": "stable",
        "maintenance": false,
        "defaultapp": "files",
        "theme": "",
        "loglevel": 0,
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "PLAIN",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "default_phone_region": "DE"
    }
}

List of activated Apps

Enabled:
  - activity: 2.20.0
  - circles: 28.0.0-dev
  - cloud_federation_api: 1.11.0
  - contactsinteraction: 1.9.0
  - dav: 1.29.1
  - federatedfilesharing: 1.18.0
  - files: 2.0.0
  - files_external: 1.20.0
  - files_reminders: 1.1.0
  - files_sharing: 1.20.0
  - files_trashbin: 1.18.0
  - files_versions: 1.21.0
  - firstrunwizard: 2.17.0
  - logreader: 2.13.0
  - lookup_server_connector: 1.16.0
  - notifications: 2.16.0
  - oauth2: 1.16.3
  - password_policy: 1.18.0
  - photos: 2.4.0
  - privacy: 1.12.0
  - provisioning_api: 1.18.0
  - recommendations: 2.0.0
  - related_resources: 1.3.0
  - serverinfo: 1.18.0
  - settings: 1.10.1
  - sharebymail: 1.18.0
  - text: 3.9.1
  - theming: 2.3.0
  - twofactor_backupcodes: 1.17.0
  - updatenotification: 1.18.0
  - user_ldap: 1.19.0
  - user_status: 1.8.1
  - viewer: 2.2.0
  - workflowengine: 2.10.0
Disabled:
  - admin_audit: 1.18.0
  - bruteforcesettings: 2.8.0
  - comments: 1.18.0 (installed 1.2.0)
  - dashboard: 7.8.0 (installed 7.5.0)
  - encryption: 2.16.0
  - federation: 1.18.0 (installed 1.2.0)
  - files_automatedtagging: 1.18.0 (installed 1.18.0)
  - files_pdfviewer: 2.9.0 (installed 1.2.1)
  - files_retention: 1.17.0 (installed 1.17.0)
  - files_rightclick: 0.15.1 (installed 1.6.0)
  - nextcloud_announcements: 1.17.0 (installed 1.1)
  - polls: 6.0.1 (installed 6.0.1)
  - support: 1.11.0 (installed 1.8.0)
  - survey_client: 1.16.0 (installed 1.0.0)
  - suspicious_login: 6.0.0
  - systemtags: 1.18.0 (installed 1.2.0)
  - twofactor_totp: 10.0.0-beta.2
  - weather_status: 1.8.0 (installed 1.5.0)

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

SHellSys avatar Jan 24 '24 06:01 SHellSys

Hey, thanks fr the reprt :) When you say on Edge, have you tried other browsers and they're working? Or you only tried it on Edge

skjnldsv avatar Jan 24 '24 08:01 skjnldsv

Hey, thanks fr the reprt :) When you say on Edge, have you tried other browsers and they're working? Or you only tried it on Edge

The error occured on Microsoft Edge 120.0.2210.91 Firefox 121.0.1 works fine

SHellSys avatar Jan 24 '24 09:01 SHellSys

I've just upgrade to 28.02 and am seeing a similar issue

If I upload using the New > Upload files method - no issue If I upload via Drag & Drop, only the first file is uploaded

I'm using Brave, and have checked in Chrome - same result

Brave is Version 1.62.156 (latest) on Win 11

bravedave avatar Feb 02 '24 01:02 bravedave

I can reproduce the issue Let's wait for https://github.com/nextcloud/server/pull/43267 and move on from here! :rocket:

skjnldsv avatar Feb 02 '24 08:02 skjnldsv

Same here for the stable release 28.0.2 on Chrome 121/Mac.

stijink avatar Feb 02 '24 12:02 stijink

After updating, I can also only upload one file at a time with drag and drop. Also, now it only lets me drop files at the top of the page, not anywhere on the page. Much worse user experience suddenly.

nickian avatar Feb 06 '24 21:02 nickian

After updating, I can also only upload one file at a time with drag and drop. Also, now it only lets me drop files at the top of the page, not anywhere on the page. Much worse user experience suddenly.

I think this too - moving on from the implementation issues - reducing the drop zone to the top of the page is a worse user experience - Nextcloud is a place to store files - that is the KPI - this is a negative impact on it's primary KPI.

bravedave avatar Feb 07 '24 00:02 bravedave

I agree that the current solution using a "drag & drop" area is a worse experience compared to how it was before.

Having a visual indicator as feedback that the Nextcloud file manager will accept the dropped files as upload is OK, but only accepting them in a limited "drag here" area is the complete opposite to how desktop file managers work. Older version of Nextcloud accepted files anway in the viewport and not just in certain spots.

arnowelzel avatar Feb 07 '24 14:02 arnowelzel

This is really not the place to discuss this folks :) Please open a thread on the forum, thanks! :pray:

skjnldsv avatar Feb 07 '24 17:02 skjnldsv

cc @nextcloud/server-frontend

szaimen avatar Feb 15 '24 16:02 szaimen

I have the same issue as well. It seems like it only affects logged in users - uploading to public share links works fine.

krzys-h avatar Feb 21 '24 07:02 krzys-h

Can confirm. One of the main functions of nextcloud and still a problem one month later. Dropping a folder with files is also no longer possible.

And I do agree @arnowelzel that the desicion to change the dropping area to a very small area one must aim is incomprehensible.

AInteriorB avatar Feb 29 '24 11:02 AInteriorB

This bug is still present in 28.0.3 (Edge + Chrome, Win 10).

LM-vb avatar Feb 29 '24 17:02 LM-vb

This bug is still present in 28.0.3 (Edge + Chrome, Win 10).

Yes as you can see the bug is still open (!) meaning it is not resolved. This is a blink engine issue and we need to find a workaround for broken blink browsers like Chrome, Chromium, Edge and Opera.

In the meantime use Firefox or wait for this issue to be resolved.

susnux avatar Mar 01 '24 00:03 susnux

Any news on this issue?

kayvanaarssen avatar Mar 08 '24 12:03 kayvanaarssen

I can confirm this issue also NC28.0.3 any update then this may be fixed. This is a important functionality

AndyXheli avatar Mar 09 '24 18:03 AndyXheli

Can reproduce this also on nc29.0.0b1

szaimen avatar Mar 11 '24 10:03 szaimen

Can also confirm the bug. One of nextcloud's key features and still a problem over a month later.

And I do agree @arnowelzel that the desicion to change the dropping area to a very small area is incomprehensible. Time needed to upload files is much slower after the changes.

AInteriorB avatar Mar 11 '24 11:03 AInteriorB

When drag and drop a file, the system no longer checks whether it already exists. The file on the server is simply overwritten.

camouflage81 avatar Mar 15 '24 09:03 camouflage81

Closed as completed ... with all the good suggestions marked as spam ignored ...

🙄

AInteriorB avatar Mar 18 '24 14:03 AInteriorB

This issue is about drag-drop only uploading one file and this issue is fixed now :) Feel free to open new issues with bug reports or feature requests but it makes no sense to put that into a completely unrelated issue report.

susnux avatar Mar 18 '24 14:03 susnux

This issue is about drag-drop only uploading one file and this issue is fixed now :) Feel free to open new issues with bug reports or feature requests but it makes no sense to put that into a completely unrelated issue report.

This issue is not fixed in 28.0.3, and was about dragging and dropping multiple files, of which only one gets uploaded - which is still the case in 28.0.3: image

Guess we continue here? https://github.com/nextcloud/server/issues/44390

D3nnis3n avatar Mar 23 '24 09:03 D3nnis3n

With 2 clicks you can see that the fix is within 28.0.4 https://github.com/nextcloud/server/pull/44273

skjnldsv avatar Mar 23 '24 15:03 skjnldsv