d2phap / d2phap/ImageGlass

[Feature Request] Add "Hold-to-Zoom" with inverse panning

Open
#2,459 0 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

Windows OS version

Windows 11

ImageGlass version

latest

ImageGlass release

Classic

1️⃣ Describe the feature

I would love to see a "Hold-to-Zoom" (also known as Lens Zoom or Magnifying-Glass Zoom) feature added to ImageGlass, similar to how it works in FastStone Image Viewer.

2️⃣ How to use feature
  1. Hold Left-Click: When the user clicks and holds the Left Mouse Button (LMB) on any part of the image, the view should instantly zoom into that exact spot at 100% scale (or a customizable zoom level).
  2. Natural Panning: While still holding down the LMB, moving the mouse should smoothly pan the image in the opposite direction (inverse/natural panning, exactly like sliding a physical print under a magnifying lens).
  3. Release to Reset: As soon as the user releases the Left Mouse Button, the image should instantly snap back to its previous zoom state (e.g., "Scale to Fit").
3️⃣ Additional context

This workflow allows for lightning-fast quality/sharpness checks on specific areas of an image without needing a two-handed keyboard shortcut (like Ctrl + Scroll) or toggling permanent zoom levels.

It is an incredibly fast, frictionless mouse-only navigation style heavily relied upon by photographers and design professionals.

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, tests, or entry points, so first locate ImageGlass's image-view interaction and zoom/pan handling. Compare the existing zoom and panning behavior with the requested mouse interaction; done means hold-to-zoom targets the clicked area, dragging pans inversely, and release restores the prior zoom state.

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
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.