Closed apfelkuchen6 closed 1 year ago
Yeah I'm actually working on this one, but it started as an experiment and is not yet ready to be merged.
I second this and really really would love for this to happen. I've never used as nice a snapping tool as FancyZones and your extension gets it 98% there :) Can't wait to see this live!
Hi @meronz, do you think you'll continue to work on this feature within this year? I'm really looking forward to use this Fancyzone template from David Zhang's video. I tried your experiment but I couldn't get it to run. Would you try this and see whether it works as shown in the video?
I don't know. I'm currently really busy and I don't really have time to develop new features. I could still manage to do code reviews and help people implement the features they need, so if you want to try feel free to ask!
This is a very early version with "Shift to add all hovered zones"
Hold CTRL to snap windows
, otherwise: boomShow tabs
, otherwise: boom (or at least misbehaviour)Hi @auipga, thanks for the code you submitted. Unfortunately, I cannot accept it due to various reasons:
The extension,js
file is not the "real source code" of the extension, but the product of a Typescript-to-javascript "translation". The edits you made should be ported to the source code in this repository, and as previously stated I really don't have time for this. One thing I could do is to rebase the adjacent-zones-snap branch onto the main branch (which includes fixes and new features such as CTRL to snap). After that, you could try working on that branch and make it work!
I cannot accept it
I know that.
The edits you made should be ported to the source code in this repository
I'll try. After the rebase.
Thank you.
I have multiple layouts that are refinements of each other (meaning that every zone of one layout is a union of zones of the other layout). I would like to replace these layouts with the finer one of them and have a way to strech windows over multiple zones.
I think the following userinterface makes sense: While previewing the snap (i.e. when the user presses Super, Shift and clicks the mouse) 'select' the zone the cursor currently is over when another key (let's say Shift) is pressed (or held). Color the selected zone in another color. When the cursor is moved to another zone, the selected zone remains highlighted. Then other zones can be selected the same way. When the user releases the mouse button, the window is resized to the smallest rectangle covering all the selected zones (maybe also draw the outline of this rectangle in the preview).