Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IG Restores to "wrong" screen after save when Maximized #706

Closed
fire-eggs opened this issue Feb 23, 2020 · 5 comments
Closed

IG Restores to "wrong" screen after save when Maximized #706

fire-eggs opened this issue Feb 23, 2020 · 5 comments

Comments

@fire-eggs
Copy link
Collaborator

Originally mentioned on Google group.

System information:

  • Windows OS version: Windows 7; Windows 10
  • ImageGlass version: 7.1

To Reproduce

Steps to reproduce the behavior:

  1. Run IG. Maximize it on another screen, not the "primary" screen.
  2. Exit IG.
  3. Run IG.

Actual behavior:

IG will appear on the "primary" screen.

Expected behavior:

IG should appear on the other, non-primary screen.

Screenshots:

N/A

Additional context:

Workaround: Edit igconfig.xml after step 2 above. Change the value of
"FrmMainWindowState" from "Maximized" to "Normal".

IG will then appear on the desired monitor at step 3 above.

@fire-eggs
Copy link
Collaborator Author

The upshot of this appears to be that we cannot restore to a maximized state. Despite multiple posts providing various solutions, IG refuses to restore to the desired monitor when the WindowState is set to Maximized.

We can save the IG position and restore it so that IG appears in the desired monitor and size, but not in an actual maximized state.

fire-eggs added a commit that referenced this issue Feb 29, 2020
…nitor that is later removed, IG will start somewhere off-screen.
@fire-eggs
Copy link
Collaborator Author

Fixed, plus solution for when IG attempts to restore to a monitor which has been removed.

d2phap added a commit that referenced this issue Mar 14, 2020
@d2phap
Copy link
Owner

d2phap commented Mar 14, 2020

Reverted the commit 180a874

It causes another bug: ImageGlass does not restore the correct state and size of window in Maximized mode. I will think of another solution.

@d2phap d2phap removed the 👌 ready label Mar 14, 2020
@d2phap d2phap added this to the Issues 7.6.4.30 milestone Jun 19, 2020
@d2phap d2phap added this to Potential tasks in 8.0 via automation Jul 4, 2020
@neilalphazeta
Copy link

neilalphazeta commented Aug 12, 2020

I'm also affected by this issue. Greatly looking to the update that fixes it.

@d2phap d2phap moved this from Potential tasks to Tasks in 8.0 Oct 11, 2020
@d2phap d2phap moved this from Tasks to In progress in 8.0 Oct 25, 2020
@d2phap d2phap moved this from In progress to Reviewing in 8.0 Oct 25, 2020
@d2phap
Copy link
Owner

d2phap commented Oct 25, 2020

This bug is fixed in the latest build of IG Moon:
https://imageglass.org/moon

@d2phap d2phap closed this as completed Oct 29, 2020
8.0 automation moved this from Reviewing to Done Oct 29, 2020
@StevenLOL StevenLOL mentioned this issue Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
8.0
  
Done
Development

No branches or pull requests

3 participants