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

Saving location? #57

Open
oryxcallotis opened this issue May 18, 2020 · 8 comments
Open

Saving location? #57

oryxcallotis opened this issue May 18, 2020 · 8 comments

Comments

@oryxcallotis
Copy link

This is a great little program, but is it possible to save the location & size for future use?

@andrijac
Copy link
Owner

One issue here, problem is if you are switching monitors, or number of monitors, Ruler will not be visible if it ends up off screen.
We should implement location setting from command line, location should be part of "Copy Ruler Info".

@IsaacMorris1980
Copy link
Contributor

IsaacMorris1980 commented Apr 1, 2023

@andrijac Should the app enumerate which monitor it is on and if the monitor is not there(when relaunched) fall back to the primary monitor(screen) at location on 3rd monitor?

What are you meaning by switching monitors? The above is for a multiple monitor setup

@andrijac
Copy link
Owner

andrijac commented Apr 1, 2023

@IsaacMorris1980 switching monitors example: if you using laptop with docking station that is connected to 2 other monitors. There will be difference on and off docking station.

We can implement this behavior but it should be optional. Also, I would separate option to save location and size.

Location restore needs to check if it's visible on screen and size restore needs to check if it fits the screen. If not, fallback to defaults.

@IsaacMorris1980
Copy link
Contributor

Is it ok if i try this one ?

@IsaacMorris1980
Copy link
Contributor

@andrijac on my branch Saving Locaton i think i have this implemented(non-optional) . Now have to make it optional, but i dont have the multiple monitors to test that part with.

@andrijac
Copy link
Owner

andrijac commented Apr 2, 2023

Before Form is shown, in debugger, try setting the Location of Form outside your screen, giving it very large number for location.

@IsaacMorris1980
Copy link
Contributor

Will do, still working on making it optional, should have a PR soon

@IsaacMorris1980
Copy link
Contributor

Should have a PR soon not sure why when i only added a few items in pr it is like i am replacing it all. I am also adding screen check though i had it but on new branch i forgot to implement screen check. Sorry would have like to put a PR in today

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

3 participants