From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#19575: 25.0.50; Wrong frame dimensions Date: Tue, 13 Jan 2015 09:24:49 +0100 Message-ID: <54B4D651.4040101@gmx.at> References: <87zj9nis6g.fsf@mail.linkov.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1421137583 20984 80.91.229.3 (13 Jan 2015 08:26:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Jan 2015 08:26:23 +0000 (UTC) To: Juri Linkov , 19575@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 13 09:26:18 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YAwnp-0004w5-EV for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Jan 2015 09:26:17 +0100 Original-Received: from localhost ([::1]:37827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAwnj-0001Rr-Ir for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Jan 2015 03:26:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAwnf-0001Rg-Be for bug-gnu-emacs@gnu.org; Tue, 13 Jan 2015 03:26:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YAwna-0007QA-Bu for bug-gnu-emacs@gnu.org; Tue, 13 Jan 2015 03:26:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAwna-0007Py-8n for bug-gnu-emacs@gnu.org; Tue, 13 Jan 2015 03:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YAwnZ-00044R-Tr for bug-gnu-emacs@gnu.org; Tue, 13 Jan 2015 03:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Jan 2015 08:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19575 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19575-submit@debbugs.gnu.org id=B19575.142113751015580 (code B ref 19575); Tue, 13 Jan 2015 08:26:01 +0000 Original-Received: (at 19575) by debbugs.gnu.org; 13 Jan 2015 08:25:10 +0000 Original-Received: from localhost ([127.0.0.1]:54942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YAwmk-00043E-9F for submit@debbugs.gnu.org; Tue, 13 Jan 2015 03:25:10 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:52465) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YAwmh-00042g-0j for 19575@debbugs.gnu.org; Tue, 13 Jan 2015 03:25:08 -0500 Original-Received: from [178.191.139.42] ([178.191.139.42]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0M2c1V-1XsJX92yWb-00sMG7; Tue, 13 Jan 2015 09:24:54 +0100 In-Reply-To: <87zj9nis6g.fsf@mail.linkov.net> X-Provags-ID: V03:K0:gGwg4VWjGZdx+cHAB3Ww+lVyfr3jRfs2V466pOwQlrugv7dhiai 27Tnbv8UXdu+oZBXZYn7ra4+r629zC11lk5ZqgrDif5oiCVcsyYpU/eQyAIAf+aUrC4jZs1 UBPNDwW3VB+LVt7pggA9RIUqlRDQXiLdq5xaAcNHmA+u+f8kkSDphSs7ksjLqv++hnnE5CB KmfWqy0NupBi2Ht5UmBRw== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:98286 Archived-At: > Here is 100% reproducible test case: run > > emacs -q -mm -l test.el > > with the attached test.el, and notice that the mouse pointer > is banished to the middle of the frame. Noticed. Good catch. > Afterwards manually executing `M-x toggle-frame-maximized RET' twice > fixes the frame dimensions. > > This happens in GNU Emacs 25.0.50.1 (x86_64-linux-gnu, GTK+ Version 2.24.23) > Repository revision: 52afe0cfa248053c96e26bc67bdc427945358655 > Windowing system distributor `The X.Org Foundation', version 11.0.11501000 > System Description: Linux Mint 17 Qiana > > ================================================================ > `window--dump-frame' outputs: > > frame pixel: 1366 x 718 cols/lines: 170 x 42 units: 6 x 10 > frame text pixel: 1350 x 718 cols/lines: 168 x 42 Obviously these values can't be right: 170 * 6 gives 1020, more than 300 pixels off from 1366. What happened is that you requested a change of the font size for a maximized frame. In this case I no more allow changing the size of the frame (since otherwise you'd have lost the maximized state). Now the pixel sizes of the frame remained unaltered and I decided to quit adjust_frame_size early _without_ recording the new numbers of lines and columns of the frame. Damn me ... Hopefully fixed in revision b53b1ca..233dcf1 on trunk/master. Please check. Many thanks for the recipe, martin