[Bug]: creating a new folder in dir1 und move all files from dir1 into this newly created folder will delete all the moved files
- Dominant language
- C++
- Stars
- 3.9k
- Forks
- 1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 127
Description
### ⚠️ Before submitting, please verify the following: ⚠️
- [X] This is a **bug**, not a question or a configuration issue.
- [X] This issue is **not** already reported on Github (I've searched it).
- [X] Nextcloud Server and Desktop Client are **up to date**. See [Server Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) and [Desktop Releases](https://nextcloud.com/install/#install-clients) for supported versions.
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/)
### Bug description
creating a new folder in dir1 und move all files from (except dir folder) dir1 into this newly created folder will delete all the moved files
Virtual Agent is ACTIVE for this client (Windows System)
### Steps to reproduce
1. Windows Explorer: Navigate to folder "dir1"
2. when in - create a new folder "newfolder"
3. move all files in dir1 (execpt dir1 of course) into newfolder
4. there are no more files in dir1 (exptected)
5. list content of newfolder - newfolder is empty - so ALL FILES ARE GONE !
6. login to the WEB (Edge Browser)
7. all moved files are deleted, newfolder is empty too !
8. check contents of Recycle bin - the just moved files are there
### Expected behavior
- Windows file move operations should not destroy / remove / delete files
### Which files are affected by this bug
folder: newfolder
### Operating system
Windows
### Which version of the operating system you are running.
Windows 11 Home 22H2
### Package
Other
### Nextcloud Server version
26.05
### Nextcloud Desktop Client version
Version 3.10.0, windows-10.0.22621
### Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 3.4.2 to 3.4.4)
### Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
### Are you using an external user-backend?
- [ ] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Nextcloud Server logs
_No response_
### Additional info
_No response_
Contributor guide
Research direction
Reproduce the Windows 11 scenario with Nextcloud Desktop Client 3.10.0: create newfolder in dir1, move the remaining files into it, then check the client, web interface, and Recycle bin. Trace the Windows client’s handling of the move sequence and verify that the files remain in newfolder and are no longer listed as deleted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100