From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18912: 24.4; mode-line corruption on graphical frames in dual-headed display Date: Sat, 01 Nov 2014 15:03:12 +0200 Message-ID: <83sii3xecv.fsf@gnu.org> References: <54524135.8090405@gnu.org> <8361ezz56z.fsf@gnu.org> <5454D7EB.6060407@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1414847067 24010 80.91.229.3 (1 Nov 2014 13:04:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Nov 2014 13:04:27 +0000 (UTC) Cc: 18912@debbugs.gnu.org To: Bruno =?UTF-8?Q?F=C3=A9lix?= Rezende Ribeiro , martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 01 14:04:19 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 1XkYLr-0006Kd-Fj for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Nov 2014 14:04:19 +0100 Original-Received: from localhost ([::1]:52459 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkYLr-0003S2-0j for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Nov 2014 09:04:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkYLh-0003Rj-8P for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2014 09:04:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XkYLa-0002Go-MK for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2014 09:04:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkYLa-0002Gi-K9 for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2014 09:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XkYLa-0000RN-6e for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2014 09:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Nov 2014 13:04: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.14148470181659 (code B ref 18912); Sat, 01 Nov 2014 13:04:02 +0000 Original-Received: (at 18912) by debbugs.gnu.org; 1 Nov 2014 13:03:38 +0000 Original-Received: from localhost ([127.0.0.1]:44448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XkYLB-0000Pn-Od for submit@debbugs.gnu.org; Sat, 01 Nov 2014 09:03:38 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:62688) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XkYL8-0000PW-NW for 18912@debbugs.gnu.org; Sat, 01 Nov 2014 09:03:35 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NED001002W8M700@a-mtaout20.012.net.il> for 18912@debbugs.gnu.org; Sat, 01 Nov 2014 15:03:27 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NED001EF2XR8S50@a-mtaout20.012.net.il>; Sat, 01 Nov 2014 15:03:27 +0200 (IST) In-reply-to: <5454D7EB.6060407@gnu.org> X-012-Sender: halo1@inter.net.il 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:95343 > Date: Sat, 01 Nov 2014 10:54:03 -0200 > From: Bruno FĂ©lix Rezende Ribeiro > CC: 18912@debbugs.gnu.org > > 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) => 34 > (window-pixel-height) => 612 > > Bad configuration (both VGA1 and LVDS1 enabled): > > xwininfo: > Corners: +520+23 -1028+23 -1028-0 +520-0 > -geometry 80x37+516+0 > > (window-height) ==> 34 > (window-pixel-height) ==> 613 Thanks. I don't see anything strange here, the 1-pixel difference shouldn't have caused what you see. Martin, any suggestions how to dig into this further? > 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. I see no bug here: both functions return the height of the window including the mode line, so the value sounds correct if you have 33 lines of text in that window.