Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nutrition input issues #4627

Closed
NixedSec opened this issue Sep 7, 2023 · 5 comments · Fixed by #4902
Closed

Nutrition input issues #4627

NixedSec opened this issue Sep 7, 2023 · 5 comments · Fixed by #4902
Labels

Comments

@NixedSec
Copy link

NixedSec commented Sep 7, 2023

What

While using the Android app from F-Droid I noticed that it appears I can not provide any details into the Nutrition Facts section. All other parts of the app seem to work well: adding a new item, adding photos, adding details into other sections. If I correct any sections within Nutrition Facts, it appears to accept the changes and says it will update in the background. Section 2 of the Nutri-Score goes green and the prompt for computing the NOVA score goes away.

If I leave the item and go back, the NOVA prompt reappears and when looking at the Nutrition Facts section: all sections are then blank, the 100g/per serving switch remains in the correct position and the serving size info remains correct. This behaviour continues even after checking a few hours later (in case it was just a delay).

All in all, everything I have interacted with works except any nutrition values are wiped even if they had values in prior.

Steps to reproduce the behavior

  1. Go to any item
  2. Click NOVA prompt
  3. Click Input nutrition facts
  4. Fill out all values
  5. Click Save
  6. Leave item
  7. Enter item
  8. Click Nutrition facts

Alternatively:

  1. Go to any item
  2. Click Edit product
  3. Click Nutrition facts
  4. Fill out all values
  5. Click Save
  6. Leave item
  7. Enter item
  8. Click Nutrition facts

Expected behavior

Information entered or updated should be committed.

Why

All items edited are having their values cleared.

Part of

Smartphone model

  • Device: Pixel 6
  • OS: Android 13
  • App Version: 4.10.0+1230-ZXing-FDroid
@NixedSec
Copy link
Author

NixedSec commented Sep 7, 2023

While looking at the item listings in the website, it appears that the app is correctly updating the values. The values just do not appear in the app. It retrieves the serving size, but not any other nutritional information.

All nutritional information is received if the product has been created/edited by other users or by the same account via the website. If the app is used to edit the information, this will then not be displayed in the app even after the values have been edited via the website or by another user.

This appears to only affect the edit screen for nutritional information. All other information updates.

I have also tried restarting the device and clearing the cache, though this did not correct the issue.

@NixedSec
Copy link
Author

NixedSec commented Sep 8, 2023

I have noticed that this issue may be related to #4604.

Within this @monsieurtanuki mentioned having authentication issues within the dev menu. I also have a series of "Invalid user id and password" exceptions that appear to be related to barcodes of items I have attempted to edit. During this, the debugging information states "IsLoggedIn: true".

I managed to temporarily rectify the issue and have the item update by clearing all pending items, logging out and back in again. After doing this I was able to update most on a new item before pending items appeared again. Most were a different issue, "not started yet", with a final issue of "Invalid user" etc. By logging out and in, all of the prior issues cleared and the item was updated. The authentication issue quickly reappeared on following items, causing failure to edit nutritional information or packaging information.

I have since tried to clear and re-login, this sometimes helps but not every time.

While there is an authentication issue within the Pending contributions list, the app does not allow the "Calculate" fragment to be displayed within the nutritional information menu. Clearing the error allows this to work again.

Edit: Clearing these "Could not save product...Invalid user id and password" exceptions fixes the issue of information not appearing within the nutritional information page, along with the fragment not being shown. Thank you @monsieurtanuki.

Are these exception tasks stopped on their own, or do they require manual removal?

I am glad this fixes this specific issue, though it does not address the issue of the exceptions happening in the first place. Should I open a new issue for this?

@monsieurtanuki
Copy link
Contributor

Hi @NixedSec!
From your comments I can detect several issues:

  1. recurring "Invalid user id and password" errors - how come?
  2. the fact that the user is not alerted when a background task fails
  3. the specific problem with the nutrition facts (ok on the server but not locally) - perhaps it's because we use an additional field like bool nutritionFactsAvailable that we forget to set to true, which somehow "hides" the data locally. That would explain why it seems to work for "old" products (nutrition facts edition, with that bool already set to true).

Those are interesting issues. Please create a specific issue in each case.

@rugk
Copy link

rugk commented Dec 12, 2023

Having the same issue as the OP. Here is a screencast (wait till the end, it worked before but well):

screen-20231212-103804.mp4

(Download video if it does not play.)

I have to say that this only happened to me for the first time now and what I was doing differently was I entered the nutrition facts per piece/portion (German per Portion).

Editr: I also have to add recently I often get the error "Cannot load nutrition facts" (from cache apparently), but I usually ignore this, because when I tap on the button again the data is loaded.

Logcat
<<< log_count = 54 >>>
[12-12 10:26:47.688 1815:11209 I/ActivityTaskManager]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity bnds=[437,861][644,1236]} from uid 10120

[12-12 10:26:47.736 1815:12981 D/CoreBackPreview]
Window{ce48bb8 u0 Splash Screen openfoodfacts.github.scrachx.openfood}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@41614f6, mPriority=0}

[12-12 10:26:47.741 1815:2091 I/ActivityManager]
Start proc 14898:openfoodfacts.github.scrachx.openfood/u0a231 for next-top-activity {openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}

[12-12 10:26:48.000 1815:12981 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@b6057e, mPriority=0}

[12-12 10:26:48.852 1815:9494 D/CoreBackPreview]
Window{ce48bb8 u0 Splash Screen openfoodfacts.github.scrachx.openfood EXITING}: Setting back callback null

