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

[FancyZones] Add zone layout for large, high-resolution displays #8494

Closed
olegsych opened this issue Dec 8, 2020 · 6 comments
Closed

[FancyZones] Add zone layout for large, high-resolution displays #8494

olegsych opened this issue Dec 8, 2020 · 6 comments
Labels
FancyZones-Layouts Issue for layouts in FancyZones Product-FancyZones Refers to the FancyZones PowerToy Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@olegsych
Copy link
Member

olegsych commented Dec 8, 2020

I'm using a 27" 4K display for software development. To avoid straining my neck and eyes, I need a focus zone in the middle of the screen that I can see without tilting or turning my head. This is the zone I use most of the time for reading documents, working with a command-line shell, etc. I also need the Windows' built-in "left half" and "right half" zones for opening two windows side-by-side for comparison. However, I since prefer using keyboard, I turn on the FancyZones option to "Override Windows Snap shortcut (Win + Arrow) to move between zones", which disables the built-in Windows zones. Because of this, I end up customizing the "Focus" layout as shown below every time I reimage my development machines.

    {
      "uuid": "{750F4B18-EDC6-4D6C-B1B4-02F2D2BCB801}",
      "name": "4K Focus",
      "type": "canvas",
      "info": {
        "ref-width": 2560,
        "ref-height": 1400,
        "zones": [
          {
            "X": 0,
            "Y": 0,
            "width": 1280,
            "height": 1400
          },
          {
            "X": 500,
            "Y": 200,
            "width": 1560,
            "height": 1000
          },
          {
            "X": 1280,
            "Y": 0,
            "width": 1280,
            "height": 1400
          }
        ]
      }
    }

Please consider adding a layout like this to the built-in templates that come with FancyZones.

The "Priority Grid" template doesn't work for me because it forces me to tilt my head and doesn't allow accessing the left-half and right-half zones with Win+Arrow shortcuts overridden. The "Focus" template also doesn't allow accessing the left-half/right-half zones and defines zones in the upper left corner of my 4K display instead of the middle of it.


If you'd like to see this feature implemented, add a 👍 reaction to this post.

@ghost ghost added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Dec 8, 2020
@altimmons
Copy link

If the above works for you, then problem solved right. Your template doesnt sound useful to me (as in me personally given my work flow) and the numbers you give dont correspond to where you think on my monitor. My point is just that its not useful to suggest templates. Though we can use configurabilty corrections.
I compensated for what you talked about (Win snap) by just putting overlapping panes over each other. eg say a single monitorn computer. #1 is the whole screen, #2 is the Right side, #3 is the left side, #4 is the Right upper corner (and so on).

Windows arrow will now toggle through all of these in order, including the right and left halves. it goes 1 -> n zones, then back to one.

@crutkas
Copy link
Member

crutkas commented Dec 8, 2020

Why can't you just customize the layout to suite your need? Click edit selected layout and tweak it to your hearts content. Or do a canvas base layout

From there just copy and store your layout

image

@crutkas crutkas added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something FancyZones-Layouts Issue for layouts in FancyZones and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Dec 8, 2020
@ghost ghost added the Status-No recent activity no activity in the past 5 days when follow up's are needed label Dec 14, 2020
@ghost
Copy link

ghost commented Dec 14, 2020

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

@olegsych
Copy link
Member Author

@crutkas, as I've explained in the issue description, the Priority Grid template doesn't work for me because the center pane is too tall and requires tilting your head up and down to read text on a 27-inch 4K display you have positioned at arm's length.

I can see how this may not seem like a big deal to someone who doesn't have chronic neck pain. Because I do, I need a zone centered both horizontally and vertically. I have been customizing the default Focus template to achieve what I need. I'm asking to add a template like this to the default set included with PowerToys because I think it will be useful to others like me who have additional ergonomic needs. Plus, the default set of templates includes the identical Columns and Grid templates. Why not replace one of them with a template that allows people to do something different?

This is a feature ask, the actual implementation could be different. For instance, if there is a single focus zone in the middle, but the Windows left/right zones continued to work, I'd be happy as well. By the way, I assume that the ref-width and ref-heights are used to scale the width and height values of the zones, so this template could be used on other screen resolutions.

@ghost ghost added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Status-No recent activity no activity in the past 5 days when follow up's are needed labels Dec 17, 2020
@enricogior
Copy link
Contributor

@olegsych

the default set of templates includes the identical Columns and Grid templates

They are very different, try increasing the number of zone to 4 and it will be clear why they are different.

@enricogior enricogior added Product-FancyZones Refers to the FancyZones PowerToy and removed Needs-Team-Response An issue author responded so the team needs to follow up Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jan 10, 2021
@enricogior enricogior changed the title Add zone layout for large, high-resolution displays [FancyZones] Add zone layout for large, high-resolution displays Jan 10, 2021
@enricogior enricogior added the Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. label Feb 6, 2021
@enricogior
Copy link
Contributor

Closing this issue in favor of #7875 since it's more useful to provide an easy way to center zones in the editor, rather then providing templates that may only fit a limited number of users and that lose their characteristic of being "centered" as soon as you need to increase/decrease their size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FancyZones-Layouts Issue for layouts in FancyZones Product-FancyZones Refers to the FancyZones PowerToy Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

4 participants