Widget resizing sometimes starts at incorrect position
Les mainteneurs répondent en général sous 3 jours
Personne n'a encore pris cette issue.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
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
}
- Langage dominant
- Kotlin
- Étoiles
- 703
- Forks
- 85
- Merge moyen
- 4 j 39 min
- PR mergées (30 j)
- 7
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de FossifyOrg/Launcher
-
bug needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
FossifyOrg/Launcher#453 ·
Les mainteneurs répondent en général sous 3 jours
-
bug needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
FossifyOrg/Launcher#447 ·
Les mainteneurs répondent en général sous 3 jours
-
bug needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
FossifyOrg/Launcher#446 ·
Les mainteneurs répondent en général sous 3 jours
-
feature request needs triage
Difficulté 3/5 1-2 jours Accessibilité débutants 40/100
FossifyOrg/Launcher#461 ·
Les mainteneurs répondent en général sous 3 jours
-
bug needs triage
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
FossifyOrg/Launcher#456 ·
Les mainteneurs répondent en général sous 3 jours
Toutes les issues de FossifyOrg/Launcher
Issues similaires
-
afk-ok area:data-quality importer size:S
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
enorm-labs/event-junkie#3027 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
libre-tube/LibreTube#8854 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
rustyrazorblade/easy-db-lab#1003 ·
Les mainteneurs répondent en général sous 1 jour