owncloud / owncloud/android

[BUG] Misplaced items when you add a folder

Open
#4,096 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

File list Type:bug
Dominant language
Kotlin
Stars
4.2k
Forks
3.1k
Avg merge
1d 12h
Merged PRs (30d)
7

Description

Actual behavior
  • When you create multiple folders, sometimes the folder you create does not appear first in the creation list but appears in the upper right corner unboxing all other items. If you refresh the screen the items are viewed correctly. The behavior is just seen in the emulator, not in the device.
Expected behavior
  • When you create a folder, the grid should be shown no misplaced items
Steps to reproduce
  1. Sometimes if it randomly, but if you create a lot of folders you could see the problem
    I will add a video to show you:

https://github.com/owncloud/android/assets/34248951/f1e15af1-0581-4331-9ff1-5c3720e015c7

Can this problem be reproduced with the official owncloud server?
(url: https://demo.owncloud.org, user: test, password: test)

ownCloud app version: oc-android-4.0

ownCloud server version:

Logs
Web server error log
Insert your webserver log here
ownCloud log (data/owncloud.log)
Insert your ownCloud log here

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the folder-creation steps in the Android emulator, using the linked video and comparing the result with a physical device. Trace the folder creation and grid refresh flow to find why the new folder is misplaced; done means newly created folders appear in the correct grid position without requiring a refresh.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.