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

Iconback (Background) for unthemed icons issue #322

Closed
1 task done
thewaliii opened this issue Oct 31, 2024 · 1 comment
Closed
1 task done

Iconback (Background) for unthemed icons issue #322

thewaliii opened this issue Oct 31, 2024 · 1 comment

Comments

@thewaliii
Copy link

thewaliii commented Oct 31, 2024

Requirements

  • I have verified there are no duplicate active or recent bugs, questions, or requests

Blueprint Version

2.4.2

Android Version

14

Device Manufacturer

Nothing, Samsung

Device Name

S22 Ultra, Nothing 2

What happened?

I wanted to implement backgrounds (iconback) for unthemed icons. I attempted to do this in my current project, but I encountered a strange issue with some launchers like Microsoft Launcher, Nothing Launcher, where the background gets scaled up or zoomed in and goes outside the icon borders:

image

This is my "iconback" sample:

image

I tried everything without success, so I thought there might be an issue with my project. I decided to set up a new project from scratch. In the new project, I only added one line of code in the appfilter.xml file in both locations:

<iconback img1="iconback"/>

However, I encountered the same exact problem, even in this clean project. It works well in Nova Launcher, and when I tried the masking feature, it functioned correctly as well...

image

The problem arises in other launchers, where iconback appears blown up; it's strange and seems to be scaled up or zoomed in.

image

I checked other icon packs on the Play Store that also use blueprint, and they work perfectly without scaling issues.

I must be missing something - perhaps a piece of code or something!

Reproduction Steps

  • Add this line to appfilter.xml + the PNG in the drawable folder.
    <iconback img1="iconback"/>

image
image

  • Apply the icon pack in one of these launchers:
    MS Launcher., Nothing Launcher. There might be more launchers with the same issue but I didn't try all of them.

Expected behavior

The background should fit inside the icon boundaries and not go beyond or get scaled like this:

image

Screenshots or videos

iconback

Code and/or Logs

No response

Additional context or info

No response

@jahirfiquitiva
Copy link
Owner

Unfortunately this is not related to the dashboard and it's only related to the configuration and how each launcher reads it.

Please feel free to ask for help on the random channel of the discord server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants