lawnchair
lawnchair copied to clipboard
Changing Number of Dock Icons Clears Homescreen
Describe the bug
When adjusting the number of icons in the dock, Lawnchair crashes and removes all apps from the home screen.
Steps to reproduce
Steps to reproduce the behavior:
- Go to the dock settings
- Increase/decrease the number of dock icons
- Go back to homescreen
- See error
Expected behavior
Changing the number of dock icons should just change the number of dock icons, instead of clearing the whole home screen.
Screenshots
No response
Device information
- Device: Samsung Galaxy A54
- OS: One UI 6.1
- App version: 14 Beta 3
Additional context
error: Uncaught exception
android.database.sqlite.SQLiteException: table favorites_tmp has 19 columns but 21 values were supplied (code 1 SQLITE_ERROR[1]): , while compiling: INSERT INTO favorites_tmp SELECT * FROM from_db.favorites
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:1540)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:975)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:590)
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:63)
at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:34)
at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:2652)
at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:2574)
at com.android.launcher3.provider.LauncherDbUtils.copyTable(Unknown Source:79)
at com.android.launcher3.model.GridSizeMigrationUtil.migrateGridIfNeeded(Unknown Source:36)
at com.android.launcher3.model.ModelDbController.migrateGridIfNeeded(Unknown Source:109)
at com.android.launcher3.model.ModelDbController.tryMigrateDB(Unknown Source:0)
at com.android.launcher3.model.LoaderTask.loadWorkspaceImpl(Unknown Source:36)
at com.android.launcher3.model.LoaderTask.loadWorkspace(Unknown Source:5)
at com.android.launcher3.model.LoaderTask.run(Unknown Source:40)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.os.HandlerThread.run(HandlerThread.java:67)