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

Outer gap value of 16 makes windows get smaller rather than move #88

Closed
leviport opened this issue Mar 19, 2020 · 4 comments
Closed

Outer gap value of 16 makes windows get smaller rather than move #88

leviport opened this issue Mar 19, 2020 · 4 comments

Comments

@leviport
Copy link
Member

In non-tiling mode, if I set an outer gap value of 16 and inner of 4, hitting Super + Enter and attempting to move the window with only the arrow keys, the window tries to resize very strangely instead of just moving. Hopefully this gif shows it happening
output

@leviport
Copy link
Member Author

Some more info: I can get the same thing to happen with an outer gap size of 32, but I actually get log output. When the blue window selector is at its smallest size, any arrow press gives me this:

value "-2.000000" of type 'gfloat' is invalid or out of range for property 'width' of type 'gfloat'

I also noticed that setting gaps to 16, then 32, then back to 16 just continues to make the window smaller as if it's applying outer gaps multiple times. This is only in free-float mode though.

@WatchMkr
Copy link
Contributor

WatchMkr commented Mar 19, 2020

I can't think of a good reason for gaps with floating windows. It doesn't go together.

The drop-down menu is only for auto-tiling. If that might be confusing, perhaps we should grey out options unless Tile Windows is active. @maria-komarova thoughts?

@maria-komarova
Copy link

I agree, we might need to grey out the gap. I can't think of the use case for gaps in floating mode either. Shortcuts - yes but not gaps.

@WatchMkr
Copy link
Contributor

Going to close this and track disabling gaps in floating mode here in #104

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants