d2phap / d2phap/ImageGlass

The Crop image function has a series of issues.

Open
#2,226 1 comment 1 reaction 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

Windows OS version

Windows 11 24H2

ImageGlass version

Version: 9.3.2.520 (64-bit)

ImageGlass release

Classic

1️⃣ Steps to reproduce
  1. Navigate to Crop image, hold down the left mouse button to start selecting an area, and move the mouse at a speed that is not too slow in order to adjust the size of the selected area.
  2. Hold down the left mouse button on the selection area and move the mouse at a speed that is not too slow in order to adjust the position of the selection.
  3. Hold down the left mouse button on the selection area to move its position, and then use the pan or zoom operations.
  4. Use Save as.
  5. Use any method to make the window full screen in window mode.
  6. Use the Save as option to save the image as a new file, rather than overwriting the original one.
2️⃣ Actual behavior
  1. The selected area does not follow the mouse movement properly, resulting in delays or lagging.
  2. The same as the previous one.
  3. The selection area does not adjust its position under panning or zooming to maintain a constant relative position relative to the mouse.
  4. The default file name for the new file will be exactly the same as the original file, which means that the file name needs to be changed every time it is saved.
  5. The position of the pop-up window will remain unchanged, but when the system is in window mode, the pop-up window will maintain a fixed relative position relative to the top-left corner of the main window.
  6. After saving, the application will switch to the previous image in the list. If the size of the new image is large enough to accommodate the original selection range, the selection will not be canceled; however, under normal circumstances, switching images will cancel the selection.
3️⃣ Expected behavior
  1. The selection area should follow the mouse movements smoothly, without any delays or lag.
  2. The same as the previous one.
  3. The selection area should maintain its relative position with respect to the mouse.
  4. The default file name for the Save as option should be different from the original file name.
  5. The logic for the location of pop-up windows should remain consistent.
  6. The application should not automatically switch to the previous image; the logic for selecting images should remain consistent when switching between them.
4️⃣ Screenshots / Video / Sample image file

https://github.com/user-attachments/assets/8aa19336-25d9-49b1-8c0f-d6ac3ccf89a7

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

Begin by reproducing the six crop, pan/zoom, Save as, fullscreen, and image-switching scenarios on Windows 11 with ImageGlass 9.3.2.520, using the linked video as additional context. Done means each listed expected behavior is verified, including smooth selection movement, consistent popup positioning, a distinct Save as filename, and consistent image-selection state.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.