Skip to content

Add image-sized window restoration feature - #220

Open
SKProCH wants to merge 1 commit into
riyasy:mainfrom
SKProCH:sizeWindowToImageOnRestore
Open

Add image-sized window restoration feature#220
SKProCH wants to merge 1 commit into
riyasy:mainfrom
SKProCH:sizeWindowToImageOnRestore

Conversation

@SKProCH

@SKProCH SKProCH commented Jul 17, 2026

Copy link
Copy Markdown

Summary

Make behavior identical with Picasa - when the user clicks outside the image:

  • Resize the window to photo's size
  • Move the window to the same position as photo was (in absolute screen coordinates), so photo visually stay in place

Motivation described in #218

Type of change

  • Bug fix
  • New feature
  • Localization (new language or translation fix)
  • Documentation
  • Other

Related issue

#128

How was this tested?

  • Built and ran locally
  • Tested with real image files

Localization (if applicable)

  • name attributes are unchanged and match en-US
  • Files saved as UTF-8

Checklist

  • I have reviewed and understand every line of this change.
  • This change is focused and avoids unrelated or low-value edits.

Animation.mp4

AI was used to write Win32 related stuff.

@SKProCH

SKProCH commented Jul 17, 2026

Copy link
Copy Markdown
Author

Probably there should be also 2 more features:

  • Double click on the image will open fullscreen back
  • Allow to size window in the way, when the controls and previews of other files will be below the image

But keeping this PR focused

@2590812378

Copy link
Copy Markdown

这是非常好的功能,期待已久

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants