d2phap / d2phap/ImageGlass

View position resets when image is resized/rescaled

Open
#979 2 comments 0 reactions 1 assignee View on GitHub

@d2phap is already working on this.

Since Jan 31, 2021.

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

Description

System information:
  • Windows OS version: 10
  • ImageGlass version: 8.0.12.8
To Reproduce

Steps to reproduce the behavior:

  1. Open a (preferably big) image
  2. Set some scale mode (in a preferably small window)
  3. Move elsewhere in the picture
  4. Change scale mode (or even just set again the same one)
Actual behavior:

View position resets back on the default (i.e. top, or center image on viewer)

Expected behavior:

Whatever the current view position should be preserved

Additional context:

EDIT: actually, this seems to happen even when you toggle the toolbar for example.
So maybe it's something a bit deeper than just scaling.

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.