After several times I started pcmanfm, the icons' size got broken: some big icons show up as 16x16, some as 32x32, etc., while 48x48 is set. Files of the same type seem to get equal icons.
Small icons are always handled correctly.
The output to console contains multiple lines similar to this:
Code: Select all
(pcmanfm:13824): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed
Code: Select all
.....
y += item->box.height; /* move to the next row */
}
// I MEAN I ADDED THIS LINE
printf("%d\n",self->icon_size);
item->icon_rect.x = item->box.x + (item->box.width - self->icon_size) / 2;
item->icon_rect.y = item->box.y + self->y_pad;
item->text_rect.x = item->box.x + self->x_pad;
item->text_rect.y = item->box.y + self->y_pad + self->icon_size + self->spacing;
.....
Sorry for imperfect english - trying to learn it