d2phap / d2phap/ImageGlass

Disable opening multiple instances of same file

Open
#1,503 0 comments 1 reaction 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

I'm always frustrated when ImageGlass opens new instance of file in an already opened program window. Looked for a setting for this but did not find.

I would like to get focus to image in ImageGlass if I doubleclick the file in Windows Explorer. I don't want to open another instance of it.

After testing a bit further I I don't precisely know how I ended up having same file opened multiple times in one window but I did have one image opened twice.

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 tracing how ImageGlass handles a file double-click from Windows Explorer and how it creates or focuses application windows. Verify the desired behavior for an already open file and for duplicate instances, then confirm that opening the file focuses the existing window without creating another instance.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.