contrib darcs patch: BinarySpacePartition update

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

contrib darcs patch: BinarySpacePartition update

Anton Pirogov
Hi,

this patch makes the actions in BSP layout more consistent and usable, making Equalize and Balance work locally and also allowing to open new windows at arbitrary positions:

Equalize/Balance now only rearrange the currently focused node instead of the whole layout (e.g. you want to keep some windows like they are but only want to rearrange a deeply nested branch).

New windows now are inserted into the currently selected node, so e.g focussing the root (everything) and opening the window will make the new window take half of the screen (not possible  or very cumbersome before).

Also a new feature is added - now it is possible to select a window or group of windows (first FocusParent, then SelectNode) and "cut&paste" the selected window(s) into some other location in the layout (again, FocusParent to the destination, then MoveNode). This will split the node focused and put the selected window(s) there.

The reason for this was that more elaborate rearrangements that I sometimes wished for were simply not possible just with regular window swapping.

Best regards,
Anton

_______________________________________________
xmonad mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad

BSPupdate.dpatch (92K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: contrib darcs patch: BinarySpacePartition update

Daniel Wagner-4
Hi Anton --

Thanks for the patch. It looks like it builds, and without knowing anything about BSP the changes sound positive to me.

Nevertheless, can you comment briefly on backwards-compatibility? How likely is it that there are people out there that use BSP and like the current behavior, and will find xmonad behaving differently as a result of this patch?

Can we support the old behavior and make the new behavior "opt-in" by folks that want it?

~d

On Thu, May 7, 2015 at 2:31 AM, Anton Pirogov <[hidden email]> wrote:
Hi,

this patch makes the actions in BSP layout more consistent and usable, making Equalize and Balance work locally and also allowing to open new windows at arbitrary positions:

Equalize/Balance now only rearrange the currently focused node instead of the whole layout (e.g. you want to keep some windows like they are but only want to rearrange a deeply nested branch).

New windows now are inserted into the currently selected node, so e.g focussing the root (everything) and opening the window will make the new window take half of the screen (not possible  or very cumbersome before).

Also a new feature is added - now it is possible to select a window or group of windows (first FocusParent, then SelectNode) and "cut&paste" the selected window(s) into some other location in the layout (again, FocusParent to the destination, then MoveNode). This will split the node focused and put the selected window(s) there.

The reason for this was that more elaborate rearrangements that I sometimes wished for were simply not possible just with regular window swapping.

Best regards,
Anton

_______________________________________________
xmonad mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad



_______________________________________________
xmonad mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
Reply | Threaded
Open this post in threaded view
|

Fwd: contrib darcs patch: BinarySpacePartition update

Anton Pirogov

Hi Daniel,

As far as I am aware, BSP is only in contrib-darcs for 6 months. My first patch to BSP is 2 months old and introduced far more invasive changes than this one, and the little feedback I got was good, but since it is so fresh I dont think that there are many users out there who used it in it's "new form" already.

In comparison, this is a smaller update which I think is important to make everything more consistent with the whole node-focus semantics that I introduced and addresses some small annoyances that became apparent after using the layout extensively for some time.

So no, it is not backwards-compatible, but I am quite sure that it is not a problem - at least as long as there was no new official xmonad release that "freezes" the current behaviour.

Best regards,
Anton


2015-05-18 2:26 GMT+02:00 Daniel Wagner <[hidden email]>:
Hi Anton --

Thanks for the patch. It looks like it builds, and without knowing anything about BSP the changes sound positive to me.

Nevertheless, can you comment briefly on backwards-compatibility? How likely is it that there are people out there that use BSP and like the current behavior, and will find xmonad behaving differently as a result of this patch?

Can we support the old behavior and make the new behavior "opt-in" by folks that want it?

~d

On Thu, May 7, 2015 at 2:31 AM, Anton Pirogov <[hidden email]> wrote:
Hi,

this patch makes the actions in BSP layout more consistent and usable, making Equalize and Balance work locally and also allowing to open new windows at arbitrary positions:

Equalize/Balance now only rearrange the currently focused node instead of the whole layout (e.g. you want to keep some windows like they are but only want to rearrange a deeply nested branch).

New windows now are inserted into the currently selected node, so e.g focussing the root (everything) and opening the window will make the new window take half of the screen (not possible  or very cumbersome before).

Also a new feature is added - now it is possible to select a window or group of windows (first FocusParent, then SelectNode) and "cut&paste" the selected window(s) into some other location in the layout (again, FocusParent to the destination, then MoveNode). This will split the node focused and put the selected window(s) there.

The reason for this was that more elaborate rearrangements that I sometimes wished for were simply not possible just with regular window swapping.

Best regards,
Anton

_______________________________________________
xmonad mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad



_______________________________________________
xmonad mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad




_______________________________________________
xmonad mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
Reply | Threaded
Open this post in threaded view
|

Re: contrib darcs patch: BinarySpacePartition update

Brent Yorgey
In reply to this post by Anton Pirogov
I was just going to apply this patch but for the record, it looks like it has already been applied.

-Brent

On Thu, May 7, 2015 at 5:31 AM Anton Pirogov <[hidden email]> wrote:
Hi,

this patch makes the actions in BSP layout more consistent and usable, making Equalize and Balance work locally and also allowing to open new windows at arbitrary positions:

Equalize/Balance now only rearrange the currently focused node instead of the whole layout (e.g. you want to keep some windows like they are but only want to rearrange a deeply nested branch).

New windows now are inserted into the currently selected node, so e.g focussing the root (everything) and opening the window will make the new window take half of the screen (not possible  or very cumbersome before).

Also a new feature is added - now it is possible to select a window or group of windows (first FocusParent, then SelectNode) and "cut&paste" the selected window(s) into some other location in the layout (again, FocusParent to the destination, then MoveNode). This will split the node focused and put the selected window(s) there.

The reason for this was that more elaborate rearrangements that I sometimes wished for were simply not possible just with regular window swapping.

Best regards,
Anton
_______________________________________________
xmonad mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad

_______________________________________________
xmonad mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
Reply | Threaded
Open this post in threaded view
|

Re: contrib darcs patch: BinarySpacePartition update

Daniel Wagner-4
Yes, I applied it and sent a message to the list, but it seems mail.haskell.org is having some trouble -- it (not mailman) rejected my message, and according to infrastructure@, several others are having the same problem.

~d

On Thu, May 28, 2015 at 2:39 PM, Brent Yorgey <[hidden email]> wrote:
I was just going to apply this patch but for the record, it looks like it has already been applied.

-Brent

On Thu, May 7, 2015 at 5:31 AM Anton Pirogov <[hidden email]> wrote:
Hi,

this patch makes the actions in BSP layout more consistent and usable, making Equalize and Balance work locally and also allowing to open new windows at arbitrary positions:

Equalize/Balance now only rearrange the currently focused node instead of the whole layout (e.g. you want to keep some windows like they are but only want to rearrange a deeply nested branch).

New windows now are inserted into the currently selected node, so e.g focussing the root (everything) and opening the window will make the new window take half of the screen (not possible  or very cumbersome before).

Also a new feature is added - now it is possible to select a window or group of windows (first FocusParent, then SelectNode) and "cut&paste" the selected window(s) into some other location in the layout (again, FocusParent to the destination, then MoveNode). This will split the node focused and put the selected window(s) there.

The reason for this was that more elaborate rearrangements that I sometimes wished for were simply not possible just with regular window swapping.

Best regards,
Anton
_______________________________________________
xmonad mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad

_______________________________________________
xmonad mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad



_______________________________________________
xmonad mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad