Open SebastianReitzner opened 1 year ago
I experienced a similar crash while rotating my device while a bottom sheet was open for a file - Pixel 6, 30240290 from Google Play. It appears that this Fragment (FileActionsBottomSheet
) just needs a public constructor so that the OS can recreate it
Additionally, the result listener from each parent fragment is only set when the actions bottom sheet/dialog is created - therefore, after a configuration change when the parent fragment is recreated (when the FileActionsBottomSheet
constructor is made public), any actions that the user chooses won't trigger.
⚠️ Before posting ⚠️
Steps to reproduce
Expected behaviour
The picture is set and the app does not crash
Actual behaviour
The picture is set, but the app crashes
Android version
13
Device brand and model
XIAOMI POCO F1
Stock or custom OS?
Custom (explain in "additional information")
Nextcloud android app version
3.24.2
Nextcloud server version
25.0.2
Using a reverse proxy?
Yes
Android logs
Cause of error
App information
com.nextcloud.client
30240290
gplay
Device information
Xiaomi
beryllium
POCO F1
TQ2A.230305.008.C1
beryllium
Firmware
33
13
a62b3dbebd
Server error logs
No response
Additional information
Lineage OS 20.0, build from 2023.04.01
Crash only happened the first time, when trying the same procedure again it worked without crashing. Inbetween trying to reproduce the error I shared the folder containing the pictures with another user.