Package: emacs25
Version: 25.1+1-4+deb9u1
Severity: important

Dear Maintainer,

On installing emacs25 and starting it the initial window shrinks to
        minimum size.  This appears to be emacs bug 23144.

It appears that the patch for this is in xterm.c but I believe the
        package needs to be rebuilt against the latest gtk3.

I am not competent to make this build work and verify this assertion -
        I've tried and failed :-)


-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages emacs25 depends on:
ii  emacs25-bin-common     25.1+1-4+deb9u1
ii  gconf-service          3.2.6-4+b1
ii  libacl1                2.2.52-3+b1
ii  libasound2             1.1.3-5
ii  libatk1.0-0            2.22.0-1
ii  libc6                  2.24-11+deb9u1
ii  libcairo-gobject2      1.14.8-1
ii  libcairo2              1.14.8-1
ii  libdbus-1-3            1.10.24-0+deb9u1
ii  libfontconfig1         2.11.0-6.7+b1
ii  libfreetype6           2.6.3-3.2
ii  libgconf-2-4           3.2.6-4+b1
ii  libgdk-pixbuf2.0-0     2.36.5-2+deb9u1
ii  libgif7                5.1.4-0.4
ii  libglib2.0-0           2.50.3-2
ii  libgnutls30            3.5.8-5+deb9u3
ii  libgomp1               6.3.0-18
ii  libgpm2                1.20.4-6.2+b1
ii  libgtk-3-0             3.22.11-1
ii  libice6                2:1.0.9-2
ii  libjpeg62-turbo        1:1.5.1-2
ii  libm17n-0              1.7.0-3+b1
ii  libmagickcore-6.q16-3  8:6.9.7.4+dfsg-11+deb9u4
ii  libmagickwand-6.q16-3  8:6.9.7.4+dfsg-11+deb9u4
ii  libotf0                0.9.13-3+b1
ii  libpango-1.0-0         1.40.5-1
ii  libpangocairo-1.0-0    1.40.5-1
ii  libpng16-16            1.6.28-1
ii  librsvg2-2             2.40.16-1+b1
ii  libselinux1            2.6-3+b3
ii  libsm6                 2:1.2.2-1+b3
ii  libtiff5               4.0.8-2+deb9u1
ii  libtinfo5              6.0+20161126-1+deb9u1
ii  libx11-6               2:1.6.4-3
ii  libx11-xcb1            2:1.6.4-3
ii  libxcb1                1.12-1
ii  libxfixes3             1:5.0.3-1
ii  libxft2                2.3.2-1+b2
ii  libxinerama1           2:1.1.3-1+b3
ii  libxml2                2.9.4+dfsg1-2.2+deb9u1
ii  libxpm4                1:3.5.12-1
ii  libxrandr2             2:1.5.1-1
ii  libxrender1            1:0.9.10-1
ii  zlib1g                 1:1.2.8.dfsg-5

emacs25 recommends no packages.

Versions of packages emacs25 suggests:
ii  emacs25-common-non-dfsg  25.1+1-1

-- no debconf information
>From 26818c813ddccc6c7186eedadbf9c7a2f2ae6deb Mon Sep 17 00:00:00 2001
From: Paul Eggert <[email protected]>
Date: Mon, 16 May 2016 10:05:19 -0700
Subject: [PATCH] Avoid shrinking windows with Gtk+ 3.20.3

Problem reported by Matthias Clasen (Bug#23144).
This was fixed in a different way in master.
Do not merge to master.
* src/xterm.c (handle_one_xevent) [GTK_CHECK_VERSION (3, 20, 3)]:
Do not call xg_frame_resized in the MapNotify case.
---
 src/xterm.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/xterm.c b/src/xterm.c
index 2f8e077..c64c174 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -7897,7 +7897,13 @@ handle_one_xevent (struct x_display_info *dpyinfo,
             record_asynch_buffer_change ();
 
 #ifdef USE_GTK
+         /* xg_frame_resized does the wrong thing with Gtk+ 3.20.3 or later.
+            For earlier Gtk+ versions it is unclear whether
+            xg_frame_resized is useful, so leave it in for now.
+            See Bug#23144.  */
+# if ! GTK_CHECK_VERSION (3, 20, 3)
           xg_frame_resized (f, -1, -1);
+# endif
 #endif
         }
       goto OTHER;
-- 
2.5.5

Reply via email to