Bug 471502 - Icons for folders with preview are different than normal folders
Summary: Icons for folders with preview are different than normal folders
Status: RESOLVED DUPLICATE of bug 387154
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.04.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-27 13:13 UTC by david
Modified: 2023-07-29 13:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The difference between folders with previews and folders without previews (23.97 KB, image/png)
2023-06-27 13:13 UTC, david
Details
22pixels icons (24.89 KB, image/png)
2023-07-29 11:05 UTC, medin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description david 2023-06-27 13:13:49 UTC
Created attachment 159928 [details]
The difference between folders with previews and folders without previews

SUMMARY
When folder preview is enabled, directories with previews look different than empty ones. It looks like it's using an icon from bigger size and then downscaling it, making it blurry. See attachment


STEPS TO REPRODUCE
1. Use icon themes like Chicago95 or SE98 with icon size set to 48
2. Have folder previews enabled

OBSERVED RESULT
Folders without previews look as they should, folders with previews are blurry

EXPECTED RESULT
Folders with previews should not be blurry

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Another icon theme issue, not just dolphin specific, is that the icon themes with both pngs and svgs (like Chicago95) don't look right. In dolphin (also tested in pcmanfm-qt) PNGs are prioritized, so if the icon theme has a 48x48 directory with .png files and a scalable directory with .svg files, the 48x48 pngs are used and svgs are ignored. You can see this if you set the toolbar icon size to 64x64. Plasma panel on the other hand prioritizes svgs for all sizes, ignoring pngs. I don't know where exactly I should post this, so I'll just leave it here, maybe it's a Qt issue, I'm not sure.
Comment 1 medin 2023-07-29 11:05:36 UTC
Created attachment 160601 [details]
22pixels icons

With 16 and 22pixels icons, it seems folders that can show previews use different icons than others.
Comment 2 Nate Graham 2023-07-29 13:55:47 UTC

*** This bug has been marked as a duplicate of bug 387154 ***