Gallery icon indicating copy to clipboard operation
Gallery copied to clipboard

[ Bug ] "Password protect the whole application" option is not respected when photos/videos are opened by another app.

Open onegladius opened this issue 1 year ago • 1 comments

Checklist

  • [X] I can reproduce the bug with the latest version given here.
  • [x] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • [X] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • [X] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • [X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • [X] This issue contains only one bug.
  • [X] I have read and understood the contribution guidelines.

Affected app version

1.1.1

Affected Android/Custom ROM version

Android 10

Affected device model

Motorola moto e7 Power

How did you install the app?

GitHub releases

Steps to reproduce the bug

  1. Open the Fossify Gallery app.
  2. Click on the 3 dots on the top right.
  3. Click on "Settings".
  4. Scroll down to "SECURITY" and enable "Password protect the whole application".
  5. Exit the gallery app.
  6. Open a photo viewing app that does NOT have a built in gallery ( e.g. Simple Camera, Fossify File Manager )
  7. Click on a picture

Expected behavior

It should ask for the PIN code in order for the photos/videos taken to be seen, and if not entered correctly further access should not be allowed.

Actual behavior

It directly opens the folder's contents, and the "ENTER PIN" overlay is only shown when trying to delete a photo/video ( if "Password protect file deletion and moving" is enabled ).

Screenshots/Screen recordings

Here is a video where I show the bug using the Camera app. It also happens when using the file manager, or basically any app that does not have a built in gallery and depends on the default gallery app.

https://github.com/FossifyOrg/Camera/assets/158749828/7057361c-2827-4e15-b142-1df85a028805

Additional information

• If the "Password protect file deletion and moving" option is enabled, it will be respected.

• I have tested with both Gallery apps ( Fossify and SMT latest release ) and both have the same issue.

onegladius avatar Feb 10 '24 17:02 onegladius

Yes Its a must needed feature... At least while opening via cross app, opening settings menu must be restricted.!! Thanks

the-netspider avatar Feb 17 '24 05:02 the-netspider

Should be fixed in the next update. The unlock UI will now be displayed in full screen:

Notes:

  • App will be locked instantly on back press.

  • App will be locked after 30 seconds when closed using any other gesture or method.

naveensingh avatar Sep 15 '24 12:09 naveensingh