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

Auto-clean invalid images #397

Open
denilsonsa opened this issue Mar 13, 2024 · 0 comments
Open

Auto-clean invalid images #397

denilsonsa opened this issue Mar 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@denilsonsa
Copy link

I just checked my ~/.local/share/Steam/userdata/*/config/grid/ folder, by running file * in the terminal. I found:

  • One empty file (0 bytes).
  • Several Targa image data files (all of them are icons, and they seem to be working fine; surprising for me because I didn't know that format was supported).
  • Eight HTML documents (i.e. somehow the image was not found and returned a 404 document instead).

BoilR doesn't support invalid images. When I tried to select the new logo to replace that empty file, I couldn't use BoilR interface, as the logo wasn't visible and wasn't clickable. I had to manually delete that file and then use BoilR.

Proposed solution 1

If a file is invalid (or has an absurdly small size, e.g. less than 32x32), the BoilR interface should display a large enough placeholder box so the user is able to click on it to replace it.

Bonus points for always having borders around each of the images (imagine someone accidentally installs a completely transparent image, how would the user be able to "see" it to click on it?)

Proposed solution 2

Additionally, BoilR could check all existing images for integrity. Any broken image (i.e. empty files, HTML files, non-image files, or even corrupted files) could be listed in a new panel (let's call it "house cleaning" or "issues" or "health check") in the UI, so that the user will be able to act on those broken files. Most likely, delete them, but possibly replace them with proper images.

@denilsonsa denilsonsa added the enhancement New feature or request label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant