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 10:38:12 +0200 Message-ID: <8361ezz56z.fsf@gnu.org> References: <54524135.8090405@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 1414831166 28837 80.91.229.3 (1 Nov 2014 08:39:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Nov 2014 08:39:26 +0000 (UTC) Cc: 18912@debbugs.gnu.org To: Bruno =?UTF-8?Q?F=C3=A9lix?= Rezende Ribeiro Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 01 09:39: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 1XkUDO-0001eF-Ps for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Nov 2014 09:39:18 +0100 Original-Received: from localhost ([::1]:45681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkUDO-0001YH-Es for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Nov 2014 04:39:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkUDF-0001SI-09 for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2014 04:39:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XkUD8-000695-W6 for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2014 04:39:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkUD8-000691-St for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2014 04:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XkUD8-0000gu-Gl for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2014 04:39: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 08:39: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.14148311192623 (code B ref 18912); Sat, 01 Nov 2014 08:39:02 +0000 Original-Received: (at 18912) by debbugs.gnu.org; 1 Nov 2014 08:38:39 +0000 Original-Received: from localhost ([127.0.0.1]:44339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XkUCk-0000gE-TM for submit@debbugs.gnu.org; Sat, 01 Nov 2014 04:38:39 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:55620) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XkUCi-0000fz-00 for 18912@debbugs.gnu.org; Sat, 01 Nov 2014 04:38:37 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NEC00M00QA3K700@a-mtaout20.012.net.il> for 18912@debbugs.gnu.org; Sat, 01 Nov 2014 10:38:28 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NEC00MFHQO4CK40@a-mtaout20.012.net.il>; Sat, 01 Nov 2014 10:38:28 +0200 (IST) In-reply-to: <54524135.8090405@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:95337 > Date: Thu, 30 Oct 2014 11:46:29 -0200 > From: Bruno FĂ©lix Rezende Ribeiro > > > [1:multipart/mixed Hide] > > > [1/1:text/plain Hide] > > In the following single-headed setup GNU Emacs behaves as intended: > > Screen 0: minimum 320 x 200, current 1024 x 600, maximum 4096 x 4096 > VGA1 connected primary (normal left inverted right x axis y axis) > 1280x720 59.86 + > 1024x768 75.08 70.07 60.00 > 832x624 74.55 > 800x600 72.19 75.00 60.32 56.25 > 640x480 75.00 72.81 66.67 60.00 > 720x400 70.08 > LVDS1 connected 1024x600+0+0 (normal left inverted right x axis y > axis) 228mm x 131mm > 1024x600 59.99*+ > 800x600 60.32 56.25 > 640x480 59.94 > > In this setup, as you can see, only the LVDS1 output is enabled. > > However in my usual setup I have both outputs enabled for a dual-headed > display: > > Screen 0: minimum 320 x 200, current 2304 x 720, maximum 4096 x 4096 > VGA1 connected primary 1280x720+0+0 (normal left inverted right x axis > y axis) 340mm x 270mm > 1280x720 59.86*+ > 1024x768 75.08 70.07 60.00 > 832x624 74.55 > 800x600 72.19 75.00 60.32 56.25 > 640x480 75.00 72.81 66.67 60.00 > 720x400 70.08 > LVDS1 connected 1024x600+1280+120 (normal left inverted right x axis y > axis) 228mm x 131mm > 1024x600 59.99*+ > 800x600 60.32 56.25 > 640x480 59.94 > > In this setup GNU Emacs corrupts the mode-line (a graphical glitch) > drawing over it the buffer's line that would otherwise be below it. > > Refreshing the window with 'xrefresh' or just switching to another > window and back again repaints the mode-line content, so it looks > normal, until the next buffer scroll operation, when it gets corrupt > again. > > Starting Emacs with the '-Q' option, without changing the frame's > geometry, and typing 'C-x d /dev ' is sufficient to reproduce the > bug. Actually, most of the time, Emacs windows that hold text > underneath the mode-line trigger the problem. 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: (window-height) (window-pixel-height) You can evaluate each form using M-:, as in M-: ((window-height) RET Please compare the return value of window-height with the actual number of lines available in that window, and tell if the two match.