golden-ratio.el icon indicating copy to clipboard operation
golden-ratio.el copied to clipboard

Strange windows' sizes at wide frames

Open x4lldux opened this issue 9 years ago • 9 comments

There isn't a better way to describe it than by a screenshots: zrzut ekranu z 2014-12-21 17 20 48 zrzut ekranu z 2014-12-21 17 18 56 zrzut ekranu z 2014-12-21 17 20 21

Versions: GNU Emacs 24.4.1 (x86_64-suse-linux-gnu, GTK+ Version 3.14.5) of 2014-11-26 on cloud127 golden-ratio.el: 6173b7c4165b056edbbd948d890dd3498f78138b

Please tell me if you need some more info!

x4lldux avatar Dec 21 '14 16:12 x4lldux

I see this too. GNU Emacs 24.4.1 on OS X.

stugots avatar Jan 22 '15 17:01 stugots

There isn't a better way to describe it than by a screenshots.

Not really, this is probaly the reason why you had no answers yet, please be more clear, explaining what is wrong in each screenshot.

thierryvolpiatto avatar Apr 30 '15 07:04 thierryvolpiatto

Not really, this is probaly the reason why you had no answers yet, please be more clear, explaining what is wrong in each screenshot.

On wide displays, the screen widths are dramatically different between the active windows and the other windows. The other windows are far too narrow.

Use it on a 27" or 32" display yourself.

stugots avatar May 05 '15 17:05 stugots

+1 getting this as well

vmalloc avatar Dec 29 '15 11:12 vmalloc

@vmalloc @stugots setting window-combination-resize to non-nil fixed it for me.

edit: if you will be able to confirm this works for you, then I'll guess, there's no reason to keep this open.

x4lldux avatar Mar 28 '16 22:03 x4lldux

I am reproducing this issue on a wide display as well, reglardless of golden-ratio-adjust-factor's value. You can see the issue on the screen shots below:

  • First picture: bottom-right window is active. Everything is as expected
  • Second picture: top-right window is active. The inactive windows are no longer equally split.

However, @X4lldux's workaround (solution?) fixes this.

Expected behavior

screen shot 2016-04-20 at 11 59 09 2

Unequally split

screen shot 2016-04-20 at 11 58 35 2

angrybacon avatar Apr 25 '16 13:04 angrybacon

Behavior still persists in GNU Emacs 29.1.

ZelphirKaltstahl avatar Jan 22 '24 15:01 ZelphirKaltstahl

As I understand it, the expectation is, that the "active" window gets the bigger portion of the golden ratio split, and the "inactive" windows evenly split the remaining space.

ZelphirKaltstahl avatar Jan 22 '24 15:01 ZelphirKaltstahl

~Can confirm: Setting (setq window-combination-resize t) does fix it.~

Edit: Nevermind, apparently it can still be confused by simply switching around between windows a bit and then one is back to too narrow columns.

ZelphirKaltstahl avatar Jan 22 '24 17:01 ZelphirKaltstahl