roman / golden-ratio.el

Automatic resizing of Emacs windows to the golden ratio
MIT License
590 stars 38 forks source link

Strange windows' sizes at wide frames #40

Open x4lldux opened 9 years ago

x4lldux commented 9 years ago

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!

stugots commented 9 years ago

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

thierryvolpiatto commented 9 years ago

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.

stugots commented 9 years ago

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.

vmalloc commented 8 years ago

+1 getting this as well

x4lldux commented 8 years ago

@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.

angrybacon commented 8 years ago

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:

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

Expected behavior ![screen shot 2016-04-20 at 11 59 09 2](https://cloud.githubusercontent.com/assets/5608624/14785775/ade7afda-0afc-11e6-83bd-a1b1b3faea27.png)
Unequally split ![screen shot 2016-04-20 at 11 58 35 2](https://cloud.githubusercontent.com/assets/5608624/14785780/b10d9210-0afc-11e6-829e-b554dda6490e.png)
ZelphirKaltstahl commented 7 months ago

Behavior still persists in GNU Emacs 29.1.

ZelphirKaltstahl commented 7 months ago

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 commented 7 months ago

~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.