d2phap / d2phap/ImageGlass

Crashed after deleting just 2 images.

Open
#2,211 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Windows OS version

Windows 10 22H2

ImageGlass version

9.3.2.520 (64-bit)

ImageGlass release

Classic

1️⃣ Steps to reproduce

Open a folder in OneDrive containing lots of images (Windows Explorer)
Double-click on an image to open in ImageGlass
Thumbnails at the bottom are shown
Select an image that I want to delete from the thumbnails bar, it will open in the main window
Click Delete Button from the top toolbar buttons
"Do you want to move this file to the Recycle bin?" - Clicked Yes button
Image is deleted successfully
The next image from the thumbnails is loaded in the main window
Select another image that I want to delete from the thumbnails bar, it will open in the main window
Click Delete Button from the top toolbar buttons
"Do you want to move this file to the Recycle bin?" - Clicked Yes button
Image is deleted successfully
The next image from the thumbnails is loaded in the main window
Select another image that I want to delete from the thumbnails bar, it will open in the main window
Click Delete Button from the top toolbar buttons
"Do you want to move this file to the Recycle bin?" - Clicked Yes button
ImageGlass is not responding endlessly.

2️⃣ Actual behavior

Open a folder in OneDrive containing lots of images (Windows Explorer)
Double-click on an image to open in ImageGlass
Thumbnails at the bottom are shown
Select an image that I want to delete from the thumbnails bar, it will open in the main window
Click Delete Button from the top toolbar buttons
"Do you want to move this file to the Recycle bin?" - Clicked Yes button
Image is deleted successfully
The next image from the thumbnails is loaded in the main window
Select another image that I want to delete from the thumbnails bar, it will open in the main window
Click Delete Button from the top toolbar buttons
"Do you want to move this file to the Recycle bin?" - Clicked Yes button
Image is deleted successfully
The next image from the thumbnails is loaded in the main window
Select another image that I want to delete from the thumbnails bar, it will open in the main window
Click Delete Button from the top toolbar buttons
"Do you want to move this file to the Recycle bin?" - Clicked Yes button
ImageGlass is not responding endlessly.

3️⃣ Expected behavior

ImageGlass should delete the file without any issue.

4️⃣ Screenshots / Video / Sample image file

any jpg files.

5️⃣ Additional context

No response

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

Start by reproducing the Windows 10 22H2 workflow with ImageGlass 9.3.2.520 Classic, a OneDrive folder, the thumbnails bar, and three consecutive deletions. Investigate the delete-toolbar and next-thumbnail loading behavior, then verify that repeated deletions complete without ImageGlass becoming unresponsive.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.