From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#31626: Emacs window resizes when entering dired mode Date: Mon, 28 May 2018 17:54:22 +0200 Message-ID: <87y3g3hj2p.fsf@gmail.com> References: <18667cbc-0c96-c45c-a1f5-5ad67cb9b468@aev.etat.lu> <5955037c-a450-3920-2a55-70c21082d857@aev.etat.lu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1527522791 18940 195.159.176.226 (28 May 2018 15:53:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 28 May 2018 15:53:11 +0000 (UTC) Cc: 31626@debbugs.gnu.org To: Alain Knaff Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 28 17:53:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNKSJ-0004q9-CJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 May 2018 17:53:07 +0200 Original-Received: from localhost ([::1]:56889 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNKUQ-0004H0-2z for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 May 2018 11:55:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNKUF-0004Dj-SC for bug-gnu-emacs@gnu.org; Mon, 28 May 2018 11:55:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNKUB-00022e-1E for bug-gnu-emacs@gnu.org; Mon, 28 May 2018 11:55:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44725) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fNKUA-00022H-UV for bug-gnu-emacs@gnu.org; Mon, 28 May 2018 11:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fNKUA-0002jR-Jc for bug-gnu-emacs@gnu.org; Mon, 28 May 2018 11:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 May 2018 15:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31626 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31626-submit@debbugs.gnu.org id=B31626.152752287210463 (code B ref 31626); Mon, 28 May 2018 15:55:02 +0000 Original-Received: (at 31626) by debbugs.gnu.org; 28 May 2018 15:54:32 +0000 Original-Received: from localhost ([127.0.0.1]:52622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNKTg-0002ih-8y for submit@debbugs.gnu.org; Mon, 28 May 2018 11:54:32 -0400 Original-Received: from mail-wr0-f174.google.com ([209.85.128.174]:42926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNKTe-0002iW-Sw for 31626@debbugs.gnu.org; Mon, 28 May 2018 11:54:31 -0400 Original-Received: by mail-wr0-f174.google.com with SMTP id w10-v6so20997704wrk.9 for <31626@debbugs.gnu.org>; Mon, 28 May 2018 08:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=vJ4IlEgMZFXMXAmEtdjgrwtZerN+ZOP5yt3xApFdk4M=; b=b82Tymd1nT6E+4bqNuRiZE1oZKRR6b46SlcRUUJ68CV+1UR+l12UtnM0k/MYnsDFdJ EhaoPwD06BToqPYJv5SnVjg3qjimMrdXhZgHG+9uEA/xOTMTJvnZZ3sRaxVCIrlkG/xI ar+QNnyulJKkbVDQBlpEQoXxwZdL5F1kZ1cBIT0H43UgSnEzTzXGYFIQdwqqwZ9TVBFM LN/fA0QDNM7rZKvkCr2liuSRhQluxgfFmpR309YhUmULHPvL1pk8ZjMO4KJ7oKkhU6wv cYu7DnjqzK7JJyTgiufM8Ee2i4E5tRE0IWHCR3m/pQr38jdHyJSlSi7fx1XvDO2l/EaU nMIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=vJ4IlEgMZFXMXAmEtdjgrwtZerN+ZOP5yt3xApFdk4M=; b=PqtLKKKqIa2UrP45TZZSqHQk7lbdKTgtSMlH7ErUy0zf2mea20BYWVDJCc9HV3qg/k z2IEvwsij10sid8A2KxdEEAsbD7eVfskoihhLA2Z3BMhdw7XMBfQuGUW62lu0B1Gqgkg IB1vjwd7BEhKFzgSA+uobbVGyw14QUfLHslx1bE3WmDt95P0nJxVvz8b70/Rs5/YXzrs hTAYRnjmLpgBJBsvfdOOJznh/uGnJ3ebpUE+tfZnF5TrSYEJ1sRXiZIQ8Pgd/9skyEfu 2YHX0lYFqO1dtrg5fPUFmxCyumIuhnO8r7j692c3Ft9xppi/rrMp7pTuHNmhm636cIWt IePw== X-Gm-Message-State: ALKqPweDvy1G/GRf5I1L6RTc/sPup/TblydMXvzvXdWn+CYm1nNCrDgz KVKILLcGAa7L1VT4nvqaRUF3r5Jw X-Google-Smtp-Source: AB8JxZpC5GDELUbAC2jYcmow7SHHcNea1tlSfXVfcwQZXsM9eVpNinmLVbl3KbkHx8tPi61sWsTxjA== X-Received: by 2002:adf:8486:: with SMTP id 6-v6mr10560072wrg.148.1527522864511; Mon, 28 May 2018 08:54:24 -0700 (PDT) Original-Received: from rpluim (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id b15-v6sm21800819wri.14.2018.05.28.08.54.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 May 2018 08:54:23 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <5955037c-a450-3920-2a55-70c21082d857@aev.etat.lu> (Alain Knaff's message of "Mon, 28 May 2018 14:13:13 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:146647 Archived-At: Alain Knaff writes: > On 2018-05-28 15:02, Alain Knaff wrote: >> Hi, >>=20 >> Whenever I enter dired mode, the emacs window resizes itself. This is >> undesirable, as windows that jump around interrupt the flow of work. >>=20 >> It happens with Gnu Emacs 25.2.2 as included on Ubuntu 18.04 >>=20 >> It did not happen with the version included with Ubuntu 16.04 >>=20 >> Thanks for fixing this,> > > I noticed that when this happens, the following is printed to stdout: > gtk_distribute_natural_allocation: assertion 'extra_space >=3D 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=CA=BCre 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