d2phap / d2phap/ImageGlass

Delete of image from Network drive "appears" not to delete image

Open
#561 1 comment 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

System information:
  • Windows OS version: Windows 7
  • ImageGlass version: V6.1.7.10 Moon Portable
To Reproduce

Steps to reproduce the behavior:

  1. Run IG. Find images in child folders is ON.
  2. Drag a network mounted folder containing images to IG.
  3. Move through images. Delete an image (delete key or "send to recycle bin").

[Note: because it is a network drive, "delete to recycle bin" is the same as a permanent delete.]

Actual behavior:

The removed image still appears on the screen. However, the title bar, and right-click
menu both behave as if the image is not there.

Move through the images (possibly past the number of images pre-loaded by the image boost), then return. The "deleted" image may now show a blank window, but the image filename is still in the title bar.

"Refresh" has no effect.
"Reload image list" results in the "Imageglass cannot open this picture" error.

Expected behavior:

On delete, the image should disappear, should be removed from the image list, and the image display should advance to the next 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

Start by reproducing the delete flow with a network-mounted folder on Windows 7 using the listed ImageGlass version. Trace the delete, image-list, and display behavior, then verify that the deleted image disappears, is removed from the list, and advances to the next image without a reload error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.