d2phap / d2phap/ImageGlass

Open ImageGlass without loading all list from same directory

Open
#786 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🎯 feature
Dominant language
C#
Stars
14.4k
Forks
752
Avg merge
10d 14h
Merged PRs (30d)
1

Description

In my scenario, I want to use slideshow to display all images from PC, and it will show last seen image and re-start slideshow when shutdown and reboot my PC.

When I enabled "Open last seen image" and folder is so big, it will freeze the program util finishing loading all files into list.
When I enabled "Open last seen image", "Find images from child folder" and place images into different folder, it will only put images in child folder into list, but I need all images in list.

Is it possible to use 2 thread or alternative to display image and update list separately?
Make sure that it will not freeze the program.

Thanks and appreciate

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests; start by reproducing startup with “Open last seen image” on a large directory, including child-folder scanning. Trace the startup image-loading and slideshow/list-population path, then verify that the image opens without freezing while the complete list finishes loading.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.