Not sure if it's caused by the cam app itself or by manufacturer udate, but since approximatly 1year i have problems with the gallery. It seems Open Camer doesn't trigger the media scanner properly. So often when an image is taken, the mini view (top right) is shown afterwards but if i tap on it the gallery opens with the last recent image before this picture. If i switch to gallery from hoescreen directl, the taken foto is not shown. Within my file explorer the image exist. In system settings the sd card has to be ejected and remounted. Which seems to me triggers the media scanner. Afterwards all images on sd card are viewable at the gallery.
For testing i switched zo stock camera, changed path to sd card but it works without any problems.
Sony Xperia XZ2c
Android 10
Anonymous