! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Big icons have low resolution
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description Juan Carrano 2012-05-26 21:36:16 CEST
I have xfdesktop configured to display minimized application icons. When the icon size is set to 32 px icons show fine. When a larger size is selected, xfdesktop scales the 32px icon instead of using a larger one. The result is that the icons look blurry. This does not happen if the desktop is configured to display files/launchers. In that case icons scale well.

xfdesktop should choose the icon file that matches the selected size, or use svg icons.
Comment 1 Eric Koegel editbugs 2014-07-20 16:00:39 CEST
It's a limitation in wnck. It's fixed in wnck3 so we can fix this bug when we go to Gtk3.
Comment 2 Skunnyk editbugs 2017-06-21 23:06:16 CEST
4.13.x now use gtk3 / libwnck3. Maybe this is fixable now ? 
I can still reproduce the issue.
Comment 3 Skunnyk editbugs 2019-07-07 00:46:02 CEST
Created attachment 8732 
select correct icon size

Using wnck_set_default_icon_size seems to fix the problem
Comment 4 Simon Steinbeiss editbugs 2019-07-07 00:59:01 CEST
Yeah, I guess that (simple) patch should do the trick.
Comment 5 Andre Miranda editbugs 2019-07-07 19:06:26 CEST
Created attachment 8735 
screenshot.png

I didn't notice any difference with or without the patch. I restarted xfwm4, no difference. Am I missing something?
Comment 6 Skunnyk editbugs 2019-07-08 11:46:44 CEST
Created attachment 8738 
Select correct icon size

You have this behavior because you are using the default icon-size (DEFAULT_ICON_SIZE        48), so the resize is not triggered.

Updated patch displays the correct icon size even on first draw.
Comment 7 Git Bot editbugs 2019-07-08 16:24:25 CEST
Romain Bouvier referenced this bugreport in commit 58bf697484a75f7bf47002912d532a958a75ef1f

Display correct icon size of minimized apps (Bug #8951)

https://git.xfce.org/xfce/xfdesktop/commit?id=58bf697484a75f7bf47002912d532a958a75ef1f
Comment 8 Andre Miranda editbugs 2019-07-08 16:25:38 CEST
Now it looks good, thanks Skunnyk!

Bug #8951

Reported by:
Juan Carrano
Reported on: 2012-05-26
Last modified on: 2019-07-08

People

Assignee:
Xfce Bug Triage
CC List:
6 users

Version

Version:
4.13.5

Attachments

select correct icon size (516 bytes, patch)
2019-07-07 00:46 CEST , Skunnyk
no flags
screenshot.png (63.54 KB, image/png)
2019-07-07 19:06 CEST , Andre Miranda
no flags
Select correct icon size (479 bytes, patch)
2019-07-08 11:46 CEST , Skunnyk
no flags

Additional information