Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • thunar thunar
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 336
    • Issues 336
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • XfceXfce
  • thunarthunar
  • Merge requests
  • !106

Draft: Asynchronous File Icon Renderer

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Yongha Hwang requested to merge MShrimp4/thunar:thunar_file_async into master Apr 29, 2021
  • Overview 4
  • Commits 3
  • Pipelines 3
  • Changes 7

AsyncIconLoader

It's way far from completion, but I thought leaving this here would be better. I implemented thunar_icon_factory_load_file_icon_async() to do some of the I/O asynchronously, and used it on icon renderer.

Related: #115 (closed) #298 (closed) #528

TODO:

  • Solve every compiler warnings
  • Asynchronous image thumbnail fetch (It still freezes when thumbnail is on) Done!
  • Prevent spamming asynchronous icon fetch Done!
  • Make sure fetched icons are cached Done!
  • Truly asynchronous thunar_file_get_icon_name_async()
  • Use cancellable and error
  • Check for memory leak
Edited May 01, 2021 by Yongha Hwang
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: thunar_file_async