Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Occurs in Gallery When Modifying Directories in Settings #278

Open
7 tasks done
zxcgz opened this issue Aug 3, 2024 · 4 comments
Open
7 tasks done

Error Occurs in Gallery When Modifying Directories in Settings #278

zxcgz opened this issue Aug 3, 2024 · 4 comments
Labels
bug Something is not working device/software specific Issues that only happen on some devices or with some specific hardware/software needs triage Issue is not yet ready for PR authors to take up

Comments

@zxcgz
Copy link

zxcgz commented Aug 3, 2024

Checklist

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

Affected app version

1.1.3

Affected Android/Custom ROM version

Android 12/MIUI Global 13.0.3

Affected device model

Xiaomi POCO X3 Pro

How did you install the app?

Google Play Store

Steps to reproduce the bug

After installing the app, I attempted to configure the directories via the settings. I added the /storage/emulated/0 directory to the exclusion list and then added a hidden sub-directory within /storage/emulated/0 to the inclusion list. However, when I returned to the homepage, an error message quickly appeared: "An error occurred in Gallery. Close this app now?". If I click "OK", the app exits; if I click "Cancel", the app continues to run normally.

Expected behavior

The app should handle the inclusion and exclusion of directories without causing critical errors or unexpected exits.

Actual behavior

An error message appears prompting to close the app. The app exits if "OK" is clicked, and continues to run if "Cancel" is clicked.

Screenshots/Screen recordings

No response

Additional information

No response

@zxcgz zxcgz added bug Something is not working needs triage Issue is not yet ready for PR authors to take up labels Aug 3, 2024
@Aga-C
Copy link
Member

Aga-C commented Aug 3, 2024

Is this hidden subdirectory created by you? If not, can you share its exact name?

@Aga-C Aga-C added question Further information is requested waiting for author If the author does not respond, the issue will be closed. Otherwise, the label will be removed. labels Aug 3, 2024
@zxcgz
Copy link
Author

zxcgz commented Aug 3, 2024

I created it. It contains many .jpg files, and renaming this hidden directory also reproduces the problem.

@github-actions github-actions bot removed the waiting for author If the author does not respond, the issue will be closed. Otherwise, the label will be removed. label Aug 3, 2024
@Aga-C
Copy link
Member

Aga-C commented Aug 3, 2024

By hidden subdirectory, do you mean that this directory is not visible only in Gallery? Or is it hidden globally, and it contains .nomedia file or its name starts with .?

@Aga-C Aga-C added the waiting for author If the author does not respond, the issue will be closed. Otherwise, the label will be removed. label Aug 3, 2024
@zxcgz
Copy link
Author

zxcgz commented Aug 3, 2024

The directory is hidden globally; its name starts with .

@github-actions github-actions bot removed the waiting for author If the author does not respond, the issue will be closed. Otherwise, the label will be removed. label Aug 3, 2024
@Aga-C Aga-C added device/software specific Issues that only happen on some devices or with some specific hardware/software and removed question Further information is requested labels Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working device/software specific Issues that only happen on some devices or with some specific hardware/software needs triage Issue is not yet ready for PR authors to take up
Projects
None yet
Development

No branches or pull requests

2 participants