pop-os / libcosmic

WIP library for COSMIC applications
https://pop-os.github.io/libcosmic/cosmic/
Mozilla Public License 2.0
418 stars 41 forks source link

Pixelation/shimmering of certain app icons #565

Open peterkrull opened 1 month ago

peterkrull commented 1 month ago

Some icons seems to be scaled/sampled badly, causing shimmering and pixelation in different situations. I mainly notice it in the app list when it is very small; I have it in the panel. Here the cosmic-term and cosmic-files seem to scale correctly. The rest becomes quite pixelated and rough looking.

screenshot-2024-08-06-12-31-21

It is also present in the applibrary, but here it also results in shimmering when the icons move slowly. This video is recorded at 50% scaling to exaggerate the issue, but the issue is present at any scale. Notice especially the blackmagic speed test icon (top row). Not all icons seem to be affected.

https://github.com/user-attachments/assets/11a14557-7d25-4914-8fe0-1dcb9435f741

peterkrull commented 1 month ago

It might be a more general image scaling thing. I am observing similar shimmering in the cosmic-store

https://github.com/user-attachments/assets/4608ba71-dea5-4632-a183-4d7e3083b2de

git-f0x commented 1 month ago

It's also quite visible when horizontally resizing COSMIC Settings while on the Appearance page, where the borders of things flicker.

peterkrull commented 1 month ago

It's also quite visible when horizontally resizing COSMIC Settings while on the Appearance page, where the borders of things flicker.

I think what you mention might be more related to #568. This is more about images being (seemingly) filtered badly when scaled. At least I believe they are unrelated? 🤷🏻

git-f0x commented 1 month ago

I think what you mention might be more related to https://github.com/pop-os/libcosmic/issues/568.

Yes.