patzly / grocy-android

ERP beyond your fridge, now on your phone – An awesome companion app for grocy
https://patrickzedler.com/grocy/
GNU General Public License v3.0
829 stars 80 forks source link

Crash when adding item while keyboard open #840

Closed Skellett1 closed 4 months ago

Skellett1 commented 4 months ago

How to reproduce

While attempting to add an item, be it in the stores, products, ..., once I tap the upload button while the keyboard is open the app crashes visually, occasionally Android suggests clearing the cash saying it was a fatal crash.

The app behaved as expected if I closed the on screen keyboard beforehand.

Device Information

Samsung Galaxy S10 Model: SM-G973F/DS Android V12

Usage context

I just installed the application moments before therefor this is a test run with 0 preexisting data. I used the default usr admin psk admin / created a api key for said user.

I initially did not have any changes to the settings and the behaviour persistet when adding some basic locale settings (language; currency; start of week).

Logs

--------- beginning of main
02-21 02:51:22.324 31603 31603 E AnimationUtils: RuntimeException for unknown animation name, resouce ID #0x7f020028
02-21 02:51:22.324 31603 31603 E AnimationUtils: loadAnimation: getConfiguration = {1.0 262mcc7mnc [de_DE,en_US] ldltr sw411dp w411dp h825dp 420dpi nrml long hdr widecg port night finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 2280) mAppBounds=Rect(0, 112 - 1080, 2280) mMaxBounds=Rect(0, 0 - 1080, 2280) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0 mPopOver=off mFreeformTaskPinningState=unpinned} s.1 fontWeightAdjustment=0 ff=0 bf=0 bts=0 desktop/d dm/n dc/d ?dcui ?dcaf enb/d themeSeq=0}
02-21 02:51:22.324 31603 31603 E AnimationUtils: loadAnimation: getDisplayMetrics = DisplayMetrics{density=2.625, width=1080, height=2168, scaledDensity=2.625, xdpi=415.63577, ydpi=413.6565}
02-21 02:51:22.324 31603 31603 E AnimationUtils: loadAnimation: resourceName = xyz.zedler.patrick.grocy:animator/open_enter
02-21 02:51:23.479 31603 31603 E AnimationUtils: RuntimeException for unknown animation name, resouce ID #0x7f020029
02-21 02:51:23.479 31603 31603 E AnimationUtils: loadAnimation: getConfiguration = {1.0 262mcc7mnc [de_DE,en_US] ldltr sw411dp w411dp h825dp 420dpi nrml long hdr widecg port night finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 2280) mAppBounds=Rect(0, 112 - 1080, 2280) mMaxBounds=Rect(0, 0 - 1080, 2280) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0 mPopOver=off mFreeformTaskPinningState=unpinned} s.1 fontWeightAdjustment=0 ff=0 bf=0 bts=0 desktop/d dm/n dc/d ?dcui ?dcaf enb/d themeSeq=0}
02-21 02:51:23.479 31603 31603 E AnimationUtils: loadAnimation: getDisplayMetrics = DisplayMetrics{density=2.625, width=1080, height=2168, scaledDensity=2.625, xdpi=415.63577, ydpi=413.6565}
02-21 02:51:23.479 31603 31603 E AnimationUtils: loadAnimation: resourceName = xyz.zedler.patrick.grocy:animator/open_exit
patzly commented 4 months ago

Hi and thanks, this is a duplicate of the pinned issue #831😅 Can you confirm that the nightly build is working correctly?