[Bug] File action sheet shows no actions at all for locked files
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 86/100
Línea de trabajo
Empieza en FileActionsBottomSheet.handleState() e inspecciona cómo displayActions() y displayLockInfo() añaden filas a la hoja. El issue identifica el orden de las llamadas que hace que se omitan las acciones y sugiere mostrar las acciones antes que la información del bloqueo. Se considera terminado cuando un archivo bloqueado muestra sus acciones habituales junto con la información del bloqueo; el payload no indica ningún archivo de prueba.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Steps to reproduce
- Lock a file (e.g. open a document in the Text or OnlyOffice app, or use "Lock file" from another client).
- In the Android app, open the folder that contains the locked file.
- Tap the three-dot menu of that file.
Actual behaviour
The bottom sheet shows the file name and a "Locked by the app …" row, but no actions at all — not even edit, rename, download or delete. The sheet is short and cannot be expanded by dragging.
Expected behaviour
The regular action list is shown, plus the lock information row.
Cause
FileActionsBottomSheet.handleState() calls displayLockInfo() before displayActions():
if (state.lockInfo != null) {
displayLockInfo(state.lockInfo)
}
displayActions(state.titleFile, state.actions)
displayActions() starts with if (binding.fileActionsList.isNotEmpty()) return, so as soon as the lock row has been appended, every action is skipped. Only the lock row ends up in the sheet.
Suggested fix
Render the actions first and append the lock info afterwards:
displayActions(state.titleFile, state.actions)
if (state.lockInfo != null) {
displayLockInfo(state.lockInfo)
}
This is also what makes the unlock action reachable — see #17838.
Environment
- Nextcloud Android 35.0.1 (Play) and current master, Android 16, Pixel 9 Pro
- Server: Nextcloud 34 (AIO), files_lock 34.0.1
🤖 Generated with Claude Code
- Lenguaje dominante
- Kotlin
- Estrellas
- 5.6k
- Forks
- 2k
- Merge medio
- 2 d 11 h
- PR fusionados (30 d)
- 97
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de nextcloud/android
-
[Bug] Lock owned by another client (e.g. Text app) cannot be unlocked from the appPosiblemente ocupada @falkloewert la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Modification time is not preserved when uploading MediaStore content via Android sharePosiblemente ocupada @alperozturk96 la tomó hace 27 días. Abierto3. to review bug feature: transfers
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
nextcloud/android#17675 · 4 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
0. Needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
nextcloud/android#17533 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
RC 34.1.0-01: Duplicated wording in creation menu — "New" prefix + creator name produces "New New document" ("Neu Neues Dokument")Posiblemente ocupada @ChristianTannheimer la tomó hace 92 días. Abierto0. Needs triage bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
0. Needs triage bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
Todos los issues de nextcloud/android
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
beppe2880/opencode-mobile#60 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
auth0/Auth0.Android#1101 ·
Los mantenedores suelen responder en 1 día
-
LiquidGlass / LiquidGlassContainer (iOS): padded content measured at the outer width and overflows by the paddingPosiblemente ocupada @aleclarson la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
NativeScript/NativeScript#11561 ·
Los mantenedores suelen responder en 1 día
-
Imported configuration's @Bean methods record the configuration class instead of the return typeAbiertoin:spring-core
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
explyt/spring-plugin#787 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
IacobIonut01/ReFra#1335 ·
Los mantenedores suelen responder en 4 días