unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Alain Knaff <Alain.Knaff@aev.etat.lu>
Cc: 31626@debbugs.gnu.org
Subject: bug#31626: Emacs window resizes when entering dired mode
Date: Mon, 28 May 2018 17:54:22 +0200	[thread overview]
Message-ID: <87y3g3hj2p.fsf@gmail.com> (raw)
In-Reply-To: <5955037c-a450-3920-2a55-70c21082d857@aev.etat.lu> (Alain Knaff's message of "Mon, 28 May 2018 14:13:13 +0000")

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





  reply	other threads:[~2018-05-28 15:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-28 13:02 bug#31626: Emacs window resizes when entering dired mode Alain Knaff
2018-05-28 14:13 ` Alain Knaff
2018-05-28 15:54   ` Robert Pluim [this message]
2018-05-28 16:00     ` Alain Knaff
2018-05-28 16:11       ` Robert Pluim
2018-05-28 16:19         ` Alain Knaff
2018-05-28 16:39           ` Robert Pluim
2018-05-28 16:59             ` Alain Knaff
2018-05-28 17:07               ` Alain Knaff
2018-05-28 21:24                 ` David Engster
2018-05-28 17:16               ` Robert Pluim
2018-05-28 15:25 ` Eli Zaretskii
2018-05-28 15:32   ` Alain Knaff
2018-05-28 15:49     ` Alain Knaff
2018-05-28 20:48 ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y3g3hj2p.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=31626@debbugs.gnu.org \
    --cc=Alain.Knaff@aev.etat.lu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).