[12-12 10:27:40.531 1815:12981 D/CoreBackPreview]
startBackNavigation currentTask=Task{8f78d34 #36215 type=standard A=10231:openfoodfacts.github.scrachx.openfood}, topRunningActivity=ActivityRecord{f3e48d2 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity} t36215}, callbackInfo=OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@b6057e, mPriority=0}, currentFocus=Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}

[12-12 10:28:03.927 1815:11209 D/CoreBackPreview]
startBackNavigation currentTask=Task{8f78d34 #36215 type=standard A=10231:openfoodfacts.github.scrachx.openfood}, topRunningActivity=ActivityRecord{f3e48d2 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity} t36215}, callbackInfo=OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@b6057e, mPriority=0}, currentFocus=Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}

[12-12 10:28:13.450 1815:11209 D/CoreBackPreview]
startBackNavigation currentTask=Task{8f78d34 #36215 type=standard A=10231:openfoodfacts.github.scrachx.openfood}, topRunningActivity=ActivityRecord{f3e48d2 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity} t36215}, callbackInfo=OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@b6057e, mPriority=0}, currentFocus=Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}

[12-12 10:28:35.505 1815:2342 D/CoreBackPreview]
startBackNavigation currentTask=Task{8f78d34 #36215 type=standard A=10231:openfoodfacts.github.scrachx.openfood}, topRunningActivity=ActivityRecord{f3e48d2 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity} t36215}, callbackInfo=OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@b6057e, mPriority=0}, currentFocus=Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}

[12-12 10:28:56.088 1815:2342 D/CoreBackPreview]
startBackNavigation currentTask=Task{8f78d34 #36215 type=standard A=10231:openfoodfacts.github.scrachx.openfood}, topRunningActivity=ActivityRecord{f3e48d2 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity} t36215}, callbackInfo=OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@b6057e, mPriority=0}, currentFocus=Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}

[12-12 10:29:07.556 1815:2342 D/CoreBackPreview]
startBackNavigation currentTask=Task{8f78d34 #36215 type=standard A=10231:openfoodfacts.github.scrachx.openfood}, topRunningActivity=ActivityRecord{f3e48d2 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity} t36215}, callbackInfo=OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@b6057e, mPriority=0}, currentFocus=Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}

[12-12 10:29:22.916 1815:2342 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@878b201, mPriority=0}

[12-12 10:29:38.319 1815:6546 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@8c559b7, mPriority=0}

[12-12 10:29:39.418 1815:2342 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@d9dcc0, mPriority=0}

[12-12 10:30:16.078 1815:11209 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@b9000ab, mPriority=0}

[12-12 10:31:05.146 1815:2729 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@680c73a, mPriority=0}

[12-12 10:31:06.672 1815:2729 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@4550392, mPriority=0}

[12-12 10:31:13.972 1815:2729 D/CoreBackPreview]
startBackNavigation currentTask=Task{8f78d34 #36215 type=standard A=10231:openfoodfacts.github.scrachx.openfood}, topRunningActivity=ActivityRecord{f3e48d2 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity} t36215}, callbackInfo=OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@4550392, mPriority=0}, currentFocus=Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}

[12-12 10:31:18.724 1815:2749 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@d483f51, mPriority=0}

[12-12 10:32:27.920 1815:2907 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@34f6549, mPriority=0}

[12-12 10:32:38.958 1815:2907 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@2dd2e5f, mPriority=0}

[12-12 10:32:44.737 1815:4474 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@285b98, mPriority=0}

[12-12 10:32:57.496 1815:2749 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@f20db62, mPriority=0}

[12-12 10:33:10.196 1815:4474 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@3d09a4, mPriority=0}

[12-12 10:33:12.097 1815:9494 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@b4390e, mPriority=0}

[12-12 10:33:46.920 1815:2749 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@116b59c, mPriority=0}

[12-12 10:33:50.473 1815:2749 D/CoreBackPreview]
startBackNavigation currentTask=Task{8f78d34 #36215 type=standard A=10231:openfoodfacts.github.scrachx.openfood}, topRunningActivity=ActivityRecord{f3e48d2 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity} t36215}, callbackInfo=OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@116b59c, mPriority=0}, currentFocus=Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}

[12-12 10:33:50.517 1815:4474 I/InputDispatcher]
Channel [Gesture Monitor] edge-swipe (server) is stealing touch from [d69700 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity (server), [Gesture Monitor] swipe-up (server), [Gesture Monitor] onehanded-touch (server)]

[12-12 10:33:53.365 1815:2749 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@e4c8307, mPriority=0}

[12-12 10:34:35.917 1815:9494 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@e94085, mPriority=0}

[12-12 10:34:45.608 1815:2749 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@b3810e7, mPriority=0}

[12-12 10:35:34.369 1815:9494 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@d04f0bb, mPriority=0}

[12-12 10:35:37.419 1815:11209 D/CoreBackPreview]
startBackNavigation currentTask=Task{8f78d34 #36215 type=standard A=10231:openfoodfacts.github.scrachx.openfood}, topRunningActivity=ActivityRecord{f3e48d2 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity} t36215}, callbackInfo=OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@d04f0bb, mPriority=0}, currentFocus=Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}

[12-12 10:35:37.440 1815:11209 I/InputDispatcher]
Channel [Gesture Monitor] edge-swipe (server) is stealing touch from [d69700 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity (server), [Gesture Monitor] swipe-up (server), [Gesture Monitor] onehanded-touch (server)]

[12-12 10:35:38.153 1304:2219 I/CameraService]
CameraService::connect call (PID 14898 "openfoodfacts.github.scrachx.openfood", camera ID 0) and Camera API version 1

[12-12 10:35:38.154 1304:2219 I/Camera2ClientBase]
Camera 0: Opened. Client: openfoodfacts.github.scrachx.openfood (PID 14898, UID 10231)

[12-12 10:35:41.250 1304:4724 I/Camera2ClientBase]
Closed Camera 0. Client was: openfoodfacts.github.scrachx.openfood (PID 14898, UID 10231)

[12-12 10:35:41.270 1815:11209 D/CoreBackPreview]
startBackNavigation currentTask=Task{8f78d34 #36215 type=standard A=10231:openfoodfacts.github.scrachx.openfood}, topRunningActivity=ActivityRecord{f3e48d2 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity} t36215}, callbackInfo=OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@d04f0bb, mPriority=0}, currentFocus=Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}

[12-12 10:35:41.272 1815:9494 I/InputDispatcher]
Channel [Gesture Monitor] edge-swipe (server) is stealing touch from [d69700 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity (server), [Gesture Monitor] swipe-up (server), [Gesture Monitor] onehanded-touch (server)]

[12-12 10:35:41.890 1304:4724 I/CameraService]
CameraService::connect call (PID 14898 "openfoodfacts.github.scrachx.openfood", camera ID 0) and Camera API version 1

[12-12 10:35:41.891 1304:4724 I/Camera2ClientBase]
Camera 0: Opened. Client: openfoodfacts.github.scrachx.openfood (PID 14898, UID 10231)

[12-12 10:35:43.960 1304:4724 I/Camera2ClientBase]
Closed Camera 0. Client was: openfoodfacts.github.scrachx.openfood (PID 14898, UID 10231)

[12-12 10:35:50.097 1815:2749 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@3b5137f, mPriority=0}

[12-12 10:36:21.125 1815:8185 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@1dc6647, mPriority=0}

[12-12 10:36:32.411 1815:9565 I/InputDispatcher]
Channel [Gesture Monitor] swipe-up (server) is stealing touch from [d69700 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity (server), [Gesture Monitor] edge-swipe (server), [Gesture Monitor] onehanded-touch (server)]

[12-12 10:37:00.745 1815:9494 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@44197d0, mPriority=0}

[12-12 10:37:04.668 1815:2729 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@c9e4b7b, mPriority=0}

[12-12 10:37:08.780 1815:2907 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@271542d, mPriority=0}

[12-12 10:37:46.056 1815:2907 D/CoreBackPreview]
Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@c0b7ced, mPriority=0}

[12-12 10:37:49.346 1815:2907 D/CoreBackPreview]
startBackNavigation currentTask=Task{8f78d34 #36215 type=standard A=10231:openfoodfacts.github.scrachx.openfood}, topRunningActivity=ActivityRecord{f3e48d2 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity} t36215}, callbackInfo=OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@c0b7ced, mPriority=0}, currentFocus=Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}

[12-12 10:37:49.410 1815:2907 I/InputDispatcher]
Channel [Gesture Monitor] edge-swipe (server) is stealing touch from [d69700 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity (server), [Gesture Monitor] swipe-up (server), [Gesture Monitor] onehanded-touch (server)]

[12-12 10:37:51.205 1815:2907 D/CoreBackPreview]
startBackNavigation currentTask=Task{8f78d34 #36215 type=standard A=10231:openfoodfacts.github.scrachx.openfood}, topRunningActivity=ActivityRecord{f3e48d2 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity} t36215}, callbackInfo=OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@c0b7ced, mPriority=0}, currentFocus=Window{d69700 u0 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity}

[12-12 10:37:51.236 1815:9565 I/InputDispatcher]
Channel [Gesture Monitor] edge-swipe (server) is stealing touch from [d69700 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity (server), [Gesture Monitor] swipe-up (server), [Gesture Monitor] onehanded-touch (server)]

[12-12 10:38:13.429 1815:2729 I/InputDispatcher]
Channel [Gesture Monitor] swipe-up (server) is stealing touch from [d69700 openfoodfacts.github.scrachx.openfood/org.openfoodfacts.app.MainActivity (server), [Gesture Monitor] edge-swipe (server), [Gesture Monitor] onehanded-touch (server)]

Smartphone model

Device: Fairphone 4 (FP4)
OS: Android 13, CalyxOS 4.15.0
source: F-Droid
version: v. 4.12.0
Build-ID: TQ3A.230901.001.23415000

@monsieurtanuki
Copy link
Contributor

@rugk I've managed to reproduce the bugs (including "Cannot load nutrition facts") and to fix them!
@NixedSec Should solve your issue too.

In short, the nutrition facts data were wiped out only temporarily and only locally.

@monsieurtanuki monsieurtanuki removed their assignment Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

4 participants