d2phap / d2phap/ImageGlass

Zoom at mouse pointer position (Ctrl + Scroll) (Magnifying Glass style)

Open
#2,357 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 24H2

ImageGlass version

9.5.0.515 (64-bit)

ImageGlass release

Store

1️⃣ Describe the feature

By default, ImageGlass zooms into the center of the image. For infographics or very tall, script-generated diagrams, this requires a tedious two-step process:

  1. zoom in,
  2. then pan to the actual section you want to see.

Proposed Feature:

Allow zooming relative to the mouse cursor position (e.g., by holding Ctrl while scrolling).
The view should center on the cursor arrow as you zoom in or out, acting like a magnifying glass.
This would make navigating large images much faster and more intuitive.

2️⃣ How to use feature
  1. Ctrl + Scrolling

you would get zooming at the point of the cursor.
release the ctrl, and scrolling would zoom from the center -- like it currently does.

3️⃣ 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

The issue names no files, tests, or entry points. Start by locating ImageGlass's current center-based scroll-zoom handling and the input path for Ctrl plus mouse-wheel events. Done means Ctrl-scrolling zooms around the cursor while ordinary scrolling retains the current center-based behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
computer-graphics, desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.