! 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 !
Desktop icons shrink when opening "Desktop Settings" for the first time
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description dandromb 2012-08-11 09:54:56 CEST
Hi. Hopefully this is the right place to report my problem. The steps to reproduce are:

1) Right click the desktop

2) Open "Desktop Settings..."

3) Icons on desktop change from size 36 ---> size 32.

It would be extremely easy not to notice this, but it makes the desktop much less attractive. Only happens on the first time opening the dialog, afterwards the setting stays at 32.

Notes: I am using Xfce 4.8 on Xubuntu 12.04
Comment 1 Eric Koegel editbugs 2014-02-16 14:40:20 CET
This should be resolved with the commit to master in:
http://git.xfce.org/xfce/xfdesktop/commit/?id=09f4a5e334a6858369ea69cc62ddd381250c9d62
Which also changes the default to 48 (to better match Thunar's default).
Comment 2 Thaddaeus Tintenfisch editbugs 2014-03-25 18:34:37 CET
I think that you also need to change this value:

diff --git a/src/xfce-desktop.c b/src/xfce-desktop.c
index 399d2fc..ef9c87e 100644
--- a/src/xfce-desktop.c
+++ b/src/xfce-desktop.c
@@ -839,7 +839,7 @@ xfce_desktop_class_init(XfceDesktopClass *klass)
                                     g_param_spec_uint("icon-size",
                                                       "icon size",
                                                       "icon size",
-                                                      8, 192, 36,
+                                                      8, 192, 48,
                                                       XFDESKTOP_PARAM_FLAGS));
 
     g_object_class_install_property(gobject_class, PROP_ICON_FONT_SIZE,
Comment 3 Eric Koegel editbugs 2014-03-25 18:54:00 CET
Changed it to use DEFAULT_ICON_SIZE to make it less
error prone if the default size changes again in the
future. Pushed to master in:
http://git.xfce.org/xfce/xfdesktop/commit/?id=5203d9aa93e40dbddc81895fa60c8d1c99dd95f3
Thanks for spotting that!

Bug #9199

Reported by:
dandromb
Reported on: 2012-08-11
Last modified on: 2014-03-25

People

Assignee:
Eric Koegel
CC List:
7 users

Version

Attachments

Additional information