GNU bug report logs - #31626
Emacs window resizes when entering dired mode

Previous Next

Package: emacs;

Reported by: Alain Knaff <Alain.Knaff <at> aev.etat.lu>

Date: Mon, 28 May 2018 15:15:02 UTC

Severity: normal

Merged with 15700, 18270, 22000, 22898, 25313

Found in versions 24.3, 24.5, 25.0.50

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: Alain Knaff <Alain.Knaff <at> aev.etat.lu>
Cc: 31626 <at> debbugs.gnu.org
Subject: bug#31626: Emacs window resizes when entering dired mode
Date: Mon, 28 May 2018 17:54:22 +0200
Alain Knaff <Alain.Knaff <at> aev.etat.lu> writes:

> On 2018-05-28 15:02, Alain Knaff wrote:
>> Hi,
>> 
>> Whenever I enter dired mode, the emacs window resizes itself. This is
>> undesirable, as windows that jump around interrupt the flow of work.
>> 
>> It happens with Gnu Emacs 25.2.2 as included on Ubuntu 18.04
>> 
>> It did not happen with the version included with Ubuntu 16.04
>> 
>> Thanks for fixing this,>
>
> I noticed that when this happens, the following is printed to stdout:
> gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed
>
> The same is also printed when manually making the window narrower again,
> or changing its width in any way while it is narrower than the width
> dired wants.

My crystal ball says youʼre using a HiDpi display, and you have menus
enabled. Setting the environment variable GDK_SCALE to 1 before
running emacs might help.

There have been some scaling related fixes in the just-released
emacs-26, would it be possible for you to try that version?

Regards

Robert




This bug report was last modified 5 years and 261 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.