Thanks for the reply.
I used indeed an SD card to store pictures taken with my p30pro.
I've just changed the storage option again to internal storage. Hope this will help.
It shouldn't happen though in my opinion. It make the SD card a bit useless.
Thanks.