From debbugs-submit-bounces@debbugs.gnu.org Fri May 20 11:29:24 2016 Received: (at submit) by debbugs.gnu.org; 20 May 2016 15:29:24 +0000 Received: from localhost ([127.0.0.1]:59213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3mMd-0008Nf-Qo for submit@debbugs.gnu.org; Fri, 20 May 2016 11:29:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3l9e-0006UU-6A for submit@debbugs.gnu.org; Fri, 20 May 2016 10:11:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3l9X-00041P-Gw for submit@debbugs.gnu.org; Fri, 20 May 2016 10:11:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:45427) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3l9X-00041L-Dd for submit@debbugs.gnu.org; Fri, 20 May 2016 10:11:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3l9V-0001ak-ES for bug-gnu-emacs@gnu.org; Fri, 20 May 2016 10:11:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3l9Q-00040L-J0 for bug-gnu-emacs@gnu.org; Fri, 20 May 2016 10:11:45 -0400 Received: from mail.xa7.serverdomain.org ([89.107.185.140]:60865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3l9Q-0003zp-8w for bug-gnu-emacs@gnu.org; Fri, 20 May 2016 10:11:40 -0400 Received: from [10.71.0.37] (unknown [84.88.69.20]) (Authenticated sender: xa7285p1) by mail.xa7.serverdomain.org (mail.xa7.serverdomain.org) with ESMTPSA id D282D423E7248 for ; Fri, 20 May 2016 16:11:34 +0200 (CEST) Message-ID: <1463753473.7159.1.camel@cgogolin.de> Subject: 24.5; Emacs window clips to half its size in xmonad From: Christian Gogolin To: bug-gnu-emacs@gnu.org Date: Fri, 20 May 2016 16:11:13 +0200 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.1-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 20 May 2016 11:29:23 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) After starting Emacs in xmonad (v0.11, Debian testing package version 0.11.1-4) on some workspace with emacs -Q, switching to another work space, and then switching back to Emacs, the Emacs window becomes "cropped". It then still occupies the same space as a window in the window manager and the menu bar still extends to the full width of the window, but emacs only draws its "content" in the upper left quarter of the available space and all emacs windows are resized as if the whole window had been resized. The problem is 100% reproducible and happens independently of the used xmonad layout and even in floating mode. Sometimes more than one switch to another work space is required to trigger the behavior. When the window size changes (by switching to a different layout for example) Emacs again draws in the whole available space. The bug makes emacs very hard to use in my setup. I am happy to provide additional details if you tell me what to do. In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) =C2=A0of 2016-04-08 on binet, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11803000 System Description: Debian GNU/Linux testing (stretch) Configured using: =C2=A0`configure --build x86_64-linux-gnu --prefix=3D/usr =C2=A0--sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib =C2=A0--localstatedir=3D/var/lib --infodir=3D/usr/share/info =C2=A0--mandir=3D/usr/share/man --with-pop=3Dyes =C2=A0--enable- locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site- lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site- lisp:/usr/share/emacs/site-lisp =C2=A0--build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/li= b =C2=A0--libexecdir=3D/usr/lib --localstatedir=3D/var/lib =C2=A0--infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-pop=3D= yes =C2=A0--enable- locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site- lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site- lisp:/usr/share/emacs/site-lisp =C2=A0--with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars =C2=A0'CFLAGS=3D-g -O2 -fstack-protector-strong -Wformat =C2=A0-Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wdate-time =C2=A0-D_FORTIFY_SOURCE=3D2' LDFLAGS=3D-Wl,-z,relro' Important settings: =C2=A0 value of $LANG: en_US.UTF-8 =C2=A0 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: =C2=A0 recentf-mode: t =C2=A0 show-paren-mode: t =C2=A0 electric-indent-mode: t =C2=A0 mouse-wheel-mode: t =C2=A0 menu-bar-mode: t =C2=A0 file-name-shadow-mode: t =C2=A0 global-font-lock-mode: t =C2=A0 font-lock-mode: t =C2=A0 blink-cursor-mode: t =C2=A0 auto-composition-mode: t =C2=A0 auto-encryption-mode: t =C2=A0 auto-compression-mode: t =C2=A0 column-number-mode: t =C2=A0 line-number-mode: t =C2=A0 transient-mark-mode: t Recent messages: Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)...done Loading /etc/emacs/site-start.d/50latex-cjk-thai.el (source)...done Loading /etc/emacs/site-start.d/50texlive-lang-english.el (source)...done Loading paren...done Loading /home/cgogolin/emacs/ebib.el (source)...done Loading /home/cgogolin/emacs/x-dict.el (source)...done Loading /home/cgogolin/emacs/wc-mode.el (source)...done Loading /home/cgogolin/.emacs.d/recentf...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: /usr/share/emacs/24.5/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup ~/emacs/completion hides /usr/share/emacs/24.5/lisp/completion /usr/share/emacs24/site-lisp/latex-cjk-thai/thai-word hides /usr/share/emacs/24.5/lisp/language/thai-word /usr/share/emacs24/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf /usr/share/emacs24/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik /usr/share/emacs24/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp /usr/share/emacs24/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl /usr/share/emacs24/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context /usr/share/emacs24/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex /usr/share/emacs24/site-lisp/auctex/plain-tex hides /usr/share/emacs/site-lisp/auctex/plain-tex /usr/share/emacs24/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style /usr/share/emacs24/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en /usr/share/emacs24/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info /usr/share/emacs24/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x /usr/share/emacs24/site-lisp/auctex/preview hides /usr/share/emacs/site-lisp/auctex/preview /usr/share/emacs24/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold /usr/share/emacs24/site-lisp/auctex/tex-jp hides /usr/share/emacs/site- lisp/auctex/tex-jp /usr/share/emacs24/site-lisp/auctex/tex hides /usr/share/emacs/site- lisp/auctex/tex /usr/share/emacs24/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt /usr/share/emacs24/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar /usr/share/emacs24/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite /usr/share/emacs24/site-lisp/auctex/prv-emacs hides /usr/share/emacs/site-lisp/auctex/prv-emacs /usr/share/emacs24/site-lisp/auctex/latex hides /usr/share/emacs/site- lisp/auctex/latex /usr/share/emacs24/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font Features: (shadow sort flyspell ispell gnus-util mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode org org-macro org-footnote org- pcomplete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob- keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs advice recentf tree-widget wid-edit cc-styles cc-align cc-engine cc-vars cc-defs windmove wc-mode x-dict easymenu edmacro kmacro ebib derived help-fns cl-macs cl gv cl-loaddefs cl-lib paren cus-start cus-load emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode preview-latex tex-site auto-loads time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 173847 8083) =C2=A0(symbols 48 28084 0) =C2=A0(miscs 40 71 137) =C2=A0(strings 32 39079 7173) =C2=A0(string-bytes 1 1259595) =C2=A0(vectors 16 16900) =C2=A0(vector-slots 8 463607 4066) =C2=A0(floats 8 109 236) =C2=A0(intervals 56 263 0) =C2=A0(buffers 960 12) =C2=A0(heap 1024 37358 1015)) From debbugs-submit-bounces@debbugs.gnu.org Fri May 20 12:07:51 2016 Received: (at 23587) by debbugs.gnu.org; 20 May 2016 16:07:51 +0000 Received: from localhost ([127.0.0.1]:59257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3mxr-0002Y9-D2 for submit@debbugs.gnu.org; Fri, 20 May 2016 12:07:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3mxp-0002Xx-Ua for 23587@debbugs.gnu.org; Fri, 20 May 2016 12:07:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3mxf-0003ox-Vl for 23587@debbugs.gnu.org; Fri, 20 May 2016 12:07:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3mxf-0003oA-SJ; Fri, 20 May 2016 12:07:39 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3397 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b3mxd-0005ss-IE; Fri, 20 May 2016 12:07:38 -0400 Date: Fri, 20 May 2016 19:07:43 +0300 Message-Id: <83bn4090hc.fsf@gnu.org> From: Eli Zaretskii To: Christian Gogolin In-reply-to: <1463753473.7159.1.camel@cgogolin.de> (message from Christian Gogolin on Fri, 20 May 2016 16:11:13 +0200) Subject: Re: bug#23587: 24.5; Emacs window clips to half its size in xmonad References: <1463753473.7159.1.camel@cgogolin.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 23587 Cc: 23587@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Christian Gogolin > Date: Fri, 20 May 2016 16:11:13 +0200 > > After starting Emacs in xmonad (v0.11, Debian testing package version > 0.11.1-4) on some workspace with emacs -Q, switching to another work > space, and then switching back to Emacs, the Emacs window becomes > "cropped". It then still occupies the same space as a window in the > window manager and the menu bar still extends to the full width of the > window, but emacs only draws its "content" in the upper left quarter of > the > available space and all emacs windows are resized as if the whole > window > had been resized. > > The problem is 100% reproducible and happens independently of the used > xmonad layout and even in floating mode. Sometimes more than one switch > to another work space is required to trigger the behavior. When the > window size changes (by switching to a different layout for example) > Emacs again draws in the whole available space. > > The bug makes emacs very hard to use in my setup. > > I am happy to provide additional details if you tell me what to do. Can you try the latest pretest 25.0.94 of the upcoming Emacs 25.1? From debbugs-submit-bounces@debbugs.gnu.org Fri May 20 12:21:35 2016 Received: (at 23587) by debbugs.gnu.org; 20 May 2016 16:21:35 +0000 Received: from localhost ([127.0.0.1]:59270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3nB9-0004W4-9e for submit@debbugs.gnu.org; Fri, 20 May 2016 12:21:35 -0400 Received: from mail.xa7.serverdomain.org ([89.107.185.140]:39337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3nB7-0004Vv-KY for 23587@debbugs.gnu.org; Fri, 20 May 2016 12:21:34 -0400 Received: from [10.71.0.37] (unknown [84.88.69.20]) (Authenticated sender: xa7285p1) by mail.xa7.serverdomain.org (mail.xa7.serverdomain.org) with ESMTPSA id BBD0D44527140; Fri, 20 May 2016 18:21:30 +0200 (CEST) Message-ID: <1463761275.25528.7.camel@cgogolin.de> Subject: Re: bug#23587: 24.5; Emacs window clips to half its size in xmonad From: Christian Gogolin To: Eli Zaretskii Date: Fri, 20 May 2016 18:21:15 +0200 In-Reply-To: <83bn4090hc.fsf@gnu.org> References: <1463753473.7159.1.camel@cgogolin.de> <83bn4090hc.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.1-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23587 Cc: 23587@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) I just found out what is causing the problem: In my .xinitrc I am doing the two following exports export GDK_SCALE=2 export GDK_DPI_SCALE=0.5 to make icons in GTK applications reasonably large on my HiDPI screen. Without these exports, or by starting Emacs explicitly overwriting these values $ export GDK_SCALE=1; export GDK_DPI_SCALE=1; emacs resolves the problem. bug#20432 also seems related to this. I guess that in the long run this behaviour will have to be fixed, for now I can live with the workaround above. From debbugs-submit-bounces@debbugs.gnu.org Sat May 21 03:22:53 2016 Received: (at 23587) by debbugs.gnu.org; 21 May 2016 07:22:53 +0000 Received: from localhost ([127.0.0.1]:59498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b41FM-0000QS-Nx for submit@debbugs.gnu.org; Sat, 21 May 2016 03:22:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b41FI-0000Q6-CR for 23587@debbugs.gnu.org; Sat, 21 May 2016 03:22:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b41FA-0002Og-5t for 23587@debbugs.gnu.org; Sat, 21 May 2016 03:22:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33479) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b41FA-0002OP-2v; Sat, 21 May 2016 03:22:40 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4255 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b41F8-0006ZF-8p; Sat, 21 May 2016 03:22:38 -0400 Date: Sat, 21 May 2016 10:22:49 +0300 Message-Id: <83shxb7u46.fsf@gnu.org> From: Eli Zaretskii To: Christian Gogolin In-reply-to: <1463761275.25528.7.camel@cgogolin.de> (message from Christian Gogolin on Fri, 20 May 2016 18:21:15 +0200) Subject: Re: bug#23587: 24.5; Emacs window clips to half its size in xmonad References: <1463753473.7159.1.camel@cgogolin.de> <83bn4090hc.fsf@gnu.org> <1463761275.25528.7.camel@cgogolin.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 23587 Cc: 23587@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Christian Gogolin > Cc: 23587@debbugs.gnu.org > Date: Fri, 20 May 2016 18:21:15 +0200 > > I just found out what is causing the problem: > > In my .xinitrc I am doing the two following exports > > export GDK_SCALE=2 > export GDK_DPI_SCALE=0.5 > > to make icons in GTK applications reasonably large on my HiDPI screen. If that's the problem, I'd definitely urge you to try the latest pretest, since AFAIK some of these problems are supposed to be solved there (as part of handling bug#20432 you mention). > Without these exports, or by starting Emacs explicitly overwriting > these values > > $ export GDK_SCALE=1; export GDK_DPI_SCALE=1; emacs Why do you need the "export" parts? Isn't the following enough? $ GDK_SCALE=1 GDK_DPI_SCALE=1 emacs > I guess that in the long run this behaviour will have to be fixed, for > now I can live with the workaround above. I think it might already be fixed, please try the latest pretest, or build from the emacs-25 branch of the Emacs repository. In any case, I added to PROBLEMS the description of this and the workaround. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun May 22 13:25:50 2016 Received: (at 23587) by debbugs.gnu.org; 22 May 2016 17:25:50 +0000 Received: from localhost ([127.0.0.1]:32996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4X8Q-0002y7-5D for submit@debbugs.gnu.org; Sun, 22 May 2016 13:25:50 -0400 Received: from mail.xa7.serverdomain.org ([89.107.185.140]:59535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4X8O-0002xz-1n for 23587@debbugs.gnu.org; Sun, 22 May 2016 13:25:48 -0400 Received: from x1yoga.fritz.box (unknown [90.170.253.225]) (Authenticated sender: xa7285p1) by mail.xa7.serverdomain.org (mail.xa7.serverdomain.org) with ESMTPSA id E69BC40ADD5C5; Sun, 22 May 2016 19:25:44 +0200 (CEST) Message-ID: <1463937943.25528.10.camel@cgogolin.de> Subject: Re: bug#23587: 24.5; Emacs window clips to half its size in xmonad From: Christian Gogolin To: Eli Zaretskii Date: Sun, 22 May 2016 19:25:43 +0200 In-Reply-To: <83shxb7u46.fsf@gnu.org> References: <1463753473.7159.1.camel@cgogolin.de> <83bn4090hc.fsf@gnu.org> <1463761275.25528.7.camel@cgogolin.de> <83shxb7u46.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.1-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23587 Cc: 23587@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Sat, 2016-05-21 at 10:22 +0300, Eli Zaretskii wrote: > > > > From: Christian Gogolin > > Cc: 23587@debbugs.gnu.org > > Date: Fri, 20 May 2016 18:21:15 +0200 > > > > I just found out what is causing the problem: > > > > In my .xinitrc I am doing the two following exports > > > > export GDK_SCALE=2 > > export GDK_DPI_SCALE=0.5 > > > > to make icons in GTK applications reasonably large on my HiDPI > > screen. > If that's the problem, I'd definitely urge you to try the latest > pretest, since AFAIK some of these problems are supposed to be solved > there (as part of handling bug#20432 you mention). I just tried and and the problem seems to be resolved in emacs-25.0.94. > > > > Without these exports, or by starting Emacs explicitly overwriting > > these values > > > > $ export GDK_SCALE=1; export GDK_DPI_SCALE=1; emacs > Why do you need the "export" parts?  Isn't the following enough? Export is not necessary. Just GDK_SCALE=1; GDK_DPI_SCALE=1; emacs works equally well. > >  $ GDK_SCALE=1 GDK_DPI_SCALE=1 emacs > > > > > I guess that in the long run this behaviour will have to be fixed, > > for > > now I can live with the workaround above. > I think it might already be fixed, please try the latest pretest, or > build from the emacs-25 branch of the Emacs repository. > > In any case, I added to PROBLEMS the description of this and the > workaround. > > Thanks. Thank you! From debbugs-submit-bounces@debbugs.gnu.org Sun May 22 13:31:59 2016 Received: (at 23587-done) by debbugs.gnu.org; 22 May 2016 17:31:59 +0000 Received: from localhost ([127.0.0.1]:33006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4XEN-00038J-2v for submit@debbugs.gnu.org; Sun, 22 May 2016 13:31:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48191) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4XEL-000387-Lk for 23587-done@debbugs.gnu.org; Sun, 22 May 2016 13:31:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4XEC-0004Dq-Jc for 23587-done@debbugs.gnu.org; Sun, 22 May 2016 13:31:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51945) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4XEC-0004Dm-Gc; Sun, 22 May 2016 13:31:48 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2422 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b4XEA-0003fn-Ku; Sun, 22 May 2016 13:31:47 -0400 Date: Sun, 22 May 2016 20:31:43 +0300 Message-Id: <83vb26579c.fsf@gnu.org> From: Eli Zaretskii To: Christian Gogolin In-reply-to: <1463937943.25528.10.camel@cgogolin.de> (message from Christian Gogolin on Sun, 22 May 2016 19:25:43 +0200) Subject: Re: bug#23587: 24.5; Emacs window clips to half its size in xmonad References: <1463753473.7159.1.camel@cgogolin.de> <83bn4090hc.fsf@gnu.org> <1463761275.25528.7.camel@cgogolin.de> <83shxb7u46.fsf@gnu.org> <1463937943.25528.10.camel@cgogolin.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 23587-done Cc: 23587-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Christian Gogolin > Cc: 23587@debbugs.gnu.org > Date: Sun, 22 May 2016 19:25:43 +0200 > > > > export GDK_SCALE=2 > > > export GDK_DPI_SCALE=0.5 > > > > > > to make icons in GTK applications reasonably large on my HiDPI > > > screen. > > If that's the problem, I'd definitely urge you to try the latest > > pretest, since AFAIK some of these problems are supposed to be solved > > there (as part of handling bug#20432 you mention). > > I just tried and and the problem seems to be resolved in emacs-25.0.94. Great, so I'm closing this bug. From unknown Fri Jun 20 07:16:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 20 Jun 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator