From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruno =?UTF-8?Q?F=C3=A9lix?= Rezende Ribeiro Newsgroups: gmane.emacs.bugs Subject: bug#18912: 24.4; mode-line corruption on graphical frames in dual-headed display Date: Sat, 01 Nov 2014 10:54:03 -0200 Organization: GNU Project Message-ID: <5454D7EB.6060407@gnu.org> References: <54524135.8090405@gnu.org> <8361ezz56z.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aRnQD2fcXEXNgUGBql96TSwej2qBRxbMI" X-Trace: ger.gmane.org 1414846517 16712 80.91.229.3 (1 Nov 2014 12:55:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Nov 2014 12:55:17 +0000 (UTC) Cc: 18912@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 01 13:55:10 2014 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 1XkYD0-000231-93 for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Nov 2014 13:55:10 +0100 Original-Received: from localhost ([::1]:52428 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkYCz-0000rG-V7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Nov 2014 08:55:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkYCv-0000oN-PE for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2014 08:55:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XkYCu-0006d2-Sc for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2014 08:55:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkYCu-0006cU-Pp for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2014 08:55:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XkYCt-0000C3-5y for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2014 08:55:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Bruno =?UTF-8?Q?F=C3=A9lix?= Rezende Ribeiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Nov 2014 12:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18912 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18912-submit@debbugs.gnu.org id=B18912.1414846455660 (code B ref 18912); Sat, 01 Nov 2014 12:55:02 +0000 Original-Received: (at 18912) by debbugs.gnu.org; 1 Nov 2014 12:54:15 +0000 Original-Received: from localhost ([127.0.0.1]:44440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XkYC6-0000AZ-Hg for submit@debbugs.gnu.org; Sat, 01 Nov 2014 08:54:15 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:50475 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XkYC3-0000AM-8q for 18912@debbugs.gnu.org; Sat, 01 Nov 2014 08:54:11 -0400 Original-Received: from 189-015-178-226.xd-dynamic.ctbcnetsuper.com.br ([189.15.178.226]:53611 helo=[192.168.1.17]) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1XkYC2-0005vz-EM; Sat, 01 Nov 2014 08:54:10 -0400 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30 In-Reply-To: <8361ezz56z.fsf@gnu.org> 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:95341 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aRnQD2fcXEXNgUGBql96TSwej2qBRxbMI Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii wrote: > Please show the output of each one the following forms, evaluated in > both the "good" and "bad" configurations, when you start "emacs -Q" > and visit the same /dev directory: >=20 > (window-height) > (window-pixel-height) >=20 > You can evaluate each form using M-:, as in >=20 > M-: (window-height) RET >=20 > Please compare the return value of window-height with the actual > number of lines available in that window, and tell if the two match. For this test Emacs was started with the option '-Q' and in both configurations the frame was put by the window manager in the same area of the VGA1 output, with unchanged relative geometry: xwininfo (common to both configurations): Absolute upper-left X: 520 Absolute upper-left Y: 23 Relative upper-left X: 4 Relative upper-left Y: 23 Width: 756 Height: 697 Depth: 24 Border width: 0 Good configuration (only VGA1 enabled): xwininfo: Corners: +520+23 -4+23 -4-0 +520-0 -geometry 80x37-0+0 (window-height) =3D> 34 (window-pixel-height) =3D> 612 Bad configuration (both VGA1 and LVDS1 enabled): xwininfo: Corners: +520+23 -1028+23 -1028-0 +520-0 -geometry 80x37+516+0 (window-height) =3D=3D> 34 (window-pixel-height) =3D=3D> 613 Interesting enough, '(window-pixel-height)' returns different values for both configurations under the "same" circumstances. Furthermore, in both configurations '(window-height)' returns one line more than what was actually shown. Therefore, both expressions seem to suggest an "off by one" bug. --=20 ,=3D ,-_-. =3D. Bruno F=C3=A9lix Rezende Ribeiro (oitofelix) [0x28D618A= F] ((_/)o o(\_)) There is no system but GNU; `-'(. .)`-' GNU Linux-Libre is one of its official kernels; \_/ All software must be free as in freedom; --aRnQD2fcXEXNgUGBql96TSwej2qBRxbMI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCgAGBQJUVNftAAoJECe5xv0o1hivP68H+wczs/6ci5BqtlLfKK8eIk4o CV32X6JVi8afTUHN8b2VgIsgx3u4MX51Zf5CWBOwc6qfjaGdVQhYY4Gc0U6O7q0H 8hqqJN/k14eQEubvgzAocY3z11P076Q9KjZfo0uslYHSRQtebW1in15c8G5anb8I Es0Z9qMPdgjkL8qpqbQgV8aB5Ab22TNhFHyFPvvqKZGCt/B27KCsuZUWPqYxHGVZ 8DBkb/whZrdUq7w82PBZYVCTGSNgNnpRbauIG9KgZVnMum5QgA6wbYxCp1QR517x SIEmn6z9xzXMCkn97G/ghiK3RAsaEB2iEvFLRS4aK+FCDFzZA9iuIsUZ0r7q7gQ= =JUaO -----END PGP SIGNATURE----- --aRnQD2fcXEXNgUGBql96TSwej2qBRxbMI--