! 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 !
Add a lazy cell renderer to the icon view
Status:
RESOLVED: WORKSFORME
Severity:
enhancement

Comments

Description Benedikt Meurer editbugs 2005-12-09 09:25:02 CET
A new interface ExoLazyCellRenderer should be added, which adds a new method
render_and_resize() to cell renderers implementing this interface. This can be
used for applications which load icons only on-demand (like Thunar).
Comment 1 Benedikt Meurer editbugs 2005-12-09 09:25:49 CET
Created attachment 360 
Possible implementation for libexo r19014
Comment 2 Benedikt Meurer editbugs 2005-12-09 09:26:14 CET
Created attachment 361 
Possible implementation for Thunar r19014
Comment 3 Benedikt Meurer editbugs 2006-04-16 16:55:19 CEST
Moving to 0.3.1.8beta2.
Comment 4 Benedikt Meurer editbugs 2006-07-09 21:24:37 CEST
Moving to 0.3.1.10rc1.
Comment 5 Benedikt Meurer editbugs 2006-11-04 19:49:08 CET
Moving to 0.3.2final.
Comment 6 Harold Aling 2007-09-23 18:44:05 CEST
(In reply to comment #5)
> Moving to 0.3.2final.
> 

I guess this is fixed in the current Thunar...
Comment 7 Benedikt Meurer editbugs 2007-09-23 20:17:48 CEST
Err, by no means fixed...
Comment 8 Jannis Pohlmann editbugs 2010-10-05 16:34:14 CEST
I have updated the patches to apply against the current development trees. Branches have been created for this feature in exo and thunar:

  http://git.xfce.org/xfce/exo/log/?h=jannis/lazy-cell-renderer
  http://git.xfce.org/xfce/thunar/log/?h=jannis/lazy-icon-renderer

I've noticed a few resizing issues though. Sometimes, rows with smaller icons than required (e.g. in the /usr/share/icons folders) are only resized when I start scrolling up and down. Sometimes only the last row is not resized.

But if all cells in a row are properly resized and thus, the space between rows with smaller items is decreased, it looks nice.
Comment 9 Mike Massonnet editbugs 2010-10-05 20:18:31 CEST
(In reply to comment #8)
>   http://git.xfce.org/xfce/exo/log/?h=jannis/lazy-cell-renderer

exo-lazy-cell-renderer.[ch] are missing in the commit.
Comment 10 Jannis Pohlmann editbugs 2010-10-05 20:22:29 CEST
Damn. Added them now.
Comment 11 Nick Schermer editbugs 2012-12-27 13:45:12 CET
In a branch, so no bug needed.

Bug #1266

Reported by:
Benedikt Meurer
Reported on: 2005-12-09
Last modified on: 2012-12-27

People

Assignee:
Nick Schermer
CC List:
2 users

Version

Version:
unspecified

Attachments

Possible implementation for libexo r19014 (13.75 KB, patch)
2005-12-09 09:25 CET , Benedikt Meurer
no flags
Possible implementation for Thunar r19014 (28.51 KB, patch)
2005-12-09 09:26 CET , Benedikt Meurer
no flags

Additional information