parallaxinc / Propeller-Tool

Propeller Tool software for Windows
MIT License
9 stars 2 forks source link

Override custom window positioning #32

Open PropGit opened 4 years ago

PropGit commented 4 years ago

From @VonSzarvas

Low priority I think, but here's loggin' it !

When you open the Edit/Prefs window, it doesn't pop up centered on the middle of the PropTool IDE window.

In my case, if pops up on a different monitor, and it's a bit of a hunt to find it !

If you have this setting for a reason (maybe once I set the popup place, it keeps going there and some users might like that)... please consider a tick-box in preferences, so that all modals either popup at PropTool-Windows center, or at last known (or some intelligent) position given / dictated by Windows (which I think is what happens now).

This is a common issue with software tools, which leads me to believe many code developers only use 1 monitor, and never notice the madness !!!

PropGit commented 4 years ago

@VonSzarvas This is indeed a feature built-in to Propeller Tool - it remembers many window positions where the user has moved them and restores those positions upon next view if possible. The exceptions include dialog windows such as the compile error dialog window, which I think should always appear "front and center" in an in-your-face kind of way.

I have the opposite problem with other software which lets me move a window to another monitor but upon next view, it pops up right in my way once again.

Perhaps a good compromise is to add a tick-box preference so that all modals pop up on the same monitor that Propeller Tool is on, in a position relative to the top-left of the monitor in which it was previously positioned? That way, if someone intentionally positions it relative to the Propeller Tool window on the current monitor (which actually is relative to the monitor itself), then closed the window, then moved Propeller Tool to a different monitor, their next view of said window is still relative to the Propeller Tool / Monitor they are looking at instead of reset to the center of Propeller Tool.

What do you think?

VonSzarvas commented 4 years ago

That compromise sounds better than the current situation. Yes. much smarer. Perhaps it needs a tick box though, to enable "smart window positioning".

Regardless of that... the popup windows that demand attention, such as the preferences, I think should always be front and centred on the PropTool active window area. I think that's what you agree with, as you described for the "exception" modals category.

PropGit commented 4 years ago

The reason Preferences is not made front and centered all the time is because the items on the Appearance tab affect the editor view immediately (bookmarks, line numbers, block group indicators, and all syntax highlighting elements) so that the user can get Preferences out of the way, play with the settings to immediately see the results, Accept the changes, then open up Preferences and adjust settings further if need be, all without it being in their way each time they open it.

Still, I suppose an argument can be made for making Preference window position session-only.

Perhaps it needs a tick box though, to enable "smart window positioning".

By this, do you mean, positioning based on user moments? Or do you mean some kind of automatic feature (like the same-monitor, relative to user's custom position)? I'm not sure if you're asking for another preference setting other than the one we were discussing.

VonSzarvas commented 4 years ago

I mean the concept you suggested, whereby the position is remembered relative to window positions on the current monitor (that PropTool is on),. We are in agreement on that..