d2phap / d2phap/ImageGlass

Network drive letter: Thumbnail panel doesn't update when deleting picture

Open
#1,440 1 comment 0 reactions 1 assignee View on GitHub

@d2phap is already working on this.

Since Oct 27, 2022.

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

Description

System information:
  • Windows OS version: 11 22H2
  • ImageGlass version: 8.7.10.26 x64
To Reproduce

Steps to reproduce the behavior:

  1. Have a network share mounted to a drive letter
  2. Open Explorer click on that drive letter and open a picture from that directory network location.
  3. In ImageGlass turn on thumbnail panel if not present (Menu > Layout > Thumbnail panel) or by pressing "h" key
  4. Make sure thumbnail panel is visible
  5. Sroll to picture until one should be deleted
  6. Deleting a picture by pressing the button "Move to recycle bin" or DEL key
  7. Scroll back to that deleted picture and an error is visible while thumbnail placeholder is picked
Actual behavior:

The thumbnail is still visible after deletion of that image, thumbnail panel is not being updated.
The error message says:

ImageGlass cannot open this picture because the file appears to be damaged, corrupted or not supported.
Magick.NET-Q16-HDRI-OpenMP-x64 unable to open image: 'V:\800x800px-orange.png'. No such file or directory @ error/blob.c/Openob/3570

After a while error message disappears, but comes back when scrolling to that thumbnail again.

Expected behavior:

When deleting an image, its thumbnail should disappear from thumbnail panel as well, when using a network drive.

Screenshots:

https://i.imgur.com/GbqHdZo.png

Additional context:

If you restart ImageGlass the deleted picture(s) are gone from thumbnail panel.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.