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

Option to optimize screen space #10

Closed
kupiqu opened this issue Aug 1, 2017 · 12 comments
Closed

Option to optimize screen space #10

kupiqu opened this issue Aug 1, 2017 · 12 comments

Comments

@kupiqu
Copy link
Contributor

kupiqu commented Aug 1, 2017

It would imply moving small windows around, like for instance putting them in quarters instead of half screen, so other non-small windows can benefit of the extra space

Perhaps even adding small windows together within a quarter if they would fit the available space.

@ghost
Copy link

ghost commented Aug 2, 2017

Have you attempted using the "Small Windows" section of the config? Adding the windows where they are "Small" may allow it to auto move to a quarter? The issue being with this is that all 4 quarters have to be used , so if you open a half screen application then a small app, it will default to the half size until a third window is open.

Do you perhaps mean having it that, by default, if a small window is opened as the third app, it moves to a quarter instead of opening as the Half App by default?

@kupiqu
Copy link
Contributor Author

kupiqu commented Aug 2, 2017

Do you perhaps mean having it that, by default, if a small window is opened as the third app, it moves to a quarter instead of opening as the Half App by default?

Yes, this comes from discussion within another issue (see below). We just moved it here so we can track it better

#5 (comment)

@Jazqa
Copy link
Owner

Jazqa commented Aug 2, 2017

Been actively working on this. The current implementation is still a little rough, but I'm slowly starting to figure out the way I want to approach the issue. I've barely touched moving and resizing small clients yet, so it's a work-in-progress. It'll probably take a few days.

On other news, I added the option to tile small clients according to the screen or the tiles.

@kupiqu
Copy link
Contributor Author

kupiqu commented Aug 2, 2017

Excellent, as usual :)

@kupiqu
Copy link
Contributor Author

kupiqu commented Aug 2, 2017

Also, the window of the script settings could be improved a bit for (I guess) screens of high resolution. Could you please take a look to the screenshot below? It's a really minor thing though...

image

Edit: for the case I wasn't clear enough, I meant about text boxes for "Gap size" and "Margins".

@Jazqa
Copy link
Owner

Jazqa commented Aug 3, 2017

Huge commit today. Might have screwed everything up, who knows. My brain feels like pudding. Anyways, I created a new configuration UI and added an option for optimizing screen space (called Autosize in the options menu). Enabling "Autosize" makes the script automatically size windows according to small programs. It might feel a little confusing, feedback appreciated.

@kupiqu
Copy link
Contributor Author

kupiqu commented Aug 4, 2017

Testing it. I'll let you know if I find glitches, etc. :)

@kupiqu
Copy link
Contributor Author

kupiqu commented Aug 4, 2017

Would it be difficult to set small windows within the same quarter if they would fit? Please see the screenshot below

screenshot_20170803_231339

@Jazqa
Copy link
Owner

Jazqa commented Aug 4, 2017

Depending on the approach, it can be extremely difficult but it's something I definitely want to do when I have the time (might take a while).

Two possible approaches:

  1. Split the tile into two tiles. Doing this, the script stops being a "quarter" tiling script and turns into an actual tiling script (as I can allow the user split regular tiles if they so wish).

  2. Have the fourth tile detect space near the third one and slide it there, moving the third one to the edge of the tile and making space for the first tile to expand down. Having the tiles move from the edges will mess with the calculations, so I'll have to see how feasible this approach is.

Anyways, I won't be able to implement a change this big for a week or two, unless I figure a rock solid way to do it, but at some point, I definitely will.

@kupiqu
Copy link
Contributor Author

kupiqu commented Aug 4, 2017

Sounds good, thank you!

I for one like quarter tiling a lot for windows in general, but I also like special tiling for small clients. So ideally, for me, a virtual desktop shouldn't be split in more than 4 quarters, yet small clients would be able to occupy the same quarters, according to their dimensions. Technically, this may be very hard to achieve though :/

Thanks a lot for working on this.

@kupiqu
Copy link
Contributor Author

kupiqu commented Apr 16, 2020

I think this is out of scope in the new implementation and I'm totally fine closing the issue if you consider it proper.

@kupiqu
Copy link
Contributor Author

kupiqu commented Apr 20, 2020

I'll just close this :)

@kupiqu kupiqu closed this as completed Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Milestone
No milestone
Development

No branches or pull requests

2 participants