Skip to content

Mouse resize doesn't work on floating window containing tiled layout #8658

Open
@elliothatch

Description

@elliothatch
  • Sway Version:
    sway version 1.10.1

  • Description:
    When a floating window is put into a tiled mode, it no longer is possible to resize the floating window by click-dragging on the borders of the window.

  • Reproduction steps:

  1. Create a window: exec $term ($mod+Return)
  2. Make the window floating: floating toggle ($mod+Shift+space)
  3. Split the window: splitv ($mod+v)

After splitting, you can no longer resize the floating window by clicking and dragging the window borders with the mouse. The "resize" mouse cursor icon does not appear when hovering the mouse over the floating window border.

  • Expected behavior
    Resizing the outermost floating container with by clicking and dragging the mouse on the window borders should still work.

Notably, using the floating_modifier mouse binding does still work on the floating window, allowing you to resize the entire floating window by holding the modifier key and right-click dragging. If you open multiple container splits inside the floating window, the floating modifier always resizes the outermost floating window, not the inner container splits, which feels like the correct behavior to me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions