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

TaskBar icon scaling poorly #83

Open
Sxtanna opened this issue Nov 10, 2020 · 2 comments
Open

TaskBar icon scaling poorly #83

Sxtanna opened this issue Nov 10, 2020 · 2 comments
Assignees
Labels
desktop enhancement New feature or request

Comments

@Sxtanna
Copy link

Sxtanna commented Nov 10, 2020

When setting the icon on the window, the image is scaled very poorly, producing an extremely low resolution taskbar icon.

example:

image

note both the taskbar and the decorator icons are poorly scaled

The actual image file is a 1,000 x 1,000 png.
image

@igordmn igordmn added the enhancement New feature or request label Nov 19, 2020
@hakanai
Copy link

hakanai commented Dec 6, 2023

Similar issue on the window icon.

Same root cause - Compose loads only one bitmap:

And then "someone" scales it badly.

A correct icon painter would load all the bitmaps, and choose the appropriate one for the context being rendered onto.

The ICO file provided contains a perfectly good 16x16 bitmap which looks fine

image

(lightness of image is mostly due to an HDR-related bug in Snipping Tool)

But what you get from Compose is:

image

You can argue that the first image is discernably a rat, while the second image .....

hakanai added a commit to hakanai/Crazy that referenced this issue Dec 6, 2023
Still renders like garbage due to JetBrains/compose-multiplatform#83 but we have an icon!
@m-sasha m-sasha assigned m-sasha and unassigned Rsedaikin Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desktop enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants