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

Changing screen resolution (like replacing with a new monitor) is causing SM to be hidden from view #15

Open
damorinCan opened this issue Mar 21, 2023 · 2 comments

Comments

@damorinCan
Copy link

SourceMonitor v3.5.16.62

I replaced a dying old monitor with a new one with a higher resolution and after restarting SourceMonitor, it was never shown on the but it was running as seen in the task manager.

The problem is in the registry HKEY_CURRENT_USER/SOFTWARE/Campwood/Setting/FramePosition, the value was -1500,50,1286,737 and this is causing the window to be outside the current view.

Replacing the '-1500' with 0 fixed the problem.

@ThirtySomething
Copy link
Member

Woha, interesting. I've debugged in the original code and figured out that this registry should be written when closing the application and the application is not iconized. The value should be four integers, seperated by comma.

The value is read on startup of the program and the frame is set to the previous used window size/location.

But... After debugging I was not able to find the registry key. It seems that something will go wrong while writing to the registry.

If you rename the FramePosition key in the settings - do you find a new entry after closing the program?

@damorinCan
Copy link
Author

I renamed it to 'OldFramePosition', started SM and when closing it was re-created correctly.

I will try a to start SM and then disconnect the monitor and closed SM from the taskbar.

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

No branches or pull requests

2 participants