Bug 474790 - Titlebar program icons are blurry
Summary: Titlebar program icons are blurry
Status: REPORTED
Alias: None
Product: Breeze
Classification: Plasma
Component: window decoration (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-22 18:22 UTC by david
Modified: 2023-10-11 19:23 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
On the left you can see how the icon should be (17.15 KB, image/png)
2023-09-22 18:22 UTC, david
Details
se98 icons (894.59 KB, image/png)
2023-09-26 23:13 UTC, david
Details
16x16 scaled to 15x15 (701 bytes, image/png)
2023-10-03 16:24 UTC, david
Details

Note You need to log in before you can comment on or make changes to this bug.
Description david 2023-09-22 18:22:10 UTC
Created attachment 161809 [details]
On the left you can see how the icon should be

Most icon themes use icon sizes 16x16, 22x22, 24x24, 32x32... But with breeze they are 15x15, 20x20, 25x25... This is especially noticeable when using pixel perfect icons.
Comment 1 Nate Graham 2023-09-25 18:34:53 UTC
Cannot reproduce with my system running Plasma 6 Wayland at 200% scale.

What Icon theme are you using? Does the issuereproduce when using the Breeze Icons theme?

How did you make that screenshot? In an image editor, or is the icon on the left on the desktop or something?

What version of Plasma are you running?

Is this in the X11 or Wayland session?

What screen scaling value are you using, if it's something other than 100%?

Have you manually changed the "Force Fonts DPI" value to something other then its default value>
Comment 2 david 2023-09-26 23:13:08 UTC
Created attachment 161894 [details]
se98 icons

In the first screenshot I'm using Papirus icon theme, I just pasted the original the left with gimp and upscaled it x2 so you don't have to zoom in. I used 100% scale. I left everything as set by default. The issue is just the icon size, so with scalable icon themes like breeze it isn't that noticeable. Text size also affects the icon size, as someone mentioned here https://github.com/paulmcauley/klassy/issues/62. Here's another screenshot with se98 icon theme, button size set to small, neon unstable plasma 5.27.80, x11.
Comment 3 Nate Graham 2023-09-28 16:53:01 UTC
So the blurry icons are raster icons, and not vector icons?
Comment 4 david 2023-10-03 16:24:50 UTC
Created attachment 162056 [details]
16x16 scaled to 15x15

Oh sorry, perhaps I should rephrase. There is no blur issue, it's the icon size issue. If the icon size matches the icon theme size, then it doesn't get scaled and looks as intended (16x16, 22x22, 24x24...). But if that is not the case, then it gets scaled (resized) (the case with Breeze kdecoration), and with scaling the icon can get blurry. Raster icons are more noticeable, but it also affects vector icons (1px black line becomes 2px grey line, see attachment), that's just how it is. So I'm saying it would look better if the program icon size matched the icon theme size (16x16 for small and so on...). I've also seen that icon size settings are being removed all together for Plasma 6, so it would be nice if the icons looked as crisp as possible.
Comment 5 Nate Graham 2023-10-11 18:23:24 UTC
Thanks. I can't reproduce it with current git master, but I also have a 4K screen at 200% scale, so blurry icons look less prominent for me. Still they don't look blurry at all.

Are you by any chance using a non-default window decoration icon size?
Comment 6 david 2023-10-11 19:23:12 UTC
No, I didn't change anything.