Widget resizing sometimes starts at incorrect position
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Start in HomeScreenGrid, in the binding.resizeFrame.onResizeListener handler, and compare the widget's stored left/top/right/bottom with the grid items on the current page. Reproduce by resizing a 3x3 resizable widget with the steps in the issue and checking whether the position jumps after steps 2, 5 and 8. Done means the widget keeps its cell position through repeated resize sessions, without the reporter's workaround of copying the bounds onto every matching grid item.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Checklist
- I can reproduce the bug with the latest version given here.
- I made sure that there are no existing issues - open or closed - to which I could contribute my information.
- I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
- I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
- I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- This issue contains only one bug.
- I have read and understood the contribution guidelines.
Affected app version
latest commit 8c3a74aae9451ba0fa23041988b172b62b3cc217, and 1.0.1 release
Affected Android/Custom ROM version
Android 12
Affected device model
Nokia 5.4
How did you install the app?
Built from source
Steps to reproduce the bug
- Add a resizable widget to the homescreen, and resize it to 3x3
- Long press on widget, select resize
- Move left drag point one cell to the right
- Exit resize view
- Resize same widget
- Move left drag point one cell to the left
- Exit resize view
- Resize same widget
Expected behavior
Resizing should work as expected. No unexpected jumps in widget position.
Actual behavior
After step 2, 5 or 8 the widget jumps one cell to the left or right (seemingly dependent on some previous state).
Screenshots/Screen recordings
I can record the issue if you cannot reproduce it.
Additional information
The resizable widget I reproduced the issue with is from my own app, but it does little more than the example widget that was automatically generated.
The issue can be fixed by adding the following to binding.resizeFrame.onResizeListener in HomeScreenGrid, but it seems like a bit of a hack:
gridItems.filterVisibleOnCurrentPageOnly().filter { it.id == item.id }.forEach { gridItem ->
gridItem.left = item.left
gridItem.top = item.top
gridItem.right = item.right
gridItem.bottom = item.bottom
}
- Lenguaje dominante
- Kotlin
- Estrellas
- 703
- Forks
- 85
- Merge medio
- 1 d 20 h
- PR fusionados (30 d)
- 10
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin 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 FossifyOrg/Launcher
-
bug needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
FossifyOrg/Launcher#453 ·
Los mantenedores suelen responder en 1 día
-
bug needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
FossifyOrg/Launcher#447 ·
Los mantenedores suelen responder en 1 día
-
bug needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
FossifyOrg/Launcher#446 ·
Los mantenedores suelen responder en 1 día
-
Lock dispositionAbiertofeature request needs triage
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
FossifyOrg/Launcher#469 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
feature request needs triage
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
FossifyOrg/Launcher#465 ·
Los mantenedores suelen responder en 1 día
Todos los issues de FossifyOrg/Launcher
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
coding size:s skill:kotlin-core sub-issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
SKaiNET-developers/SKaiNET#1421 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
intellij-elixir/intellij-elixir#4492 ·
Los mantenedores suelen responder en 1 día
-
[UI Bug] Home navigation button not selected after pressing Back from Mix, Library, or SearchAbiertobug:unconfirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
maxrave-dev/SimpMusic#2714 · 1 comentario ·
Los mantenedores suelen responder en 3 días