ubuntu / ubuntu/Tiling-Assistant

Adopt tiled layouts

Open
#273 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
1.3k
Forks
78
PR merge metrics
No merged PRs in 30d

Description

I would like that, if I have a layout that is already tiled, I can have tiling assistant adopt those windows as being tiled and edit them.

Briefly describe how the feature should work

Given two or more windows that are (approximately) touching and layed out looking as if they are tiled, I'd like to press a button and have tiling assystant load them into different tiled columns and rows so that they could be resized together.

Proposed algorithm.

  1. select the top window - adopt it it as tiled
  2. (maybe - I think this is a good idea) if there are small gaps at the edges, resize to eliminate
  3. each of the spaces around the top window becomes a column or a row
  4. look at the next top window, if it matches into one of the spaces around the previous window then adopt it as tiled there
  5. repeat 2-5 for each remaining window until one is found which doesn't fit

There could be two triggers for this. a) entering tile editing mode could automatically do tile adoption as the mode is entered b)

Explain why this feature should be added

This would be especially useful for creating more complex tiling layouts where there are other tiling extensions which can create, but not properly manage, those layouts. E.g. there's another tiling extension Tactile, which provides hotkeys for rearrainging windows into tiled arrangements.

By allowing creation of tiled layouts with other extensions, code simplicity can be maintained in this extension.

Future improvements could include selecting which windows become tiled. which would replace and eliminate the "Can't enter 'Tile Editing Mode' if no tiled window is visible' message. That could improve UX by allowing users who haven't yet worked out the key combinations to come into tile editing mode where they could be made visible.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names Tiling Assistant's Tile Editing Mode and an adoption algorithm, but no source files or tests. Start by locating the Tile Editing Mode entry point and existing tiled-window layout handling, then compare layouts produced by Tactile. Done means approximately touching windows can be adopted into editable rows and columns and resized together.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, linux
Domain
desktop, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.