jun7 / rox-filer

ROX file manager
24 stars 6 forks source link

Enormous thumbnails in Infobox (Properties) #183

Closed JakeSFR closed 5 years ago

JakeSFR commented 5 years ago

If an image already has a thumbnail, it's displayed next to the filename in Properties window. But, if 'Options -> Thumbnails -> Cache File Size' is set to 'Large (256px)' or 'Huge (512px)', the thumbnail is extremely big and often the Properties window exceeds screen limits.

https://imgur.com/a/qbJBzlY

Maybe the size should be scaled to 96x96 or even 64x64? What do you think?

Btw, I was trying to use gdk_pixbuf_scale_simple, but it won't preserve aspect ratio, so it's a no-go:

thumb=pixmap_try_thumb(path, FALSE); thumb=gdk_pixbuf_scale_simple(thumb, 96, 96, GDK_INTERP_NEAREST); if(thumb)

jun7 commented 5 years ago

I agree.

jun7 commented 5 years ago

If you thunk up better icon size, please feel free to tell me it.

JakeSFR commented 5 years ago

I think 96x96 is pretty reasonable. Thanks!