Hi,
I have ROG Phone II (128GB+8GB Indian Version).
If I permanently delete Photos from gallery they are still showing up if I select files during upload from any app and going to recent tab.
Steps to reproduce:
1. Download any photo
2. Go to gallery and permanently delete the photo
3. Go to Gmail
4. Compose new email
5. Click on attach files
6. Go to recent tab and deleted photo will be there
Demonstration screenshots:
Device Information: