-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[FZ Editor] allow manual coordinates (absolute and relative) #463
Comments
Agreed. Note: Obviously, the numbers in question ARE actually stored somewhere already - either in a settings file or in the registry. So, maybe we can edit them directly. I spent a while looking but couldn't figure out where - can anyone help out here? |
When you apply a layout from the editor to the engine, the editor calls PersistZoneSet. It passes a bunch of data back including an array of ints which represent the zones. PersistZoneSet creates a new ZoneSet from the data and then calls ZoneSet::Save. That basically writes a ZoneSetPersistedData binary blob to the registry at HKCU\Software\SuperFancyZones\MonitorWidth_MonitorHeight. MonitorWidth_MonitorHeight being the resolution of the monitor you are configuring. |
Huh! Well, I found the entry in question - but my Hex-fu being what is(n't), I think I'll wait for that json! |
This would be really nice. Perhaps consider displaying the width x height, and potentially x,y coordinates of one of it's corners when editing customs zones would go a long way to improving this. Editing registry data should likely be a last resort. |
It is hard to get the zone to the correct position and correct size with the mouse. It would be great if we get a edit button left of the close button. There i want to put in the position (x pos, y pos) and the size (width, height) - like in the program WindowManager. Also it would be great if there is a grab/pick button, where i can choose a existing window to get the coordinates from it. And also that i can setup a shortcut for this zone (like Ctrl+Alt+F1) to send the active window directly to this zone without mouse And it would be also great, if i can see and setup there the position nr. of the zone (the dots you see when you drag a window with shift). |
In the meantime for those, who are looking for the config file to edit the custom zone dimensions manually, here it is: |
As mentioned in this thread: I don't see the zones-settings.json file in that path (but have the other fancy zone settings there). Any ideas, is it possible that if one got to this point from older versions, that it still relies on the reg keys to store such information or something like that, and hence hasn't created the zone-settings.json file? |
In the latest versions |
Any (rough) e.t.a. perhaps? |
Being able to type in the dimensions would make things alot easier. But please make it accessible via the GUI. |
Dear Sirs, |
I'm in favour of making both entry by pixels and entry by percentage possible. |
I realized there is another thing we humans use: fractions. Usually that would be converted to percentage, but - as the comment above shows - that is quickly difficult in a base-10 system. One-third can be written as 1/3 (or 4/12 for those who like dozenal) without rounding problems. |
A fraction would work but in essence "1/3" is "1 divided by 3" which is equal to 0.33333333333... |
Strictly speaking that's contradictory. Display resolutions are well chosen; most can be devided by 2,3,4,5,6,8,9,10,12,15... However, here you still mention percentages and it's just that format that quickly leads to issues. That's why I suggested fractions. |
Summary of the new feature/enhancement
Sizing of custom zones in editor by dragging mouse is a little bit coarse (hit and miss) in terms of getting close to edges of screen symmetrically and allowing window edges of multiple zones to line up neatly. Some possible solutions are suggested for consideration.
Proposed technical implementation details (optional)
Perhaps have an option for the editor to snap to a grid of user specified n pixels.
Perhaps have optional ability to input window dimension and position directly in both absolute terms (n x n pixels) and in terms of percentage of screen width and height.
The text was updated successfully, but these errors were encountered: