From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#19575: 25.0.50; Wrong frame dimensions Date: Mon, 12 Jan 2015 23:51:19 +0200 Organization: LINKOV.NET Message-ID: <87zj9nis6g.fsf@mail.linkov.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1421099737 14451 80.91.229.3 (12 Jan 2015 21:55:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Jan 2015 21:55:37 +0000 (UTC) To: 19575@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 12 22:55:28 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 1YAmxJ-0007iQ-Lv for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Jan 2015 22:55:25 +0100 Original-Received: from localhost ([::1]:36458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAmxI-0002Kq-PD for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Jan 2015 16:55:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAmxE-0002KZ-UC for bug-gnu-emacs@gnu.org; Mon, 12 Jan 2015 16:55:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YAmx9-0001Q2-SX for bug-gnu-emacs@gnu.org; Mon, 12 Jan 2015 16:55:20 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAmww-000178-MZ for bug-gnu-emacs@gnu.org; Mon, 12 Jan 2015 16:55:15 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YAmww-00005m-3D for bug-gnu-emacs@gnu.org; Mon, 12 Jan 2015 16:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Jan 2015 21:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19575 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1421099674304 (code B ref -1); Mon, 12 Jan 2015 21:55:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Jan 2015 21:54:34 +0000 Original-Received: from localhost ([127.0.0.1]:54787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YAmwT-0008WV-DB for submit@debbugs.gnu.org; Mon, 12 Jan 2015 16:54:33 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45929) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YAmwQ-0008WF-I9 for submit@debbugs.gnu.org; Mon, 12 Jan 2015 16:54:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YAmwK-0000xe-5H for submit@debbugs.gnu.org; Mon, 12 Jan 2015 16:54:25 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAmwK-0000xV-2u for submit@debbugs.gnu.org; Mon, 12 Jan 2015 16:54:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAmwJ-000262-4Y for bug-gnu-emacs@gnu.org; Mon, 12 Jan 2015 16:54:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YAmwD-0000wP-Q6 for bug-gnu-emacs@gnu.org; Mon, 12 Jan 2015 16:54:23 -0500 Original-Received: from ps18281.dreamhost.com ([69.163.222.226]:34137 helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAmwD-0000w3-Hi for bug-gnu-emacs@gnu.org; Mon, 12 Jan 2015 16:54:17 -0500 Original-Received: from localhost.linkov.net (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 53219309507D1D for ; Mon, 12 Jan 2015 13:54:12 -0800 (PST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:98278 Archived-At: --=-=-= Content-Type: text/plain 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. 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 tool: 0 scroll: 0/0 fringe: 16 border: 0 right: 0 bottom: 0 # parent: nil pixel left: 0 top: 0 size: 1366 x 708 new: 708 char left: 0 top: 0 size: 170 x 71 new: 71 normal: 1.0 x 1.0 new: 1.0 body pixel: 1350 x 698 char: 225 x 69 width left fringe: 8 left margin: 0 right margin: 0 width right fringe: 8 scroll-bar: 0 divider: 0 height header-line: 0 mode-line: 10 divider: 0 # parent: nil pixel left: 0 top: 708 size: 1366 x 10 new: 0 char left: 0 top: 71 size: 1366 x 1 new: 1 normal: 1.0 x 1.0 new: 0 body pixel: 1350 x 10 char: 225 x 1 width left fringe: 8 left margin: 0 right margin: 0 width right fringe: 8 scroll-bar: 0 divider: 0 height header-line: 0 mode-line: 0 divider: 0 ================================================================ `window--dump-frame' outputs after manually calling `toggle-frame-maximized' twice that fixes the frame dimensions: frame pixel: 1366 x 718 cols/lines: 227 x 71 units: 6 x 10 frame text pixel: 1350 x 718 cols/lines: 225 x 71 tool: 0 scroll: 0/0 fringe: 16 border: 0 right: 0 bottom: 0 # parent: nil pixel left: 0 top: 0 size: 1366 x 708 new: 708 char left: 0 top: 0 size: 227 x 71 new: 71 normal: 1.0 x 1.0 new: 1.0 body pixel: 1350 x 698 char: 225 x 69 width left fringe: 8 left margin: 0 right margin: 0 width right fringe: 8 scroll-bar: 0 divider: 0 height header-line: 0 mode-line: 10 divider: 0 # parent: nil pixel left: 0 top: 708 size: 1366 x 10 new: 0 char left: 0 top: 71 size: 1366 x 1 new: 1 normal: 1.0 x 1.0 new: 0 body pixel: 1350 x 10 char: 225 x 1 width left fringe: 8 left margin: 0 right margin: 0 width right fringe: 8 scroll-bar: 0 divider: 0 height header-line: 0 mode-line: 0 divider: 0 ================================================================ --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=test.el Content-Transfer-Encoding: quoted-printable (custom-set-variables '(mouse-avoidance-banish-position (quote ((frame-or-window . frame) (side . right) (side-pos . -3) (top-or-bottom . bottom) (top-or-bottom-pos . 6)))) '(mouse-avoidance-mode (quote banish) nil (avoid)) ) (and (fboundp 'menu-bar-mode) (menu-bar-mode -1)) (and (fboundp 'scroll-bar-mode) (scroll-bar-mode -1)) (and (fboundp 'tool-bar-mode) (tool-bar-mode -1)) (create-fontset-from-ascii-font "-misc-fixed-medium-r-*--10-*-*-*-*-*-*-*") (setq default-frame-alist (append '((font . "-misc-fixed-medium-r-normal--10-*-*-*-c-60-iso8859-1") (vertical-scroll-bars . nil) (horizontal-scroll-bars . nil) (scroll-bar-width . 0) (internal-border-width . 0) (menu-bar-lines . 0) (tool-bar-lines . 0) ) default-frame-alist)) (add-hook 'after-init-hook (lambda () (toggle-frame-maximized) (toggle-frame-maximized)) t) --=-=-=--