Menu

#219 Improved thumbnails handling [libfm pcmanfm]

open
PCMan
None
5
2019-02-13
2011-11-18
Anonymous
No

Hello. I was playing with the source code of libfm and pcmanfm and did some improvements in thumbnails handling. First of all I separated thumbnail size from icon size. From now on thumbnail width can be bigger than icon width, but thumbnail height cannot. I did this that way because I didn't want the icons to jump like in Nautilus. But of course this can be changed. I added some options to pcmanfm's preference dialog to change the thumbnails size. Its done in a little different way that selection of icons size, but I think that GtkSpinBox is quite good. The change of thumbnails size is not immediate because it would lead to large number of reloads while changing the value in spinbox. Because of that the changes is delayed by 2.5sec.
The patch was tested with libfm and pcmanfm from git (18 nov 2011) and it works good. I also included the changed pref.ui file just in case.

Discussion

  • PCMan

    PCMan - 2011-11-19

    Thanks a lot. This deserves some discussion.
    I'm not able to integrate the patch at the moment.
    We're in a feature-freeze state and are preparing for 1.0 release.
    I'll take a look at this later.

     
  • PCMan

    PCMan - 2011-11-19
    • assigned_to: nobody --> pcmanx
     
  • Anonymous

    Anonymous - 2019-02-13

    @PCMan

    I have a related suggestion about thumbnails. Currently when you open a folder, pcmanfm (gtk2) loads all thumbnails. This can be quite taxing for the HDD if there are a few hundred images in the directory. My suggestion for PCManFM is to load thumbnails only when the user is close to viewing them (or scrolls approaches them), currently this can be seen in thunar and enlightenment's fm

     

Anonymous
Anonymous

Add attachments
Cancel